1 Reply Latest reply on Sep 30, 2005 2:40 PM by Brad

    Keep alive http thread for a long time

    Brad Newbie

      Why some threads keep alive for a long time even thought the configuration is set connectionTimeout="60000" maxKeepAliveRequests="1".
      This causes the maximum threads are reached and then JBoss is very slow.

      I captured Tomcat Status in JBoss 3.2.7.

      http-0.0.0.0-8788
      Max threads: 300 Min spare threads: 25 Max spare threads: 75 Current thread count: 25 Current thread busy: 3
      Max processing time: 2360984 ms Processing time: 21040 s Request count: 998 Error count: 104 Bytes received: 0.03 MB Bytes sent: 150.43 MB

      Stage Time B Sent B Recv Client VHost Request
      S 0 ms 0 KB 0 KB 127.0.0.1 =================== GET /status HTTP/1.1
      R ? ? ? ? ? ?
      R ? ? ? ? ? ?
      R ? ? ? ? ? ?
      R ? ? ? ? ? ?
      S 339628625 ms 61 KB 0 KB xxx.xxx.xxx.xxx ====================== POST /company-name/control/weekly?profileName=Engineering HTTP/1.1


      Here is my configuration in jboss-3.2.7\server\aProject\deploy\jbossweb-tomcat50.sar\server.xml


        • 1. Re: Keep alive http thread for a long time
          Brad Newbie

          Connector port="8788" address="${jboss.bind.address}"
          maxThreads="300" minSpareThreads="25" maxSpareThreads="75"
          enableLookups="true" redirectPort="8443" acceptCount="100"
          connectionTimeout="60000" disableUploadTimeout="true" maxKeepAliveRequests="1"
          proxyName="availability.cingular.net" proxyPort="8080"