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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > 408.shtml, then lshttpd crashes

Reply
 
Thread Tools Display Modes
  #1  
Old 04-20-2009, 09:06 AM
jerome jerome is offline
New Member
 
Join Date: Apr 2009
Posts: 3
Exclamation 408.shtml, then lshttpd crashes

Log:

2009-04-20 11:49:13.301 [INFO] [221.255.4.26:40611-0#APVH_test.com] Connection idle time: 31 while in state: 5 watching for event: 25,close!
2009-04-20 11:49:13.301 [NOTICE] [221.255.4.26:40611-0#APVH_test.com] Content len: 320, Request line:
(null)
2009-04-20 11:49:13.301 [INFO] [221.255.4.26:40611-0#APVH_test.com] HttpExtConnector state: 8, request body sent: 320, response body size: 0, response body sent:0, left in buffer: 4459, attempts: 0.
2009-04-20 11:49:13.301 [INFO] [221.255.4.26:40611-0#APVH_test.com] File not found [/home/test/public_html/408.shtml]
2009-04-20 11:49:13.301 [NOTICE] [Child: 26338] Shut down successfully!
2009-04-20 11:49:13.301 [NOTICE] [APVH_test_Suphp:] stop worker processes
2009-04-20 11:49:13.301 [INFO] Permission denied, let parent kill it: 26354
2009-04-20 11:49:13.301 [INFO] Permission denied, let parent kill it: 3607
2009-04-20 11:49:13.304 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 26338 !
2009-04-20 11:49:13.304 [INFO] [CLEANUP] Clean up child process with pid: 3607
2009-04-20 11:49:13.304 [INFO] [CLEANUP] Clean up child process with pid: 26354
2009-04-20 11:49:13.405 [NOTICE] [AutoRestarter] child process with pid=26338 exited with status=0!
2009-04-20 11:49:13.405 [NOTICE] [PID:26334] Server Stopped!

The shutdown was not initiated by any user on the server, and it occurred exactly when the 408 occurred.
Script problems aside (which shouldn't be), the server shouldn't go down because of it.
Reply With Quote
  #2  
Old 04-20-2009, 10:33 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
It happens during a graceful restart, it was initiated by some one, grep "restart" you should find it.
Reply With Quote
  #3  
Old 04-20-2009, 11:00 AM
jerome jerome is offline
New Member
 
Join Date: Apr 2009
Posts: 3
Quote:
Originally Posted by mistwang View Post
It happens during a graceful restart, it was initiated by some one, grep "restart" you should find it.
I don't believe it is.

Firstly, I did what you said:

Quote:
root@host [/home/test/public_html]# cat /usr/local/apache/logs/error_log | grep restart
root@host [/home/test/public_html]#
Secondly, when lsws crashed, it stayed down.
Meaning, requests timed out, etc.
Reply With Quote
  #4  
Old 04-20-2009, 11:15 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
If it stay down, it must be shutdown by someone.
grep "stop server" "shutdown" "down" "graceful", all those words.


If you are use a trial key, may be you have reached 30 day trial limit.
Reply With Quote
  #5  
Old 04-20-2009, 11:24 AM
jerome jerome is offline
New Member
 
Join Date: Apr 2009
Posts: 3
Quote:
Originally Posted by mistwang View Post
If it stay down, it must be shutdown by someone.
grep "stop server" "shutdown" "down" "graceful", all those words.


If you are use a trial key, may be you have reached 30 day trial limit.
Here's many more lines before the shutdown.

Code:
2009-04-20 11:46:19.888 [INFO] [APVH_test_Suphp:] add child process pid: 3332
2009-04-20 11:48:01.129 [INFO] Remove pid: 3332
2009-04-20 11:48:01.129 [INFO] Pid: 3332 associated with [APVH_test_Suphp:]
2009-04-20 11:48:01.129 [INFO] [APVH_test_Suphp:] pid list size: 1, pid stop list size: 0
2009-04-20 11:48:01.149 [INFO] [APVH_test_Suphp:] pid list size: 2
2009-04-20 11:48:01.149 [INFO] [APVH_test_Suphp:] add child process pid: 3607
2009-04-20 11:49:05.001 [INFO] Stop listener 127.0.0.1:443.
2009-04-20 11:49:05.001 [INFO] Stop listener 127.0.0.1:80.
2009-04-20 11:49:05.001 [INFO] Stop listener x.x.x.x:443.
2009-04-20 11:49:05.001 [INFO] Stop listener x.x.x.x:80.
2009-04-20 11:49:05.001 [INFO] Stop listener x.x.x.x:443.
2009-04-20 11:49:05.001 [INFO] Stop listener x.x.x.x:80.
2009-04-20 11:49:05.001 [INFO] Stop listener *:7080.
2009-04-20 11:49:05.001 [NOTICE] [Child: 26339] Start shutting down gracefully ...
2009-04-20 11:49:05.001 [INFO] Stop listener 127.0.0.1:443.
2009-04-20 11:49:05.001 [INFO] Stop listener 127.0.0.1:80.
2009-04-20 11:49:05.001 [NOTICE] [Child: 26338] Start shutting down gracefully ...
2009-04-20 11:49:05.001 [INFO] Stop listener x.x.x.x:443.
2009-04-20 11:49:05.001 [INFO] Stop listener x.x.x.x:80.
2009-04-20 11:49:05.001 [INFO] Stop listener x.x.x.x:443.
2009-04-20 11:49:05.001 [INFO] Stop listener x.x.x.x:80.
2009-04-20 11:49:05.001 [INFO] Stop listener *:7080.
2009-04-20 11:49:05.001 [NOTICE] [Child: 26339] Shut down successfully!
2009-04-20 11:49:05.004 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 26339 !
2009-04-20 11:49:05.105 [NOTICE] [AutoRestarter] child process with pid=26339 exited with status=0!
2009-04-20 11:49:13.301 [INFO] [221.255.4.26:40611-0#APVH_test.com] Connection idle time: 31 while in state: 5 watching for event: 25,close!
2009-04-20 11:49:13.301 [NOTICE] [221.255.4.26:40611-0#APVH_test.com] Content len: 320, Request line:
(null)
2009-04-20 11:49:13.301 [INFO] [221.255.4.26:40611-0#APVH_test.com] HttpExtConnector state: 8, request body sent: 320, response body size: 0, response body sent:0, left in buffer: 4459, attempts: 0.
2009-04-20 11:49:13.301 [INFO] [221.255.4.26:40611-0#APVH_test.com] File not found [/home/test/public_html/408.shtml]
2009-04-20 11:49:13.301 [NOTICE] [Child: 26338] Shut down successfully!
2009-04-20 11:49:13.301 [NOTICE] [APVH_test_Suphp:] stop worker processes
2009-04-20 11:49:13.301 [INFO] Permission denied, let parent kill it: 26354
2009-04-20 11:49:13.301 [INFO] Permission denied, let parent kill it: 3607
2009-04-20 11:49:13.304 [NOTICE] [AutoRestarter] cleanup children processes and unix sockets belong to process 26338 !
2009-04-20 11:49:13.304 [INFO] [CLEANUP] Clean up child process with pid: 3607
2009-04-20 11:49:13.304 [INFO] [CLEANUP] Clean up child process with pid: 26354
2009-04-20 11:49:13.405 [NOTICE] [AutoRestarter] child process with pid=26338 exited with status=0!
2009-04-20 11:49:13.405 [NOTICE] [PID:26334] Server Stopped!
If it was indeed shutdown, how do I track the source of the shutdown?
I have cPanel installed, and I certainly didn't initiate the shutdown manually.
Reply With Quote
  #6  
Old 04-20-2009, 11:57 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
If you start to use a trial key 30 days ago, the trial period is over.
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 04:47 PM.



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