httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 53693] mod_fcgid performance suffers under request concurrency (serialization of requests)
Date Tue, 14 Aug 2012 19:51:07 GMT

--- Comment #2 from Mike <> ---
I tried changing in modules/fcgid/fcgid_bridge.c,

           /* Avoid sleeping the very first time through if there are no
               busy processes; the problem is just that we haven't spawned
               anything yet, so waiting is pointless */
            if (i > 0 || j > 0 || count_busy_processes(r, &fcgi_request)) {


           if (i > 0 || j > 0 || count_busy_processes(r, &fcgi_request)) {

and the serialization block seems to have stopped.

Is this meant to just be an artificial anti-thrashing mechanism? 

If so, is there a better way I can prevent too many processes for trying to
spin up concurrently, than adding in this 1s time delay?  The 1s delay totally
kills concurrent requests.

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message