Web server automatically restarted

Discussion in 'General' started by Alfa-Host, Apr 28, 2013.

  1. Alfa-Host

    Alfa-Host New Member

    Hi,

    I've received 20 "Web server automatically restarted" emails in past 24hr , in each email debug information is like this :

    [New Thread 26686]
    [New Thread 26691]
    [New Thread 26690]
    [Thread debugging using libthread_db enabled]
    Core was generated by `litespeed'.
    Program terminated with signal 11, Segmentation fault.
    #0 0x0000000000482395 in HttpContext::getSecExclude (this=0x46d5be0) at /home/gwang/release/httpd/httpd/http/httpcontext.h:618
    in /home/gwang/release/httpd/httpd/http/httpcontext.h
    #0 0x0000000000482395 in HttpContext::getSecExclude (this=0x46d5be0) at /home/gwang/release/httpd/httpd/http/httpcontext.h:618
    #1 0x0000000000480ef8 in HttpReq::getSecRemoveIdAndMatchRulesets (this=0x2422728, pList=0x20ec6c8, pSets=0x7fffaa43a860, iMax=100, phase=32) at /home/gwang/release/httpd/httpd/http/httpreq.cpp:4667
    #2 0x00000000004a177b in SecEngine::execute (this=0x20ec610, pRuleSets=0x0, pConn=0x2422680, phase=32, scanPost=0) at /home/gwang/release/httpd/httpd/http/secengine.cpp:1017
    #3 0x00000000004c0ad8 in HttpConnection::processModSecRules (this=0x2422680, phase=32) at /home/gwang/release/httpd/httpd/http/httpconnection.cpp:208
    #4 0x00000000004c0b8d in HttpConnection::nextRequest (this=0x2422680) at /home/gwang/release/httpd/httpd/http/httpconnection.cpp:224
    #5 0x00000000004c5a19 in HttpConnection::writeComplete (this=0x2422680) at /home/gwang/release/httpd/httpd/http/httpconnection.cpp:2212
    #6 0x00000000004c5af1 in HttpConnection::doWrite (this=0x2422680, aioSent=0) at /home/gwang/release/httpd/httpd/http/httpconnection.cpp:2234
    #7 0x00000000004c5c9b in HttpConnection::eek:nWriteEx (this=0x2422680) at /home/gwang/release/httpd/httpd/http/httpconnection.cpp:2292
    #8 0x000000000046cc41 in HttpIOLink::doWrite (this=0x2422680) at /home/gwang/release/httpd/httpd/http/httpiolink.h:162
    #9 0x000000000046b646 in HttpIOLink::eek:nWriteT (pThis=0x2422680) at /home/gwang/release/httpd/httpd/http/httpiolink.cpp:913
    #10 0x0000000000469e0f in HttpIOLink::handleEvents (this=0x2422680, evt=4) at /home/gwang/release/httpd/httpd/http/httpiolink.cpp:180
    #11 0x0000000000507703 in epoll::waitAndProcessEvents (this=0x211c480, iTimeoutMilliSec=100) at /home/gwang/release/httpd/httpd/edio/epoll.cpp:345
    #12 0x00000000004579d8 in EventDispatcher::run (this=0x20e9208) at /home/gwang/release/httpd/httpd/http/eventdispatcher.cpp:225
    #13 0x00000000004152df in HttpServerImpl::start (this=0x20e91e0) at /home/gwang/release/httpd/httpd/main/httpserver.cpp:492
    #14 0x000000000041852f in HttpServer::start (this=0x8b33d0) at /home/gwang/release/httpd/httpd/main/httpserver.cpp:1917
    #15 0x000000000040efbb in LshttpdMain::main (this=0x20e8e20, argc=1, argv=0x7fffaa43afa8) at /home/gwang/release/httpd/httpd/main/lshttpdmain.cpp:1840
    #16 0x000000000040a73f in main (argc=1, argv=0x7fffaa43afa8) at /home/gwang/release/httpd/httpd/main.cpp:124
    Last edited: Apr 28, 2013
  2. NiteWave

    NiteWave Administrator

    are you using the latest 4.2.2 ?

    check when you installed 4.2.2:
    #ls -l /usr/local/lsws/bin/lshttpd.4.2.2
  3. Alfa-Host

    Alfa-Host New Member

    -r-xr-xr-x. 1 root root 12367715 Apr 27 14:29 /usr/local/lsws/bin/lshttpd.4.2.2*
  4. webizen

    webizen New Member

    pls send download link to the core files to bug@ for investigation.
  5. Don Daniello

    Don Daniello New Member

    I also have the same problem.

    It helps to set:
    Enable Request Filtering: No
    Scan Request Body: No
    (both of them)

Share This Page