Layer7 API Management

 View Only
  • 1.  How to increase LAC app server threads > 280?

    Posted Oct 21, 2020 11:37 AM
    We are load testing LAC and trying to set it up with a configuration of 16GB JVM heap size and max DB connection = 200.
    However, we see the tomcat thread count never seems to go above 280.
    Can we increase the thread count?
    where do we configure LAC tomcat maxThread?
    LAC does not seem to read it from tomcat server.xml since its commented out.
    So is there a way for LAC to go over 280 threads? 


  • 2.  RE: How to increase LAC app server threads > 280?

    Broadcom Employee
    Posted Oct 23, 2020 11:12 AM
    Patrick;

    I would like to understand why you need this many threads? LAC is a WAR file that can run in many form factors (Docker, Jetty, Tomcat, etc).  I would recommend you upgrade to 5.4.0.15 - this has better thread management for Java Script execution.  I would also suggest using a load balancer in front of multiple LAC instances if you need a higher response volume. If you are not using any timers you should disable this feature (add to the java startup -DLAC_SCHEDULING_DISABLE=true) since this is using many background threads in prior releases (fixed in 5.4).  


    ------------------------------
    Principal Engineer
    Broadcom
    ------------------------------