Subject: | Apache-like prefork mode |
I would like to use Net::Daemon (its derived class RPC::PlServer) as an Apache-like preforked server, with master process restarting the children when they exit, e.g. after reaching the designed limit of requests they are allowed to serve. The Net::Daemon with mode=>'fork' just starts the appropriate number of children, but does not restart them when they die.
Is it possible to do this in Net::Daemon? Thanks!