restarts automatically to fix 503

#1
Hello,

I have upprade to the last vercion Litespeed Web Server Enterprise v4.1.2

And now the server send my this every hour to my e-mail:

LiteSpeed Web server (HOSTNAME) on (HOSTNAME) restarts automatically to fix 503 Errors‏

How can I fix this?

Thanks
 

webizen

Well-Known Member
#2
You can set "Auto Fix 503 Error" (Admin CP-> Configuration-> Server-> General) to "No" to stop this. But the real issue is that why so many 503 errors. You should take a look at the error.log to see more details.
 
#3
[solved]on wordpress I can't upload any imagen

And on wordpress I can't upload any imagen.

But when I Switch to version 4.1.1 I don't get the error!

I get the error only on version 4.1.2

I here is the last line of my error.log

19 23:39:11.670 [INFO] [84.30.199.110:64013-1#APVH_46.4.90.81_(DOMAINNAME)] Cookie len: 2217, wordpress_f6761cf0118fe948c186526201666f0e=admin%7C1311283122%7Cd28f6af1a10af0c7b4124e25fd578100; HstCfa1078070=1303385961423; rated_4669=5; rated_4376=4; rated_3579=5; rated_4693=3; rated_5127=4; rated_5253=5; rated_5249=5; rated_5245=5; HstCmu1078070=1308685689273; 5hf0_unique_user=1; fpc10001081871123=DBgEXgyG|gwXXSGmLaa|fses10001081871123=; rated_5552=5; rated_5689=5; rated_5750=5; c_ref_1078070=http%3A%2F%2Fco112w.col112.mail.live.com%2Fdefault.aspx%3Frru%3Dinbox; HstCla1078070=1311076990390; HstPn1078070=1; HstPt1078070=7; HstCnv1078070=6; HstCns1078070=7; wordpress_test_cookie=WP+Cookie+check; wordpress_logged_in_f6761cf0118fe948c186526201666f0e=admin%7C1311283122%7Cd067a299570b3f14b8329a9ca3210dbf; __utma=1.489649210.1310840398.1311078928.1311081469.9; __utmb=1.19.10.1311081469; __utmc=1; __utmz=1.1310840398.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); wp-settings-1=m8%3Do%26align%3Dcenter%26imgsize%3Dfull%26m5%3Do%26editor%3Dtinymce%26m9%3Dc%26m1%3Do%26m7%3Do%26m6%3Do%26m10%3Do%26m0%3Do%26m4%3Dc%26m2%3Dc%26uploader%3D1; wp-settings-time-1=1311111516
2011-07-19 23:39:28.558 [INFO] [77.167.12.161:12859-0#APVH_46.4.90.81_(DOMAINNAME)] connection to [/tmp/lshttpd/lsphp5.sock] on request #2, confirmed, 1, associated process: 24990, running: 1, error: Connection reset by peer!
2011-07-19 23:39:28.765 [INFO] [95.96.161.30:49427-1#APVH_46.4.90.81_(DOMAINNAME)] connection to [/tmp/lshttpd/lsphp5.sock] on request #2, confirmed, 1, associated process: 24990, running: 1, error: Connection reset by peer!
2011-07-19 23:39:31.133 [INFO] [82.73.112.165:49214-0#APVH_46.4.90.81_(DOMAINNAME)] gzipped, response body size is 20, no cache.
2011-07-19 23:39:34.731 [INFO] [83.119.127.129:60243-0#APVH_46.4.90.81_(DOMAINNAME)] connection to [/tmp/lshttpd/lsphp5.sock] on request #15, confirmed, 1, associated process: 24990, running: 1, error: Connection reset by peer!
2011-07-19 23:39:34.778 [INFO] [83.81.180.125:59352-0#APVH_46.4.90.81_(DOMAINNAME)] gzipped, response body size is 20, no cache.
2011-07-19 23:40:04.814 [INFO] [84.30.103.231:49745-0#APVH_46.4.90.81_(DOMAINNAME)] gzipped, response body size is 20, no cache.
2011-07-19 23:40:20.980 [INFO] [82.73.113.103:61948-0#APVH_46.4.90.81_(DOMAINNAME)] gzipped, response body size is 20, no cache.
2011-07-19 23:40:22.905 [INFO] [213.46.143.251:53299-0#APVH_46.4.90.81_(DOMAINNAME)] gzipped, response body size is 20, no cache.
2011-07-19 23:40:24.004 [INFO] [HTAccess] Configuration file [/var/www/vhosts/(DOMAINNAME)/httpdocs/.htaccess] changed.
2011-07-19 23:40:24.004 [INFO] [HTAccess] Updating configuration from [/var/www/vhosts/(DOMAINNAME)/httpdocs/.htaccess]
2011-07-19 23:40:30.069 [NOTICE] [84.30.199.110:64287-0#APVH_46.4.90.81_(DOMAINNAME)] [STDERR] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'SU_FooterAutolinks' does not have a method 'postmeta_help' in /var/www/vhosts/(DOMAINNAME)/httpdocs/wp-includes/plugin.php on line 170
2011-07-19 23:40:43.889 [INFO] [82.173.212.5:49390-0#APVH_46.4.90.81_(DOMAINNAME)] gzipped, response body size is 20, no cache.
2011-07-19 23:40:46.362 [INFO] [84.30.199.110:64298-0#APVH_46.4.90.81_(DOMAINNAME)] connection to [/tmp/lshttpd/lsphp5.sock] on request #11, confirmed, 1, associated process: 24990, running: 1, error: Connection reset by peer!
2011-07-19 23:40:46.362 [NOTICE] [84.30.199.110:64298-0#APVH_46.4.90.81_(DOMAINNAME)] oops! 503 Service Unavailable
2011-07-19 23:40:46.362 [NOTICE] [84.30.199.110:64298-0#APVH_46.4.90.81_(DOMAINNAME)] Content len: 25723, Request line: 'POST /wp-admin/media-upload.php?type=image&tab=type&post_id=5769 HTTP/1.1'
2011-07-19 23:40:46.362 [INFO] [84.30.199.110:64298-0#APVH_46.4.90.81_(DOMAINNAME)] Cookie len: 2217, wordpress_f6761cf0118fe948c186526201666f0e=admin%7C1311283122%7Cd28f6af1a10af0c7b4124e25fd578100; HstCfa1078070=1303385961423; rated_4669=5; rated_4376=4; rated_3579=5; rated_4693=3; rated_4697=4; rated_4750=4; rated_4754=3; rated_4766=5; rated_4778=5; rated_4794=3; rated_4798=3; rated_4809=1; rated_4822=2; rated_4818=3; rated_4814=2; rated_4742=3; rated_4867=5; rated_4856=5; rated_5012=5; rated_5008=5; rated_5004=3; rated_5001=4; rated_4997=3; rated_4993=3; rated_4989=3; rated_4985=3; rated_4981=2; rated_4977=3; rated_4973=3; rated_4969=5; rated_4966=3; rated_4962=4; rated_4958=4; rated_4954=5; rated_4950=3; rated_4947=5; rated_4943=2; rated_4939=5; rated_4935=3; rated_4931=3; rated_4927=3; rated_4923=3; rated_5025=5; rated_5031=5; rated_5034=5; rated_5021=5; rated_5119=5; rated_5123=2; rated_5127=4; rated_5253=5; rated_5249=5; rated_5245=5; HstCmu1078070=1308685689273; 5hf0_unique_user=1; fpc10001081871123=DBgEXgyG|gwXXSGmLaa|fses10001081871123=|vOTQlMjBXb3JkUHJlc3M=|8M8Y88Ms81|8M8Y88Ms81|8M8Y88Ms81|M|8M8Y88Ms81|8M8Y88Ms81; rated_5552=5; rated_5689=5; rated_5750=5; c_ref_1078070=http%3A%2F%2Fco112w.col112.mail.live.com%2Fdefault.aspx%3Frru%3Dinbox; HstCla1078070=1311076990390; HstPn1078070=1; HstPt1078070=7; HstCnv1078070=6; HstCns1078070=7; wordpress_test_cookie=WP+Cookie+check; wordpress_logged_in_f6761cf0118fe948c186526201666f0e=admin%7C1311283122%7Cd067a299570b3f14b8329a9ca3210dbf; wp-settings-1=m8%3Do%26align%3Dcenter%26imgsize%3Dfull%26m5%3Do%26editor%3Dtinymce%26m9%3Dc%26m1%3Do%26m7%3Do%26m6%3Do%26m10%3Do%26m0%3Do%26m4%3Dc%26m2%3Dc%26uploader%3D1; wp-settings-time-1=1311111516; __utma=1.489649210.1310840398.1311078928.1311081469.9; __utmb=1.24.10.1311081469; __utmc=1; __utmz=1.1310840398.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
2011-07-19 23:40:52.576 [NOTICE] [84.30.199.110:64312-6#APVH_46.4.90.81_(DOMAINNAME)] [STDERR] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'SU_FooterAutolinks' does not have a method 'postmeta_help' in /var/www/vhosts/(DOMAINNAME)/httpdocs/wp-includes/plugin.php on line 170
2011-07-19 23:40:56.603 [INFO] [212.45.63.98:47315-0#APVH_46.4.90.81_(DOMAINNAME)] gzipped, response body size is 20, no cache.
2011-07-19 23:40:59.807 [INFO] [77.163.94.4:57098-0#APVH_46.4.90.81_(DOMAINNAME)] gzipped, response body size is 20, no cache.
2011-07-19 23:41:01.133 [INFO] [217.121.12.236:49215-0#APVH_46.4.90.81_(DOMAINNAME)] gzipped, response body size is 20, no cache.
2011-07-19 23:41:13.269 [INFO] [150.70.64.193:36610-0#APVH_46.4.90.81_(DOMAINNAME)] response body size is zero, no cache.
2011-07-19 23:41:20.674 [INFO] [84.30.199.110:64341-0#APVH_46.4.90.81_(DOMAINNAME)] connection to [/tmp/lshttpd/lsphp5.sock] on request #1, confirmed, 1, associated process: 24990, running: 1, error: Connection reset by peer!
2011-07-19 23:41:20.674 [NOTICE] [84.30.199.110:64341-0#APVH_46.4.90.81_(DOMAINNAME)] oops! 503 Service Unavailable
2011-07-19 23:41:20.674 [NOTICE] [84.30.199.110:64341-0#APVH_46.4.90.81_(DOMAINNAME)] Content len: 26290, Request line: 'POST /wp-admin/async-upload.php HTTP/1.1'
2011-07-19 23:41:29.611 [INFO] [150.70.64.193:40670-0#APVH_46.4.90.81_(DOMAINNAME)] response body size is zero, no cache.
2011-07-19 23:41:31.677 [INFO] [84.30.199.110:64351-0#APVH_46.4.90.81_(DOMAINNAME)] connection to [/tmp/lshttpd/lsphp5.sock] on request #15, confirmed, 1, associated process: 24990, running: 1, error: Connection reset by peer!
2011-07-19 23:41:31.677 [NOTICE] [84.30.199.110:64351-0#APVH_46.4.90.81_(DOMAINNAME)] oops! 503 Service Unavailable
2011-07-19 23:41:31.677 [NOTICE] [84.30.199.110:64351-0#APVH_46.4.90.81_(DOMAINNAME)] Content len: 25723, Request line: 'POST /wp-admin/media-upload.php?type=image&tab=type&post_id=5769 HTTP/1.1'
2011-07-19 23:41:31.677 [INFO] [84.30.199.110:64351-0#APVH_46.4.90.81_(DOMAINNAME)] Cookie len: 2217, wordpress_f6761cf0118fe948c186526201666f0e=admin%7C1311283122%7Cd28f6af1a10af0c7b4124e25fd578100; HstCfa1078070=1303385961423; rated_4669=5; ratedrated_5127=4; rated_5253=5; rated_5249=5; rated_5245=5; HstCmu1078070=1308685689273; 5hf0_unique_user=1; fpc10001081871123=DBgEXgyG|gwXXSGmLaa|fses1RTIlODAlOTQlMjBXb3JkUHJlc3M=|8M8Y88Ms81|8M8Y88Ms81|8M8Y88Ms81|M|8M8Y88Ms81|8M8Y88Ms81; rated_5552=5; rated_5689=5; rated_5750=5; c_ref_1078070=http%3A%2F%2Fco112w.col112.mail.live.com%2Fdefault.aspx%3Frru%3Dinbox; HstCla1078070=1311076990390; HstPn1078070=1; HstPt1078070=7; HstCnv1078070=6; HstCns1078070=7; wordpress_test_cookie=WP+Cookie+check; wordpress_logged_in_f6761cf0118fe948c186526201666f0e=admin%7C1311283122%7Cd067a299570b3f14b8329a9ca3210dbf; wp-settings-1=m8%3Do%26align%3Dcenter%26imgsize%3Dfull%26m5%3Do%26editor%3Dtinymce%26m9%3Dc%26m1%3Do%26m7%3Do%26m6%3Do%26m10%3Do%26m0%3Do%26m4%3Dc%26m2%3Dc%26uploader%3D1; wp-settings-time-1=1311111516; __utma=1.489649210.1310840398.1311078928.1311081469.9; __utmb=1.26.10.1311081469; __utmc=1; __utmz=1.1310840398.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
2011-07-19 23:41:58.380 [INFO] [150.70.64.193:51153-0#APVH_46.4.90.81_(DOMAINNAME)] response body size is zero, no cache.
2011-07-19 23:41:59.165 [INFO] [87.209.123.151:51115-0#APVH_46.4.90.81_(DOMAINNAME)] gzipped, response body size is 20, no cache.
2011-07-19 23:42:04.502 [INFO] [150.70.172.104:54591-0#APVH_46.4.90.81_(DOMAINNAME)] response body size is zero, no cache.
2011-07-19 23:42:05.181 [INFO] [77.167.134.18:60985-0#APVH_46.4.90.81_(DOMAINNAME)] gzipped, response body size is 20, no cache.
2011-07-19 23:42:21.092 [INFO] [82.73.189.153
 
Last edited by a moderator:
#6
Hi

I still get this error:
LiteSpeed Web server (HOSTNAME) on (HOSTNAME) restarts automatically to fix 503 Errors‏

2011-07-21 23:53:40.861 [INFO] [212.45.63.98:53668-0#APVH_46.4.90.81_DOMAINNAME] gzipped, response body size is 20, no cache.
2011-07-21 23:54:08.914 [INFO] [195.240.54.226:16553-0#APVH_46.4.90.81_DOMAINNAME] gzipped, response body size is 20, no cache.
2011-07-21 23:54:16.793 [INFO] [77.171.118.229:59961-0#APVH_46.4.90.81_DOMAINNAME] connection to [/tmp/lshttpd/lsphp5.sock.974] on request #3, confirmed, 1, associated process: 27340, running: 1, error: Connection reset by peer!
2011-07-21 23:54:18.863 [INFO] [85.151.226.130:56496-0#APVH_46.4.90.81_DOMAINNAME] connection to [/tmp/lshttpd/lsphp5.sock.974] on request #2, confirmed, 1, associated process: 27340, running: 1, error: Connection reset by peer!
2011-07-21 23:54:35.373 [INFO] [81.69.130.125:49430-0#APVH_46.4.90.81_DOMAINNAME] gzipped, response body size is 20, no cache.
2011-07-21 23:54:51.936 [INFO] [87.208.86.130:53768-0#APVH_46.4.90.81_DOMAINNAME] gzipped, response body size is 20, no cache.
2011-07-21 23:55:29.891 [INFO] [77.161.131.88:49919-0#APVH_46.4.90.81_DOMAINNAME] gzipped, response body size is 20, no cache.
2011-07-21 23:55:38.641 [INFO] [150.70.172.104:58873-0#APVH_46.4.90.81_DOMAINNAME] response body size is zero, no cache.
2011-07-21 23:55:44.244 [INFO] [82.156.240.85:59807-0#APVH_46.4.90.81_DOMAINNAME] gzipped, response body size is 20, no cache.
2011-07-21 23:55:46.533 [INFO] [150.70.172.104:35997-0#APVH_46.4.90.81_DOMAINNAME] response body size is zero, no cache.
2011-07-21 23:56:07.638 [INFO] [84.29.41.210:56741-0#APVH_46.4.90.81_DOMAINNAME] gzipped, response body size is 20, no cache.
How can I fix it?

Thanks
 

webizen

Well-Known Member
#7
look for entries around the ones quoted below for client IP 77.171.118.229 and 85.151.226.130 and see what URLs they requested (and caused 503 error). the 503 error indicates PHP (lsphp5) failed to complete the request.

2011-07-21 23:54:16.793 [INFO] [77.171.118.229:59961-0#APVH_46.4.90.81_DOMAINNAME] connection to [/tmp/lshttpd/lsphp5.sock.974] on request #3, confirmed, 1, associated process: 27340, running: 1, error: Connection reset by peer!
2011-07-21 23:54:18.863 [INFO] [85.151.226.130:56496-0#APVH_46.4.90.81_DOMAINNAME] connection to [/tmp/lshttpd/lsphp5.sock.974] on request #2, confirmed, 1, associated process: 27340, running: 1, error: Connection reset by peer!
 
Top