lsws Child Process Dying all Over

#1
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

2011-05-15 15:40:00.256 DEBUG [207.46.204.179:39191-0#APVH_chmava.com:lsapi said:
Written to client: 4104
2011-05-15 15:40:00.256 DEBUG [207.46.204.179:39191-0#APVH_chmava.com:lsapi] Written to client: 4104
2011-05-15 15:40:00.256 DEBUG [207.46.204.179:39191-0#APVH_chmava.com:lsapi] writeRespBody() return 8192
2011-05-15 15:40:00.256 DEBUG [207.46.204.179:39191-0#APVH_chmava.com:lsapi] Written to client: 4104
2011-05-15 15:40:00.256 DEBUG [207.46.204.179:39191-0#APVH_chmava.com:lsapi] Written to client: 4104
2011-05-15 15:40:00.256 DEBUG [207.46.204.179:39191-0#APVH_chmava.com:lsapi] writeRespBody() return 8192
2011-05-15 15:40:00.257 DEBUG [207.46.204.179:39191-0#APVH_chmava.com:lsapi] Written to client: 1325
2011-05-15 15:40:00.257 DEBUG [207.46.204.179:39191-0#APVH_chmava.com:lsapi] writeRespBody() return 1318
2011-05-15 15:40:00.257 DEBUG [207.46.204.179:39191-0#APVH_chmava.com:lsapi] ReqBody: 0, RespBody: 58662, HEC_COMPLETE!
2011-05-15 15:40:00.257 DEBUG [207.46.204.179:39191-0#APVH_chmava.com:lsapi] m_pHandler->onWrite() return 0
2011-05-15 15:40:00.257 DEBUG [207.46.204.179:39191-0#APVH_chmava.com:lsapi] Written to client: 7
2011-05-15 15:40:00.257 DEBUG [207.46.204.179:39191-0#APVH_chmava.com:lsapi] HttpConnection::flush()!
2011-05-15 15:40:00.257 DEBUG [207.46.204.179:39191-0#APVH_chmava.com:lsapi] HttpConnection::nextRequest()!
2011-05-15 15:40:00.257 DEBUG [207.46.204.179:39191-0#APVH_chmava.com:lsapi] HttpExtConnector::cleanUp() ...
2011-05-15 15:40:00.257 DEBUG [207.46.204.179:39191-0#APVH_chmava.com:lsapi] Non-KeepAlive, CLOSING!
2011-05-15 15:40:00.257 DEBUG [207.46.204.179:39191-0#APVH_chmava.com:lsapi] Shutting down out-bound socket ...
2011-05-15 15:40:00.257 DEBUG [207.46.204.179:39191-0#APVH_chmava.com:lsapi] Available Connections: 1991
2011-05-15 15:40:00.315 DEBUG [207.46.204.179:39191-0#APVH_chmava.com:lsapi] HttpIOLink::handleEvents() events=17!
2011-05-15 15:40:00.315 DEBUG [207.46.204.179:39191-0#APVH_chmava.com:lsapi] Close socket ...
2011-05-15 15:40:00.985 DEBUG [64.120.251.2:80] New connection from 220.181.108.117:18730.
2011-05-15 15:40:00.985 DEBUG [64.120.251.2:80] 1 connections accepted!
2011-05-15 15:40:00.985 DEBUG [220.181.108.117:18730-0] HttpIOLink::handleEvents() events=25!
2011-05-15 15:40:00.985 DEBUG [220.181.108.117:18730-0] HttpConnection::eek:nReadEx(), state: 0!
2011-05-15 15:40:00.985 DEBUG [220.181.108.117:18730-0] readToHeaderBuf().
2011-05-15 15:40:00.985 DEBUG [220.181.108.117:18730-0] Read from client: 256
2011-05-15 15:40:00.985 DEBUG [220.181.108.117:18730-0] read 256 bytes to header buffer
2011-05-15 15:40:00.985 DEBUG [220.181.108.117:18730-0] processHeader() return 0, header state: 3.
2011-05-15 15:40:00.985 DEBUG [220.181.108.117:18730-0] readToHeaderBuf() return 0.
2011-05-15 15:40:00.985 NOTICE [220.181.108.117:18730-0#APVH_chmava.com] Content len: 0, Request line: 'GET /video/295634/-2012-516-part-2.html HTTP/1.1'
 
Last edited:
#2
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

2011-05-15 15:40:00.985 DEBUG [220.181.108.117:18730-0#APVH_chmava.com said:
Find context with URI: [/], location: [/home/chmava/public_html/]
2011-05-15 15:40:00.985 DEBUG [220.181.108.117:18730-0#APVH_chmava.com] Find .htaccess context with URI: [/], location: [/home/chmava/public_html/]
2011-05-15 15:40:00.985 DEBUG [220.181.108.117:18730-0#APVH_chmava.com] Find handler [APVH_chmava_Suphp:] for [.php]
2011-05-15 15:40:00.985 DEBUG [220.181.108.117:18730-0#APVH_chmava.com] processContextPath() return 0
2011-05-15 15:40:01.093 DEBUG [220.181.108.117:18730-0#APVH_chmava.com] run lsapi processor.
2011-05-15 15:40:01.093 DEBUG [uds://tmp/lshttpd/APVH_chmava.com_Suphp.sock] connection available!
2011-05-15 15:40:01.093 DEBUG [uds://tmp/lshttpd/APVH_chmava.com_Suphp.sock] request [220.181.108.117:18730-0#APVH_chmava.com:lsapi] is assigned with connection!
2011-05-15 15:40:01.093 DEBUG [220.181.108.117:18730-0#APVH_chmava.com:lsapi] request header is done
2011-05-15 15:40:01.093 DEBUG [220.181.108.117:18730-0#APVH_chmava.com:lsapi] Request body done!
2011-05-15 15:40:01.094 DEBUG [220.181.108.117:18730-0#APVH_chmava.com:lsapi] processNewReq() return 0.
2011-05-15 15:40:01.094 DEBUG [220.181.108.117:18730-0#APVH_chmava.com:lsapi] HttpExtConnector::cleanUp() ...
2011-05-15 15:40:01.101 DEBUG [220.181.108.117:18730-0#APVH_chmava.com:lsapi] abort request...
2011-05-15 15:40:01.101 DEBUG [220.181.108.117:18730-0#APVH_chmava.com:lsapi] [LSAPI] send abort packet!
2011-05-15 15:40:01.101 DEBUG [220.181.108.117:18730-0#APVH_chmava.com:lsapi] release ExtProcessor!
2011-05-15 15:40:01.101 DEBUG [idle] [ExtConn] close()
2011-05-15 15:40:01.101 DEBUG [uds://tmp/lshttpd/APVH_chmava.com_Suphp.sock] add recycled connection to connection pool!
2011-05-15 15:40:01.101 DEBUG [220.181.108.117:18730-0#APVH_chmava.com:lsapi] Close socket ...
2011-05-15 15:40:01.101 DEBUG [220.181.108.117:18730-0#APVH_chmava.com:lsapi] Available Connections: 1991
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 packet header 8 bytes
2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] process response header 391 bytes
2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] response header finished!
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] use CHUNKED encoding!
2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] Written to client: 4600
2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] Written to client: 4104
2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] writeRespBody() return 8192
2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] response buffer is empty, suspend HttpConn write!
2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] HttpIOLink::suspendWrite()...
2011-05-15 15:40:01.101 DEBUG [65.52.110.38:59742-0#APVH_chmava.com:lsapi] m_pHandler->onWrite() return 1
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()
 
Last edited:
#3
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
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
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:
#6
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
 

webizen

Well-Known Member
#7
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
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".
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:
Top