connection reset

#1
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

Well-Known Member
#6
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.
 
#7
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.


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!
 
#10
'/usr/local/lsws/fcgi-bin/lsphp5 -v
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

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............
 

mistwang

LiteSpeed Staff
#12
as long as you do not get 503 error in the log, there is nothing to worry about the "Connection reset" message. litespeed can recover when it happens.
 
#13
thanks. but my visitors disconnect from the system sometimes. for examle, suddenly the server doesnt repsone about 30-90 secs and then respones again. what causes it?
 

webizen

Well-Known Member
#14
is it just for particular user ? can you connect from the server itself during the time in question? maybe network or firewall issue?
 
#15
is it just for particular user ? can you connect from the server itself during the time in question? maybe network or firewall issue?
i cant connect too, it happens for all users. i removed iptables, and i contacted with datacenter. they said there isn't any network problem. any ideas?
 
Top