[Pound Mailing List] Limit amount of Processes Pound can create using fork()

"Warren Perdue" <wperdue-V3Zkrsg/[email protected]> Thu, 1 Jun 2017 16:06:07 -0400
Newsgroups gmane.comp.web.pound.general
Organization Valcom, Inc.
Message-ID <[email protected]>
Hey guys,

 

I have been wrecking my brain on how to limit Pound from creating additional
processes. I want pound to accept only one input at a time and only allow
one process to run beyond its current 4 processes. Do any of you have any
idea on how I can accomplish that.

 

I have tried setrlimit, limiting the number of forks Pound can do, add
additional code to track the processes and kill any additional processes
over 6. I have also tried running it as a Daemon and limit the threads but
nothing works. 

 

So do any of you have any ideas on how I can get Pound to limit the number
of processes that are created by Pound with incoming commands?

 

Warren