![]() |
100% CPU after 4.1.1 upgrade from 4.0.20
Hi, I've been running LiteSpeed for a long time and I don't remember the last time I had any problems with it.
Yesterday I upgraded from 4.0.20 to 4.1.1 (for no special reason) and later I started noticing an oddity: sometimes the litespeed process (lshttpd) used 100% of the CPU. This happens when users use my service and when they try to upload a file, CPU of "litespeed" process goes to 100% and stays there.... I switched back and forth from 4.0.20 to 4.1.1 and I can reproduce this with 4.1.1 only. I'm pretty sure it's a bug somewhere... but I haven't isolated the problem yet... this only happens when the user tries to upload a file (I tested with a 4MB file). I know I haven't done anything besides upgrading LiteSpeed. This web service is a Perl script using CGI::Fast, on a Debian 5 linux running 2.6.26. I did a "strace" to this process, and when the CPU goes to 100% it loops with messages like these: Code:
10:45:23.817680 gettimeofday({1309959923, 817690}, NULL) = 0Regards! |
time needed?
noatime enabled? |
William, thanks for your reply, but I didn't understand what you mean. Could you please rewrite in "user-friendly language"?
Like I said, I only upgraded LiteSpeed from 4.0.20 to 4.1.1 from the admin web console. Is there an upgrade requirement that I am missing here? Thanks |
Have you set "Inbound Bandwidth" limit?
http://www.litespeedtech.com/docs/we...y/#inBandwidth Looks like a bug in bandwidth limit implementation. |
hi mistwang, I never used this feature and I have both Outbound Bandwidth and Inbound Bandwidth set to 0.
Let me know if you need any other info. Thanks |
Are you using a FastCGI script to handle the upload?
|
Yes I am! A Perl script with CGI::Fast module.
|
can you please reproduce the bug with debug logging enabled?
You can search related log entries by your IP address, please send the log to bug@litespeedtech... |
mistwang, I will do this tonight when users are not using my server ok? Thanks!
|
sure. no problem.
|
| All times are GMT -7. The time now is 10:54 AM. |