lsws Child Process Dying all Over

Discussion in 'General' started by Chmava, May 15, 2011.

  1. Chmava

    Chmava New Member

    Hi,

    Our Company is thinking of investing in litespeed but we cant get this issue in php or litespeed fix which is killing child process alot.

    it is not solve as it is clearly a litespeed issue, as apache has no issue.

    How a Normal Query look Like

    Last edited: May 15, 2011
  2. Chmava

    Chmava New Member

    Solved

    and how a failed query look like from this url: http://www.chmava.com/video/1121739/dj-henny-bday-bash-super-promotional-video.html

    Compare to this url: http://www.chmava.com/video/443431/youtube-american-idol-freakout-flv.html

    Last edited: May 15, 2011
  3. Chmava

    Chmava New Member

    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] process response stream 8192 bytes, packet left: 8192
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] HttpExtConnector::processRespBodyData()
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] process packet header 8 bytes
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] process response stream 8192 bytes, packet left: 16384
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] HttpExtConnector::processRespBodyData()
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] HttpIOLink::continueWrite()...
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] write resumed!
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] ExtConn::eek:nRead()
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] LsapiConn::doRead()
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] process response stream 8192 bytes, packet left: 8192
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] HttpExtConnector::processRespBodyData()
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] process packet header 8 bytes
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] process response stream 8192 bytes, packet left: 16384
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] HttpExtConnector::processRespBodyData()
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] HttpIOLink::continueWrite()...
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] write resumed!
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] ExtConn::eek:nRead()
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] LsapiConn::doRead()
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] process response stream 8192 bytes, packet left: 8192
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] HttpExtConnector::processRespBodyData()
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] process packet header 8 bytes
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] process response stream 8192 bytes, packet left: 14750
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] HttpExtConnector::processRespBodyData()
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] HttpIOLink::continueWrite()...
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] write resumed!
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] ExtConn::eek:nRead()
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] LsapiConn::doRead()
  4. Chmava

    Chmava New Member

    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] process response stream 6566 bytes, packet left: 6558
    2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] HttpExtConnector::processRespBodyData()
    2011-05-15 15:40:01.102 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] process packet header 8 bytes
    2011-05-15 15:40:01.102 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] [EXT] EndResponse( endCode=0, protocolStatus=0 )
    2011-05-15 15:40:01.102 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] release ExtProcessor!
    2011-05-15 15:40:01.102 DEBUG [uds://tmp/lshttpd/APVH_chmava.com_Suphp.sock] add recycled connection to connection pool!
    2011-05-15 15:40:01.102 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] HttpIOLink::continueWrite()...
    2011-05-15 15:40:01.102 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] write resumed!
    2011-05-15 15:40:01.102 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] HttpIOLink::handleEvents() events=4!
    2011-05-15 15:40:01.102 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] Written to client: 4104
    2011-05-15 15:40:01.102 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] Written to client: 4104
    2011-05-15 15:40:01.102 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] writeRespBody() return 8192
    2011-05-15 15:40:01.102 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] Written to client: 4104
    2011-05-15 15:40:01.102 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] Written to client: 4104
    2011-05-15 15:40:01.102 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] writeRespBody() return 8192
    2011-05-15 15:40:01.102 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] Written to client: 4104
    2011-05-15 15:40:01.102 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] Written to client: 4104
    2011-05-15 15:40:01.102 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] writeRespBody() return 8192
    2011-05-15 15:40:01.102 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] Written to client: 3172
    2011-05-15 15:40:01.102 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] writeRespBody() return 0
    2011-05-15 15:40:01.102 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] HttpIOLink::continueWrite()...
    2011-05-15 15:40:01.102 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] write resumed!
  5. Chmava

    Chmava New Member

    2011-05-15 15:40:01.102 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] m_pHandler->onWrite() return 1
    2011-05-15 15:40:01.223 DEBUG [202.156.14.110:54159-11] HttpIOLink::handleEvents() events=1!
    2011-05-15 15:40:01.223 DEBUG [202.156.14.110:54159-11] HttpConnection::eek:nReadEx(), state: 0!
    2011-05-15 15:40:01.223 DEBUG [202.156.14.110:54159-11] readToHeaderBuf().
    2011-05-15 15:40:01.223 DEBUG [202.156.14.110:54159-11] Read from client: 734
    2011-05-15 15:40:01.223 DEBUG [202.156.14.110:54159-11] read 734 bytes to header buffer
    2011-05-15 15:40:01.223 DEBUG [202.156.14.110:54159-11] processHeader() return 0, header state: 3.
    2011-05-15 15:40:01.223 DEBUG [202.156.14.110:54159-11] readToHeaderBuf() return 0.
    2011-05-15 15:40:01.223 NOTICE [202.156.14.110:54159-11#APVH_chmava.com] Content len: 0, Request line: 'GET /video/1121739/dj-henny-bday-bash-super-promotional-video.html HTTP/1.1'
    2011-05-15 15:40:01.223 INFO [202.156.14.110:54159-11#APVH_chmava.com] Cookie len: 308, __utma=168510707.2120244521.1305430586.1305478269.1305481527.6; __utmz=168510707.1305430586.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ividplay_family_filter=Y; PHPSESSID=9e14924de147f85eb271289b355a9b51; PHPSESSID=da0a01460c0bb67bca51feb1bf6d8bd6; __utmc=168510707; __utmb=168510707.47.10.1305481527]

    If a staff could help us before we move over, that would be greatly appreciated!

    Best Regards,
    Chmava

    also if you remove one letter from the back, it work again.
    Last edited: May 15, 2011
  6. Chmava

    Chmava New Member

    a bit more log on the specific video:

    2011-05-15 15:52:55.656 DEBUG [77.88.26.26:61182-0#APVH_chmava.com] Find context with URI: [/], location: [/home/chmava/public_html/]
    2011-05-15 15:52:55.656 DEBUG [77.88.26.26:61182-0#APVH_chmava.com] Find .htaccess context with URI: [/], location: [/home/chmava/public_html/]
    2011-05-15 15:52:55.656 DEBUG [77.88.26.26:61182-0#APVH_chmava.com] Find handler [APVH_chmava_Suphp:] for [.php]
    2011-05-15 15:52:55.656 DEBUG [77.88.26.26:61182-0#APVH_chmava.com] processContextPath() return 0
    2011-05-15 15:52:55.657 DEBUG [77.88.26.26:61182-0#APVH_chmava.com] run lsapi processor.
    2011-05-15 15:52:55.657 DEBUG [uds://tmp/lshttpd/APVH_chmava.com_Suphp.sock] connection available!
    2011-05-15 15:52:55.657 DEBUG [uds://tmp/lshttpd/APVH_chmava.com_Suphp.sock] request [77.88.26.26:61182-0#APVH_chmava.com:lsapi] is assigned with connection!
    2011-05-15 15:52:55.657 DEBUG [77.88.26.26:61182-0#APVH_chmava.com:lsapi] request header is done
    2011-05-15 15:52:55.657 DEBUG [77.88.26.26:61182-0#APVH_chmava.com:lsapi] Request body done!
    2011-05-15 15:52:55.658 DEBUG [77.88.26.26:61182-0#APVH_chmava.com:lsapi] processNewReq() return 0.
    2011-05-15 15:52:55.658 DEBUG [77.88.26.26:61182-0#APVH_chmava.com:lsapi] ExtConn::eek:nRead()
    2011-05-15 15:52:55.658 DEBUG [77.88.26.26:61182-0#APVH_chmava.com:lsapi] LsapiConn::doRead()
    2011-05-15 15:52:55.658 DEBUG [77.88.26.26:61182-0#APVH_chmava.com:lsapi] process packet header 8 bytes
    2011-05-15 15:52:55.658 DEBUG [77.88.26.26:61182-0#APVH_chmava.com:lsapi] process packet header 0 bytes
    2011-05-15 15:52:55.716 DEBUG [202.156.14.110:62717-1] HttpIOLink::handleEvents() events=1!
    2011-05-15 15:52:55.716 DEBUG [202.156.14.110:62717-1] HttpConnection::eek:nReadEx(), state: 0!
    2011-05-15 15:52:55.716 DEBUG [202.156.14.110:62717-1] readToHeaderBuf().
    2011-05-15 15:52:55.716 DEBUG [202.156.14.110:62717-1] Read from client: 734
    2011-05-15 15:52:55.716 DEBUG [202.156.14.110:62717-1] read 734 bytes to header buffer
    2011-05-15 15:52:55.716 DEBUG [202.156.14.110:62717-1] processHeader() return 0, header state: 3.
    2011-05-15 15:52:55.716 DEBUG [202.156.14.110:62717-1] readToHeaderBuf() return 0.
    2011-05-15 15:52:55.716 NOTICE [202.156.14.110:62717-1#APVH_chmava.com] Content len: 0, Request line: 'GET /video/1121739/dj-henny-bday-bash-super-promotional-video.html HTTP/1.1'
    2011-05-15 15:52:55.716 INFO [202.156.14.110:62717-1#APVH_chmava.com] Cookie len: 308, __utma=168510707.2120244521.1305430586.1305478269.1305481527.6; __utmz=168510707.1305430586.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ividplay_family_filter=Y; PHPSESSID=9e14924de147f85eb271289b355a9b51; PHPSESSID=da0a01460c0bb67bca51feb1bf6d8bd6; __utmc=168510707; __utmb=168510707.49.10.1305481527
  7. webizen

    webizen New Member

    please clarify:
    1. what's the issue*?
    2. is the issue resolved?

    * the logs provided don't support your claim "lsws Child Process Dying all over".
  8. Chmava

    Chmava New Member

    15k child process of ls was killed in under 10 mins.

    we switched to fcgi for the time begin.

    and yes we have no log, cause even with php show all error, give no report.

    it just give us a blank page when it should have loaded. litespeed php is not phasing the page at all, like it chose to ignore it and dish out nothing. and everytime it happen, a child process was killed, granted this error only appear on 1 in a thousand or more pages.

    and yet when you change or remove a single letter, it work again, curious.
    Last edited: May 16, 2011
  9. webizen

    webizen New Member

    Can you elaborate this a bit? pls provide a URL in question to be more specific.
  10. Chmava

    Chmava New Member

    Hold on, db is tie up right now, will try to simulate the same condition after.

Share This Page