P
P
Puxta4ok2014-10-10 12:57:50
Perl
Puxta4ok, 2014-10-10 12:57:50

How to daemonize a perl script with child processes?

I need a certain structure. You need a management daemon that constantly monitors the database for tasks and monitors child daemons. The control daemon must assign tasks to child daemons, control tasks, create new children if one of them dies, and so on. Child daemons check the database for tasks for them (by PID). How can I implement this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2014-10-10
@rostel

runit controls the liveliness of the ward

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question