Reputation: 1383
I had problem with ajax. It always stopped working 5 min after request. I did't know what was causing it. I looked on many pages to find a sollution but nor provide good one. What I can do ?
Upvotes: 6
Views: 33145
Reputation: 1383
You need to check what you have set in /etc/php5/fpm/pool.d/www.conf file in line request_terminate_timeout. I has got:
request_terminate_timeout = 300s
This is because it had always stopped working after 5 min (300s = 5min)
After i changed it to request_terminate_timeout = 3600s
my problem have gone. I have got now 60 min to complete my ajax request :)
PS Make sure that you remove ;
before that line because it is used to comment line.
Upvotes: 13