https://issues.apache.org/bugzilla/show_bug.cgi?id=48981

--- Comment #1 from [email protected] 2010-03-25 09:02:02 UTC ---
As I suspected, it has something to do with MPM worker.
Using the config above with these tweaks:
#MinSpareThreads 25
#MaxSpareThreads 75
#ThreadsPerChild 25
MinSpareThreads 1
MaxSpareThreads 1
ThreadsPerChild 1

I have 3 running httpd processes and it wont spawn more than 6 PHP processes,
just like expected.

This behaviour is wrong anyway.
1. It means static int g_total_process is a per thread variable.
2. Even if it was a per process variable, FcgidMaxProcesses is unusable as I
cant control the maximum number of fcgi applications. Just imagine, you have a
busy server with lots of preforked processes, this way mod_fcgid would just
keep spawning new processes which makes it nothing better than a simple cgi.

Some shared memory solution would be needed.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to