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

Go Back   LiteSpeed Support Forums > External Applications > PHP > PHP queue getting very deep

Reply
 
Thread Tools Display Modes
  #1  
Old 06-25-2008, 07:42 AM
ffeingol ffeingol is offline
Senior Member
 
Join Date: Jul 2007
Location: /dev/null
Posts: 290
Default PHP queue getting very deep

We're having an issue where the php wait queue is getting very deep and php requests are not getting processed. I'm sure that it's one web site that has a bad MySQL call or something similar backup up all php but we're having a really hard time tracking it down. We're not running suexec. Any hints / tips on tracking it down?
Reply With Quote
  #2  
Old 06-25-2008, 08:21 AM
PSS PSS is offline
Senior Member
 
Join Date: Jun 2007
Posts: 126
Shut down each website for 10 minutes and see if processes go down?
Reply With Quote
  #3  
Old 06-25-2008, 08:29 AM
ffeingol ffeingol is offline
Senior Member
 
Join Date: Jul 2007
Location: /dev/null
Posts: 290
Thnx, but not really an option :-) The problem is not constant.
Reply With Quote
  #4  
Old 06-25-2008, 02:10 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
When you are having the problem, you can start to "strace" the lsphp process. It may not help much if it is in the middle a request, but it happen to take another bad request, you should be able to tell which script is causing it.

I don't know if you can do anything from mysql side.
Reply With Quote
  #5  
Old 06-25-2008, 02:25 PM
ffeingol ffeingol is offline
Senior Member
 
Join Date: Jul 2007
Location: /dev/null
Posts: 290
I was actually trying to debug it from the MySQL side (figuring that was what was blocking). From within phpmyadmin or mysqladmin you can dump the running queries which helps narrow things down.

The problem with tracing the lsphp process is "which one". When things back up there are 40+ lsphp# processes.
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 05:06 PM.



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