You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2013/10/01 01:28:12 UTC

[Bug 55615] Connections are starved when requests when requests are beyond FcgidMaxProcessesPerClass

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

Scott <sc...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Scott <sc...@gmail.com> ---
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);
  }
}

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org