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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > [Resolved] Yet another problem with Litespeed.

Reply
 
Thread Tools Display Modes
  #21  
Old 06-25-2010, 08:43 AM
VortMax VortMax is offline
Member
 
Join Date: Aug 2007
Posts: 46
eaccelerator.shm_size = 0
eaccelerator.enable = 1
eaccelerator.optimizer = 1

Set enabled to 0 and restart litespeed and test again?
Reply With Quote
  #22  
Old 06-25-2010, 08:48 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
that's ok too. have you rebuild lsphp without '--disable-json' ?
Reply With Quote
  #23  
Old 06-25-2010, 08:50 AM
VortMax VortMax is offline
Member
 
Join Date: Aug 2007
Posts: 46
not yet,
I am in and out today on service calls. I may have a chance to try that later tonight though.
Reply With Quote
  #24  
Old 06-25-2010, 08:52 AM
VortMax VortMax is offline
Member
 
Join Date: Aug 2007
Posts: 46
Had no affect, but it appears that eaccelreator is still running?

Quote:
PHP 5.2.9 (cli) (built: Apr 28 2009 19:31:34)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
Reply With Quote
  #25  
Old 06-25-2010, 08:54 AM
VortMax VortMax is offline
Member
 
Join Date: Aug 2007
Posts: 46
By the way....Server load jumped significantly (double) when I tried to save that form again. And it appears that it's not the lsws php process but the lsws httpd process that maxes out:

Quote:
10481 apache 6 -19 61832 44m 492 R 99.8 0.3 2:05.98 lshttpd
Reply With Quote
  #26  
Old 06-25-2010, 07:22 PM
VortMax VortMax is offline
Member
 
Join Date: Aug 2007
Posts: 46
Any more luck with this? I sent a PM to you earlier in the day. I really need to get this fixed ASAP.

Thank you
Reply With Quote
  #27  
Old 06-26-2010, 08:43 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
I will check it later today.
Reply With Quote
  #28  
Old 06-26-2010, 08:10 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
The 99% cpu is caused by PCRE pattern matching, when processing mod_security rules, rebuild LSWS with reduced PCRE looping limit, the 99% cpu problem is gone.

Then there are a few mod_security rules block the POST request, enable debug logging with "SecDebugLogLevel 9" in /etc/httpd/modsecurity.d/modsecurity_crs_10_config.conf, located a few offending rules, comment them out, the site template can be updated now.
Reply With Quote
  #29  
Old 06-26-2010, 09:42 PM
VortMax VortMax is offline
Member
 
Join Date: Aug 2007
Posts: 46
Thank you very much. Can you send me the changes you made to the mod_security stuff via PM. I would like to have a look at it. Curious, what was the purpose of activating the debugging?
Reply With Quote
  #30  
Old 06-27-2010, 01:02 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
activating debugging is to find out the offending rule.
LiteSpeed will log the rule to error.log, reproduce the problem, then grep error.log with your IP. it will list the test string and pattern of the rule, then you can comment it out, try again, until the page works.
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 06:47 PM.



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