Re: buffering large input and output

Marc Prewitt <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Here are the ones you need to set for this:

  FCGI_SERVER_MAX_STDERR_LINE_LEN (ours is 8192)
  SERVER_BUFSIZE (ours is 65536)

SERVER_BUFSIZE is used for an ap_pcalloc which is an int.  That would 
limit it to 65536.

I don't think you need to change FCGI_MSGS_BUFSIZE.

Andreas Bartelt wrote:
> Hi,
> 
> I've written a small FastCGI application that receives about 150kb input data
> from each client and sends about the same amount of data back to them. I'm using
> FreeBSD 5.2.1/Apache 2 (worker)/mod_fastcgi.
> 
> I'd like to have fully buffered input and output to make sure that slow clients
> (low bandwidth) don't slow down other clients waiting for their data from the
> fastcgi application.
> 
> In mod_fastcgi.h I've found the following lines:
> #define FCGI_MSGS_BUFSIZE  32 * 512
> #define SERVER_BUFSIZE 8192
> 
> Is it neccessary to increase these values or is the buffer size adjusted
> automatically during runtime? What are the biggest values possible?
> 
> Thanks in advance for any help.
> 
> Regards,
> Andreas 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ___________________________________
> fastcgi-developers mailing list
> http://fastcgi.com/fastcgi-developers/

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.