PHP queue getting very deep

Discussion in 'PHP' started by ffeingol, Jun 25, 2008.

  1. ffeingol

    ffeingol Member

    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?
  2. PSS

    PSS Member

    Shut down each website for 10 minutes and see if processes go down? :)
  3. ffeingol

    ffeingol Member

    Thnx, but not really an option :) The problem is not constant.
  4. mistwang

    mistwang LiteSpeed Staff

    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.
  5. ffeingol

    ffeingol Member

    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.

Share This Page