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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > LiteSpeed Cache > LSWS freaks out on Full Cache event

Reply
 
Thread Tools Display Modes
  #1  
Old 06-09-2011, 02:09 PM
meto meto is offline
Senior Member
 
Join Date: Jan 2008
Posts: 65
Default LSWS freaks out on Full Cache event

LSWS started to restart itself when I got 100% on my tmpfs for cache. I think it's behaviour should be addressed otherwise than throwing 503 which leads to restart...
Reply With Quote
  #2  
Old 06-09-2011, 03:30 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
it is recommended old caches get purged periodically (cronjob) and there is enough space available for cache.
Reply With Quote
  #3  
Old 06-09-2011, 10:54 PM
meto meto is offline
Senior Member
 
Join Date: Jan 2008
Posts: 65
It does every ten minutes. Anyhow this behavior should be somehow addressed (maybe disable cache for 60 sec?).
Reply With Quote
  #4  
Old 06-10-2011, 05:08 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
if tmpfs for cache is full, no cache file will be created in tmpfs. however, lsws should continue to serve as if cache being disabled (not enabled). 503 error is likely due to something else. can you paste here anything in error.log around the time when 503 error occurs?

also is the "restart" in "throwing 503 which leads to restart" referring to LSWS restart or PHP restart?
Reply With Quote
  #5  
Old 06-10-2011, 11:55 PM
meto meto is offline
Senior Member
 
Join Date: Jan 2008
Posts: 65
I got errors like:

Quote:
At [11/Jun/2011:00:10:48 +0200], web server with pid=9762 received unexpected signal=7, a core file is created. A new instance of web server will be started automatically!

Please forward the following debug information to bug@litespeedtech.com.
Environment:

Server: LiteSpeed/4.1.1 Enterprise
OS: Linux
Release: 2.6.18-238.5.1.el5.028stab088.1
Version: #1 SMP Tue Mar 29 21:02:16 MSD 2011
Machine: x86_64

If the call stack information does not show up here, please compress and forward the core file located in /tmp/lshttpd/.

[New Thread 9765]
[New Thread 9764]
Core was generated by `litespeed'.
Program terminated with signal 7, Bus error.
#0 0x00002b2ee4628863 in ?? ()
#0 0x00002b2ee4628863 in ?? ()
#1 0x00002aaaaaac0eb9 in ?? ()
#2 0x00002aaaaaada000 in ?? ()
- Pokaż cytowany tekst -
Reply With Quote
  #6  
Old 06-11-2011, 12:45 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
you need gdb (gnu debugger) and lsws dbg (http://www.litespeedtech.com/package...nux-dbg.tar.gz) both installed.
Reply With Quote
  #7  
Old 06-13-2011, 12:40 PM
meto meto is offline
Senior Member
 
Join Date: Jan 2008
Posts: 65
I've mailed corefiles and bug info.
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:21 PM.



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