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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Feedback/Feature Requests > Saving core dump to non-volatile directory

Reply
 
Thread Tools Display Modes
  #1  
Old 01-11-2010, 09:14 AM
munduk75 munduk75 is offline
New Member
 
Join Date: Jun 2009
Posts: 7
Default Saving core dump to non-volatile directory

Hi,

One of my customers had a very bad LS crash today (v4.0.11) and received 75 warnings by email :

Code:
At [11/Jan/2010:15:10:01 +0000], web server with pid=34503 received unexpected 
signal=11, a core file is created. 
A new instance of web server will be started automatically!
....
If the call stack information does not show up here, 
please compress 
and forward the core file located in /tmp/lshttpd/.


However, by the time I was informed and could connect to their server, they rebooted it !! So, no more core files, they are all gone

All I have left is a single line in error.log :
Code:
2010-01-11 15:16:33.101 [WARN] [AutoRestarter] forking too frequently, suspend for a while!
Wouldn't it be a good idea to save those files to a non-volatile dir instead of /tmp ?
Reply With Quote
  #2  
Old 01-12-2010, 12:46 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
You can configure the core file location with
/proc/sys/kernel/core_pattern

or corresponding sysctl directive.
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:32 PM.



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