Summary: | Connections are starved and not balanced when concurrent requests exceed FcgidMaxProcessesPerClass | ||
---|---|---|---|
Product: | Apache httpd-2 | Reporter: | Scott <scottpakula> |
Component: | mod_fcgid | Assignee: | Apache HTTPD Bugs Mailing List <bugs> |
Status: | NEW --- | ||
Severity: | normal | CC: | stefan |
Priority: | P2 | ||
Version: | 2.4.6 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All |
Description
Scott
2013-09-30 23:09:23 UTC
To produce the buffer.exe application, I'm compiling using libfcgi located here: http://www.fastcgi.com/dist/fcgi-2.4.1-SNAP-0910052249.tar.gz Here's an example of what buffer.exe would look like. #include "fcgi_stdio.h" #include <stdlib.h> void main(void) { FCGI_init(); /* Response loop. */ while (FCGI_Accept() >= 0) { char *buf = NULL; unsigned int bufsz = 1024*1024; printf("Content-type: text/html\r\n\r\n" buf = malloc(bufsz); FCGI_fwrite(buf, bufsz, 1, stdout); free(buf); } } In addition, I am running Apache on the Windows platform. The build is Windows 32-bit compiled under Visual Studio 2010. Apache 2.4.6. |