LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   connection reset (http://www.litespeedtech.com/support/forum/showthread.php?t=5850)

tuyra 04-11-2012 12:44 PM

connection reset
 
Quote:

2012-04-11 22:32:33.709 [INFO] [xxx.184.xxx.10:49337-3#APVH_site.com] connection to [/tmp/lshttpd/lsphp5.sock.018] on request #179, confirmed, 0, associated process: 13275, running: 1, error: Connection reset by peer!

hello,

i get this error a lot. i read the forums about this error but i couldn't solve it. i don't use any cache software like xcache. how can i find the source of this error?

thanks.

webizen 04-11-2012 01:16 PM

check stderr.log. usually the message indicates that lsphp5 fails (to start).

tuyra 04-11-2012 01:21 PM

webizen, thnaks for reply.

i cleared error_log and stderr.log. error_log created same errors, but stderr.log is clear still.

webizen 04-11-2012 01:24 PM

find the url in question and run from command like '/usr/local/lsws/fcgi-bin/lsphp5 /path/to/php_script'

tuyra 04-11-2012 01:56 PM

Quote:

Originally Posted by webizen (Post 32672)
find the url in question and run from command like '/usr/local/lsws/fcgi-bin/lsphp5 /path/to/php_script'


how can i find the url? in question?

i have 6k instant visitors and many scripts working. i couldn't find any log what causes this error.

webizen 04-11-2012 04:11 PM

the url or file path usually is around the error message(a few entries before) in error_log. if that's alot, you may be able to reproduce by requesting it.

tuyra 04-12-2012 01:24 AM

Quote:

Originally Posted by webizen (Post 32680)
the url or file path usually is around the error message(a few entries before) in error_log. if that's alot, you may be able to reproduce by requesting it.

there isn't script name or url.


Quote:

012-04-12 11:10:16.226 [INFO] [69.171.229.249:34644-0#APVH_site.com] File not found [/home/site/public_html/ee/kvideo-4d8eefec98cb1.jpg]
2012-04-12 11:10:16.440 [NOTICE] [85.96.24.147:14773-0#APVH_site.com] [STDERR] PHP Fatal error: Call to a member function getUser() on a non-object in /home/site/public_html/ust-menu.php on line 31
2012-04-12 11:10:17.491 [INFO] [69.171.229.245:34576-0#APVH_site.com] File not found [/home/site/public_html/ee/86b8c4e66d61fa525c43adb865e41e7e-0000.png]
2012-04-12 11:10:19.950 [INFO] [92.45.234.39:1328-4#APVH_site.com] connection to [/tmp/lshttpd/lsphp5.sock] on request #2, confirmed, 0, associated process: 8482, running: 1, error: Broken pipe!
2012-04-12 11:10:19.951 [INFO] [88.224.139.18:42813-0#APVH_m.site.com] File not found [/home/site/public_html/m/404.shtml]
2012-04-12 11:10:19.951 [INFO] [88.230.108.51:49716-0#APVH_site.com] connection to [/tmp/lshttpd/lsphp5.sock] on request #78, confirmed, 0, associated process: 8482, running: 1, error: Broken pipe!
2012-04-12 11:10:19.953 [INFO] [69.171.229.245:34576-0#APVH_site.com:lsapi] connection to [/tmp/lshttpd/lsphp5.sock] on request #76, confirmed, 0, associated process: 8482, running: 1, error: Broken pipe!
2012-04-12 11:10:19.962 [INFO] [85.108.246.157:2590-2#APVH_site.com] connection to [/tmp/lshttpd/lsphp5.sock] on request #299, confirmed, 0, associated process: 8482, running: 1, error: Connection reset by peer!
2012-04-12 11:10:19.965 [INFO] [78.181.230.4:1298-3#APVH_site.com] connection to [/tmp/lshttpd/lsphp5.sock] on request #57, confirmed, 0, associated process: 8482, running: 1, error: Broken pipe!
2012-04-12 11:10:19.965 [INFO] [78.160.213.37:20162-1#APVH_site.com] connection to [/tmp/lshttpd/lsphp5.sock] on request #98, confirmed, 0, associated process: 8482, running: 1, error: Broken pipe!
2012-04-12 11:10:19.966 [INFO] [157.55.18.24:33948-0#APVH_video.site.com] connection to [/tmp/lshttpd/lsphp5.sock] on request #89, confirmed, 0, associated process: 8482, running: 1, error: Connection reset by peer!
2012-04-12 11:10:20.018 [INFO] [95.15.165.43:2737-1#APVH_site.com] connection to [/tmp/lshttpd/lsphp5.sock] on request #20, confirmed, 0, associated process: 8482, running: 1, error: Connection reset by peer!
2012-04-12 11:10:20.026 [INFO] [94.96.53.112:51886-0#APVH_site.com] connection to [/tmp/lshttpd/lsphp5.sock] on request #1, confirmed, 0, associated process: 8482, running: 1, error: Connection reset by peer!
2012-04-12 11:10:20.124 [INFO] [94.219.1.182:52519-0#APVH_site.com] connection to [/tmp/lshttpd/lsphp5.sock] on request #500, confirmed, 0, associated process: 8482, running: 1, error: Connection reset by peer!


tuyra 04-12-2012 11:15 AM

any ideas?

webizen 04-12-2012 09:39 PM

do '/usr/local/lsws/fcgi-bin/lsphp5 -v' or '/usr/local/lsws/fcgi-bin/lsphp5 -i' from command line and see anything.

tuyra 05-03-2012 06:16 AM

'/usr/local/lsws/fcgi-bin/lsphp5 -v
Quote:

PHP 5.3.8 (litespeed) (built: Dec 23 2011 16:11:43)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies

/usr/local/lsws/fcgi-bin/lsphp5 -i

Quote:

PHP Version => 5.3.8

System => Linux s1.zapkolik.com 2.6.18-274.12.1.el5 #1 SMP Tue Nov 29 13:37:46 EST 2011 x86_64
Build Date => Dec 23 2011 16:10:40
Configure Command => './configure' '--disable-fileinfo' '--disable-pdo' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-sockets' '--prefix=/usr/local' '--with-curl=/opt/curlssl/' '--with-gd' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libdir=lib64' '--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-pic' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--with-zlib' '--with-zlib-dir=/usr' '--with-litespeed'
Server API => LiteSpeed V5.5
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => /usr/local/lib/php.ini
Scan this dir for additional .ini files => (none)
Additional .ini files parsed => (none)
PHP API => 20090626............


All times are GMT -7. The time now is 09:52 AM.