2 Replies Latest reply on Jul 12, 2012 10:54 AM by munimanjunath

    need more info about maxThreads property

    joe_boy12

      Hello there

       

      I am running into a situation where I see lots of following WARNINGS and ERRORS - I have <property name="maxThreads" value="25"/> set for a service which is invmScope="GLOBAL" and <actions mep="RequestResponse"> - the only listener is "http-gateway" - I have timeout set to 10 sec - <property name="synchronousTimeout" value="10000" />

       

      There are many users say 500 hitting concurrently this service - the avg response time is 3 seconds but not all users get response most of them see following error - any information how maxThreads property works would be great - the name sounds pretty self explainatory but want to understand more when it comes pool of threads for this service and overall threads available.

       

      2012-06-21 21:32:00,331 INFO  [org.jboss.soa.esb.client.ServiceInvoker] (ajp-10.17.74.197-10501-7) Unresponsive EPR: InVMEpr [ PortReference < <wsa:Address invm://496e76656e746f7279242424242424242424242424476c6f62616c41545053657276696365/false?false#10000/>, <wsa:ReferenceProperties jbossesb:passByValue : false/> > ] for message: header: [  ]

       

      2012-06-21 21:32:00,333 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/order].[orderinfo--channel]] (ajp-10.17.74.197-10501-7) Servlet.service() for servlet orderinfo--channel threw exception
      org.jboss.soa.esb.listeners.message.ResponseTimeoutException: No response received for service [Order:OrderInfoService].
      at org.jboss.soa.esb.client.ServiceInvoker.post(ServiceInvoker.java:427)
      at org.jboss.soa.esb.client.ServiceInvoker.deliverSync(ServiceInvoker.java:219)
      at org.jboss.soa.esb.listeners.gateway.http.HttpGatewayServlet.processServiceRequest(HttpGatewayServlet.java:230)
      at org.jboss.soa.esb.listeners.gateway.http.HttpGatewayServlet.service(HttpGatewayServlet.java:194)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

        • 1. Re: need more info about maxThreads property
          joe_boy12

          Version JBoss SOA-P 5.1

           

          there is no MessagePersistance calls in this service - the SystemPrintln action (1st action in action chain) doesnt even get reached in such case.

          • 2. Re: need more info about maxThreads property
            munimanjunath

            You configured maxthreads to be 25  and 500 users  hit concurrently right ?   The proxy will allow maximum 25 threads and all other 475 are waiting to get the free thread once the first set completed processing server will picking waiting requests  for processing.  If the  waiting requests elapses 10 seconds then server will send 500 response back to the client.