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 ?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With