LSWS Crashing (4.1.8 and 4.1.10)

MikeDVB

Well-Known Member
#1
LSWS works fine for hours, days, or weeks and then it suddenly stops processing requests it seems. When I turned on full debug logging I see a TON of this right before it stops working:
PHP:
2012-01-21 17:00:49.174 [DEBUG] [MMAP] Release mapped data at 0x2aaaad197000
2012-01-21 17:00:49.174 [DEBUG] [MMAP] Release mapped data at 0x2aaaae1a0000
2012-01-21 17:00:49.174 [DEBUG] [MMAP] Release mapped data at 0x2aaaaad56000
2012-01-21 17:00:49.174 [DEBUG] [MMAP] Release mapped data at 0x2aaaaad54000
It's done this 4 times today (but not once before today) - I'm not sure if this is perhaps a bad memory module in the server or some obscure bug in LiteSpeed we're hitting.

I've emailed bug@ but haven't gotten a response (not surprised, it's Saturday).

I see a lot of this in the stderr.log as well:
PHP:
2012-01-21 16:39:29.404 [STDERR] File 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
Character set '#192' is not a compiled character set and is not specified in the 'NONEXISTENT/charsets/Index' file
2012-01-21 16:40:14.939 [STDERR] File 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
Character set '#192' is not a compiled character set and is not specified in the 'NONEXISTENT/charsets/Index' file
2012-01-21 16:55:34.841 [STDERR] File 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
Character set '#192' is not a compiled character set and is not specified in the 'NONEXISTENT/charsets/Index' file
2012-01-21 16:55:34.857 [STDERR] File 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
Character set '#192' is not a compiled character set and is not specified in the 'NONEXISTENT/charsets/Index' file
2012-01-21 16:55:34.912 [STDERR] File 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
Character set '#192' is not a compiled character set and is not specified in the 'NONEXISTENT/charsets/Index' file
2012-01-21 16:55:34.940 [STDERR] File 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
Character set '#192' is not a compiled character set and is not specified in the 'NONEXISTENT/charsets/Index' file
2012-01-21 16:55:35.063 [STDERR] File 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
Character set '#192' is not a compiled character set and is not specified in the 'NONEXISTENT/charsets/Index' file
Not sure what to try at this point, hoping somebody from LSWS can chime in. In the interim I've written a script to check the number of LSPHP processes once per second, if it drops below 5 it will restart LiteSpeed and then wait 30 seconds before checking again. It's not ideal, but will avoid manual restarts until this is resolved.
 
Last edited:

MikeDVB

Well-Known Member
#2
I'm seeing this on other servers as well, this happens and then the software restarts. It seems hit or miss as to whether LiteSpeed continues serving requests or not. On one server it does restart after a minute, on others it does not.

PHP:
2012-01-22 16:06:11.013 [DEBUG] [MMAP] Release mapped data at 0x2aaaab481000
2012-01-22 16:06:11.013 [DEBUG] [MMAP] Release mapped data at 0x2aaaab36d000
2012-01-22 16:06:11.013 [DEBUG] [MMAP] Release mapped data at 0x2aaaaacb3000
2012-01-22 16:06:11.013 [DEBUG] [MMAP] Release mapped data at 0x2aaaab614000
2012-01-22 16:06:11.013 [DEBUG] [MMAP] Release mapped data at 0x2aaaaab05000
2012-01-22 16:06:11.013 [DEBUG] [MMAP] Release mapped data at 0x2aaaaacd2000
2012-01-22 16:06:11.013 [DEBUG] [MMAP] Release mapped data at 0x2aaaab36f000
It would be really nice if somebody from LiteSpeed could investigate this as it's causing uptime/performance issues.
 
Top