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

"Warren Perdue" <wperdue-V3Zkrsg/[email protected]> Fri, 2 Jun 2017 08:16:11 -0400
Newsgroups gmane.comp.web.pound.general
Organization Valcom, Inc.
Message-ID <[email protected]>
Hey Joe,

Thanks for responding. I already tried that and it did not work. I am able to kick off pound and force pound to create more instances of itself.

Any other ideas? Can I go into the code and tweak the code itself? I already tried altering some of the code but I can still force pound to violate the Thread limit and produce more of itself.

Warren

-----Original Message-----
From: Joe Gooch [mailto:[email protected]] 
Sent: Thursday, June 01, 2017 4:13 PM
To: [email protected]
Subject: Re: [Pound Mailing List] Limit amount of Processes Pound can create using fork()

Uhm... Doesn't that just mean you want

ThreadModel pool
Threads 5

------
 
Joe





From:  Warren Perdue <wperdue-V3Zkrsg/[email protected]>
Organization:  Valcom, Inc.
Reply-To:  "[email protected]" <[email protected]>
Date:  Thursday, June 1, 2017 at 4:06 PM
To:  "[email protected]" <[email protected]>
Subject:  [Pound Mailing List] Limit amount of Processes Pound can create using fork()


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
 
N   r z u    +  y˞˱ m릋u   >W  ֶ z +    *



--
To unsubscribe send an email with subject unsubscribe to [email protected]
Please contact [email protected] for questions.