LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > connection reset

Reply
 
Thread Tools Display Modes
  #1  
Old 04-11-2012, 12:44 PM
tuyra tuyra is offline
Member
 
Join Date: Apr 2012
Posts: 12
Default 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.
Reply With Quote
  #2  
Old 04-11-2012, 01:16 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
check stderr.log. usually the message indicates that lsphp5 fails (to start).
Reply With Quote
  #3  
Old 04-11-2012, 01:21 PM
tuyra tuyra is offline
Member
 
Join Date: Apr 2012
Posts: 12
webizen, thnaks for reply.

i cleared error_log and stderr.log. error_log created same errors, but stderr.log is clear still.
Reply With Quote
  #4  
Old 04-11-2012, 01:24 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
find the url in question and run from command like '/usr/local/lsws/fcgi-bin/lsphp5 /path/to/php_script'
Reply With Quote
  #5  
Old 04-11-2012, 01:56 PM
tuyra tuyra is offline
Member
 
Join Date: Apr 2012
Posts: 12
Quote:
Originally Posted by webizen View Post
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.
Reply With Quote
  #6  
Old 04-11-2012, 04:11 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
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.
Reply With Quote
  #7  
Old 04-12-2012, 01:24 AM
tuyra tuyra is offline
Member
 
Join Date: Apr 2012
Posts: 12
Quote:
Originally Posted by webizen View Post
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!
Reply With Quote
  #8  
Old 04-12-2012, 11:15 AM
tuyra tuyra is offline
Member
 
Join Date: Apr 2012
Posts: 12
any ideas?
Reply With Quote
  #9  
Old 04-12-2012, 09:39 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
do '/usr/local/lsws/fcgi-bin/lsphp5 -v' or '/usr/local/lsws/fcgi-bin/lsphp5 -i' from command line and see anything.
Reply With Quote
  #10  
Old 05-03-2012, 06:16 AM
tuyra tuyra is offline
Member
 
Join Date: Apr 2012
Posts: 12
'/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............
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:58 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.