php - Connection reset by peer while reading response header from upstream every day at same time -


anyone have idea why get

recv() failed (104: connection reset peer) while reading response header upstream

every night @ same time, lasts 10-15 minutes goes away. have plenty of visitors during day , site works fine.

but every night @ same time errors start , site becomes unresponsive. not errors in log repeat in same pattern, every 10 seconds, 20 sec.

nginx error log empty during time. php log has issues during time (plenty of those, 1 example)

[18-jun-2015 22:20:59] notice: [pool web1] child 22250 started   [18-jun-2015 22:21:02] warning: [pool web1] child 22093, script '/var/www/blabla/web/index.php' (request: "get /index.php") execution timed out (62.994281 sec), terminating   [18-jun-2015 22:21:02] warning: [pool web1] child 22093 exited on signal 15 (sigterm) after 63.584813 seconds start   [18-jun-2015 22:21:02] notice: [pool web1] child 22262 started 

if there wrong configuration why dont problems during peak hours in midnight only?

no script starting during time in cronjob not also...

anyone idea check or fix?

not sure configuration of now, seems script timing out while performing task,

you should consider changing nginx config(.conf) file:

location ~ \.php$ {   fastcgi_read_timeout  3600;///you can increase more  } 

Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -