internal server errors

9 posts / 0 new
Last post
#1 Fri, 08/28/2015 - 19:48
hescominsoon

internal server errors

[Fri Aug 28 15:50:50.882912 2015] [fcgid:warn] [pid 29040] [client 50.181.28.177:50328] mod_fcgid: read data timeout in 31 seconds, referer: http://frederickcountyscoreboard.com/wp-admin/user-edit.php?user_id=3&wp... [Fri Aug 28 15:50:50.882971 2015] [core:error] [pid 29040] [client 50.181.28.177:50328] End of script output before headers: user-edit.php, referer: http://frederickcountyscoreboard.com/wp-admin/user-edit.php?user_id=3&wp... [Fri Aug 28 15:52:47.285419 2015] [fcgid:warn] [pid 29007] [client 50.181.28.177:50340] mod_fcgid: read data timeout in 31 seconds, referer: http://frederickcountyscoreboard.com/wp-admin/user-edit.php [Fri Aug 28 15:52:47.285461 2015] [core:error] [pid 29007] [client 50.181.28.177:50340] End of script output before headers: user-edit.php, referer: http://frederickcountyscoreboard.com/wp-admin/user-edit.php [Fri Aug 28 15:53:30.407875 2015] [fcgid:warn] [pid 29040] [client 50.181.28.177:50364] mod_fcgid: read data timeout in 31 seconds, referer: http://frederickcountyscoreboard.com/wp-admin/user-edit.php [Fri Aug 28 15:53:30.407923 2015] [core:error] [pid 29040] [client 50.181.28.177:50364] End of script output before headers: user-edit.php, referer: http://frederickcountyscoreboard.com/wp-admin/user-edit.php

I have php execution set to 300 seconds but it is timing out in 31 seconds on this site. How can i modify the fcgid timeouts?

Fri, 08/28/2015 - 23:35
andreychek

Howdy,

Are you expecting this particular script to take awhile?

If so, what you may want to verify is that in Server Configuration -> Website Options, that the "Maximum PHP script run time" runtime there is also set the to 300 seconds that you wanted.

-Eric

Sat, 08/29/2015 - 07:18
hescominsoon

yeppers set to 300 seconds. so why is it timing out after 31 seconds?

Sat, 08/29/2015 - 10:12
manfer

You have to be sure it is not limited to 30s in some place.

Server Configuration -> Website Options -> Maximum PHP script run time

Services -> PHP Configuration -> Resource Limits -> Maximum execution time

Sat, 08/29/2015 - 10:58
hescominsoon

Already verified..any ideas?

Sat, 08/29/2015 - 11:33
manfer

Then as you are running mod_fcgid you have to check if you have a run time limit in its configuration https://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidiotimeout

On the configuration of the virtual server itself or in: /etc/httpd/conf.d/fcgid.conf

Sat, 08/29/2015 - 14:03 (Reply to #6)
hescominsoon

one hasn't been added unless it is by default in virtualmin itself. I'll check that out..:)

Sat, 08/29/2015 - 14:08 (Reply to #7)
hescominsoon

somehow the individual sites has been configured for 30 seconds even though the plan they are on specifies 300. I do not understand how that occurred. hopefully this fixes things until i can get the underlying vm rebuilt..:)

Tue, 09/01/2015 - 09:46
andreychek

That is indeed odd!

If you happen to run into that again, another thing you could try is to switch the PHP Execution Mode to CGI to see if that helps.

-Eric

Topic locked