fastcgi timeout at big requests

Robert Gabriel lists at
Fri Apr 10 22:25:43 MSD 2009

Michael Shadle wrote:
> On Fri, Apr 10, 2009 at 5:04 AM, Robert Gabriel <lists at> 
> wrote:
>> How could I setup up nginx and/or php to be able to read that mail?
> I would modify squirrelmail to use x-accel-redirect so it isn't using
> readfile() or whatever that is keeping PHP busy churning on 25M
> attachments :)

Fix it, with the help of memory_limit to 256M, max_execution_time=300s 
and fastcgi_read_timeout=240s and finally after about 5 mins or so, i 
got the mail, fully :)

Seems it needs quite a lot of memory and time to be able to do this.

Thx guys!
Posted via

More information about the nginx mailing list