Welcome! Log In Create A New Profile

Advanced

Re: fastcgi timeout at big requests

Maxim Dounin
April 10, 2009 08:39AM
Hello!

On Fri, Apr 10, 2009 at 02:04:09PM +0200, Robert Gabriel wrote:

> I have nginx 0.6.36 with php-fastcgi. Im using SquirrelMail and have a
> mail that is 25M, no attachement, just a text mail so big. Im trying to
> read it, but fastcgi ends-up in
> 2009/04/10 13:55:35 [error] 22626#0: *537 recv() failed (104: Connection
> reset by peer) while reading response header from upstream, client:

>From the error message it seems that php died even before it was
able to send header to nginx.

> Before the problem was that php didnt have enough memory or
> max_execution_time was too low. I modified that and set
> keepalive_timeout to 32, but it just die even like this.

keepalive_timeout is completely unrelated thing, it's only used by
nginx for client connections.

> Is it possible
> fastcgi is limited to how big is the request or something.

No, at least not the protocol itself.

> How could I setup up nginx and/or php to be able to read that mail?

Try looking into php. It seems that it just dies due to errors or
you haven't tuned limits enough.

Maxim Dounin
Subject Author Posted

fastcgi timeout at big requests

Robert Gabriel April 10, 2009 08:04AM

Re: fastcgi timeout at big requests

Maxim Dounin April 10, 2009 08:39AM

Re: fastcgi timeout at big requests

Robert Gabriel April 10, 2009 09:24AM

Re: fastcgi timeout at big requests

mow April 10, 2009 10:01AM

Re: fastcgi timeout at big requests

Robert Gabriel April 10, 2009 10:15AM

Re: fastcgi timeout at big requests

mow April 10, 2009 11:12AM

Re: fastcgi timeout at big requests

Maxim Dounin April 10, 2009 10:14AM

Re: fastcgi timeout at big requests

mike April 10, 2009 11:54AM

Re: fastcgi timeout at big requests

Robert Gabriel April 10, 2009 02:25PM

Re: fastcgi timeout at big requests

mike April 10, 2009 02:48PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 137
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready