SSL Sessions Quit Working non ssl works

Discussion in 'General' started by FRCorey, Feb 2, 2012.

  1. FRCorey

    FRCorey New Member

    I'm trying out demo of litespeed and after installing it I've noticed that after about a few minutes SSL sessions https quit working. http requests continue working just fine. Here's the error_log

    Code:
    root@ns1 [/usr/local/apache/logs]# tail -f LS_error_log
    2012-02-02 10:42:31.720 [INFO] Stop listener 204.45.250.76:2080.
    2012-02-02 10:42:31.720 [INFO] Stop listener 204.45.250.76:2443.
    2012-02-02 10:42:31.720 [INFO] Stop listener *:7080.
    2012-02-02 10:42:31.720 [NOTICE] [child: 359079] Successfully change current user to nobody
    2012-02-02 10:42:31.721 [NOTICE] [Child: 359079] Core dump is enabled.
    2012-02-02 10:42:31.721 [NOTICE] [Child: 359079] Setup swapping space...
    2012-02-02 10:42:31.721 [NOTICE] [Child: 359079] LiteSpeed/4.1.10 Enterprise starts successfully!
    2012-02-02 10:42:32.202 [NOTICE] [AutoUpdate] Checking for new releases..., pid=359084
    2012-02-02 10:42:32.221 [NOTICE] Start to clean up cache directory, pid=359085
    2012-02-02 10:42:32.377 [INFO] [AutoUpdate] No new update.
    2012-02-02 10:43:02.088 [INFO] [HTAccess] Updating configuration from [/home/fradmin/public_html/.htaccess]
    2012-02-02 10:46:45.388 [INFO] Remove pid: 359174, exitcode: 0
    2012-02-02 10:46:51.089 [NOTICE] [APVH_fradmin_Suphp:] stop worker processes
    2012-02-02 10:48:11.115 [INFO] Remove pid: 359151, exitcode: 0
    2012-02-02 10:48:30.606 [INFO] [HTAccess] Updating configuration from [/home/fradmin/public_html/.htaccess]
    2012-02-02 10:48:40.626 [INFO] Remove pid: 360488, exitcode: 0
    2012-02-02 10:48:41.030 [NOTICE] [APVH_fradmin_Suphp:] stop worker processes

    I'm not sure what's going on, restarting LSWS does not fix the issue, it will clear after a few minutes on it's own, but then starts up again.

    telnet localhost 2443 fails as well when it's happening. Just times out.
  2. FRCorey

    FRCorey New Member

    Turned up the debug level to low.

    Code:
    2012-02-02 10:56:49.295 [DEBUG] [166.250.11.210:5983-0#APVH_204.45.250.254_frontrangehosting.com:lsapi] Available Connections: 2000, concurrent conn: 0
    2012-02-02 10:56:49.295 [DEBUG] [166.250.11.210:5983-0#APVH_204.45.250.254_frontrangehosting.com:lsapi] Close socket ...
    2012-02-02 10:56:49.295 [DEBUG] [idle] ExtConn::onEventDone(), fd: 22, state: 2, event: 1, revents: 1.
    2012-02-02 10:56:51.209 [DEBUG] [204.45.250.254:2443] HttpListener::handleEvents(), fd: 15, event: 1, revents: 1.
    2012-02-02 10:56:51.209 [DEBUG] [166.250.11.210:5981-0] concurrent conn: 1
    2012-02-02 10:56:51.209 [DEBUG] [166.250.11.210:5981-0] [SSL] SSLAgain()!
    2012-02-02 10:56:51.365 [DEBUG] [166.250.11.210:5981-0] [SSL] SSLAgain()!
    2012-02-02 10:56:51.365 [DEBUG] [166.250.11.210:5981-0] [SSL] accepted!
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0] HttpConnection::onReadEx(), state: 1!
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0] readToHeaderBuf().
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0] read 1 bytes to header buffer
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0] processHeader() return 1, header state: 0.
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0] readToHeaderBuf() return 0.
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0] HttpConnection::onReadEx(), state: 1!
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0] readToHeaderBuf().
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0] read 960 bytes to header buffer
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0] processHeader() return 0, header state: 3.
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0] readToHeaderBuf() return 0.
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0#APVH_204.45.250.254_frontrangehosting.com] Find handler [APVH_fradmin_Suphp:] for [.php]
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0#APVH_204.45.250.254_frontrangehosting.com] processContextPath() return 0
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0#APVH_204.45.250.254_frontrangehosting.com] run lsapi processor.
    2012-02-02 10:56:51.377 [DEBUG] [uds://tmp/lshttpd/APVH_frontrangehosting.com_Suphp.sock] connection available!
    2012-02-02 10:56:51.377 [DEBUG] [uds://tmp/lshttpd/APVH_frontrangehosting.com_Suphp.sock] request [166.250.11.210:5981-0#APVH_204.45.250.254_frontrangehosting.com:lsapi] is assigned with connection!
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0#APVH_204.45.250.254_frontrangehosting.com:lsapi] ExtConn::onEventDone(), fd: 22, state: 2, event: -1, revents: 5.
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0#APVH_204.45.250.254_frontrangehosting.com:lsapi] processNewReq() return 0.
    2012-02-02 10:56:51.377 [DEBUG] EdStream::handleEvent(), fd: 22, event: 1
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0#APVH_204.45.250.254_frontrangehosting.com:lsapi] ExtConn::onRead(), state: 2
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0#APVH_204.45.250.254_frontrangehosting.com:lsapi] LsapiConn::doRead()
    2012-02-02 10:56:51.377 [DEBUG] EdStream::handleEvent(), fd: 22, event: 1
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0#APVH_204.45.250.254_frontrangehosting.com:lsapi] ExtConn::onRead(), state: 2
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0#APVH_204.45.250.254_frontrangehosting.com:lsapi] LsapiConn::doRead()
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0#APVH_204.45.250.254_frontrangehosting.com:lsapi] GZIP response body!
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0#APVH_204.45.250.254_frontrangehosting.com:lsapi] [EXT] EndResponse( endCode=0, protocolStatus=0 )
    2012-02-02 10:56:51.377 [DEBUG] [uds://tmp/lshttpd/APVH_frontrangehosting.com_Suphp.sock] add recycled connection to connection pool!
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0#APVH_204.45.250.254_frontrangehosting.com:lsapi] HttpConnection::flush()!
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0#APVH_204.45.250.254_frontrangehosting.com:lsapi] HttpIOLink::flushSSL()...
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0#APVH_204.45.250.254_frontrangehosting.com:lsapi] HttpConnection::nextRequest()!
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0#APVH_204.45.250.254_frontrangehosting.com:lsapi] Non-KeepAlive, CLOSING!
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0#APVH_204.45.250.254_frontrangehosting.com:lsapi] Shutting down SSL ...
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0#APVH_204.45.250.254_frontrangehosting.com:lsapi] Shutting down out-bound socket ...
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0#APVH_204.45.250.254_frontrangehosting.com:lsapi] Available Connections: 2000, concurrent conn: 0
    2012-02-02 10:56:51.377 [DEBUG] [166.250.11.210:5981-0#APVH_204.45.250.254_frontrangehosting.com:lsapi] Close socket ...
    2012-02-02 10:56:51.377 [DEBUG] [idle] ExtConn::onEventDone(), fd: 22, state: 2, event: 1, revents: 1.
    2012-02-02 10:57:01.382 [DEBUG] EdStream::handleEvent(), fd: 22, event: 17
    2012-02-02 10:57:01.382 [DEBUG] [idle] ExtConn::onRead(), state: 2
    2012-02-02 10:57:01.382 [DEBUG] [idle] LsapiConn::doRead()
    2012-02-02 10:57:01.382 [DEBUG] [idle] [ExtConn] close()
    2012-02-02 10:57:01.382 [INFO] Remove pid: 360916, exitcode: 0
    2012-02-02 10:57:01.382 [INFO] Pid: 360916 associated with [APVH_fradmin_Suphp:]
    2012-02-02 10:57:01.382 [INFO] ProcInfo Pid: 360916, socket: /tmp/lshttpd/APVH_frontrangehosting.com_Suphp.sock
    2012-02-02 10:57:01.382 [INFO] [APVH_fradmin_Suphp:] pid list size: 0, pid stop list size: 0
    2012-02-02 10:57:09.082 [DEBUG] [APVH_fradmin_Suphp:] Max idle time reached, stop external application.
    2012-02-02 10:57:09.082 [NOTICE] [APVH_fradmin_Suphp:] stop worker processes
  3. webizen

    webizen New Member

    you may strace the litespeed process and see what's going on.
  4. FRCorey

    FRCorey New Member

    strace -p PIDOFLSHTTPD -f -o lshttpd.txt


    That the command i need to get everything?
  5. webizen

    webizen New Member

    should be 'strace -p PIDOFLSHTTPD -tT -ff -o lshttpd.txt'
  6. FRCorey

    FRCorey New Member

Share This Page