503 Errors

xTr

New Member
#1
Before bothering to write, I really looked up into every single 503 error topic around, but I did not find anything that would solve my issue.

Code:
2011-08-13 20:15:25.787	INFO	[108.102.251.4:37490-0#Android] connection to [/tmp/lshttpd/lsphp5.sock] on request #500, confirmed, 1, associated process: 7821, running: 1, error: Connection reset by peer!
2011-08-13 20:15:25.787	NOTICE	[108.102.251.4:37490-0#Android] POST request in process stage, fail with 503
2011-08-13 20:15:25.787	NOTICE	[108.102.251.4:37490-0#Android] oops! 503 Service Unavailable
2011-08-13 20:15:25.787	NOTICE	[108.102.251.4:37490-0#Android] Content len: 38, Request line: 'POST /******/*****/***.php?action=uping HTTP/1.1'
2011-08-13 20:15:37.963	INFO	[174.252.161.68:57268-0#Android] connection to [/tmp/lshttpd/lsphp5.sock] on request #500, confirmed, 1, associated process: 7821, running: 1, error: Connection reset by peer!
2011-08-13 20:15:37.963	NOTICE	[174.252.161.68:57268-0#Android] POST request in process stage, fail with 503
2011-08-13 20:15:37.963	NOTICE	[174.252.161.68:57268-0#Android] oops! 503 Service Unavailable
2011-08-13 20:15:37.963	NOTICE	[174.252.161.68:57268-0#Android] Content len: 13, Request line: 'POST /******/*****/***.php?action=notf_past_time HTTP/1.1'
Tried different versions of PHP,
Current one:
PHP 5.2.9 (litespeed) (built: Aug 9 2011 21:09:33)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies

Compile args:
Code:
'--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-libxml' '--enable-magic-quotes' '--enable-pdo=shared' '--enable-sockets' '--with-curl=/opt/curlssl/' '--with-gd' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libxml-dir=/opt/xml2/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-pcre-regex=/opt/pcre' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '--with-png-dir=/usr' '--with-sqlite=shared' '--with-xpm-dir=/usr' '--with-zlib' '--with-zlib-dir=/usr' '--with-litespeed'
Litespeed Web Server Standard v4.1.2 ( on 4.1.3 I have the same issue ).

Checked STDERR for any errors, but none found.

I am quite running out of ideas :(
 

webizen

Well-Known Member
#2
The logs indicate that PHP process crashed when run the script "POST /******/*****/***.php?action=uping". it is likely your script issue. Try run the script from command line or strace the lsphp5 process to see what's going on.

Code:
2011-08-13 20:15:25.787	INFO	[108.102.251.4:37490-0#Android] connection to [/tmp/lshttpd/lsphp5.sock] on request #500, confirmed, 1, associated process: 7821, running: 1, error: Connection reset by peer!
2011-08-13 20:15:25.787	NOTICE	[108.102.251.4:37490-0#Android] POST request in process stage, fail with 503
2011-08-13 20:15:25.787	NOTICE	[108.102.251.4:37490-0#Android] oops! 503 Service Unavailable
2011-08-13 20:15:25.787	NOTICE	[108.102.251.4:37490-0#Android] Content len: 38, Request line: 'POST /******/*****/***.php?action=uping HTTP/1.1'
2011-08-13 20:15:37.963	INFO	[174.252.161.68:57268-0#Android] connection to [/tmp/lshttpd/lsphp5.sock] on request #500, confirmed, 1, associated process: 7821, running: 1, error: Connection reset by peer!
2011-08-13 20:15:37.963	NOTICE	[174.252.161.68:57268-0#Android] POST request in process stage, fail with 503
2011-08-13 20:15:37.963	NOTICE	[174.252.161.68:57268-0#Android] oops! 503 Service Unavailable
2011-08-13 20:15:37.963	NOTICE	[174.252.161.68:57268-0#Android] Content len: 13, Request line: 'POST /******/*****/***.php?action=notf_past_time HTTP/1.1'
 

xTr

New Member
#3
Well thing is that command is not really crashing that often as it's requested at least 200~ times a minute. The server itself is processing around 35-40req/s. Not sure why it would fail once a while... Also if I was about to strace should I attach to one of the children processes and wait for the "crash" to happen?
 
Top