zoukankan      html  css  js  c++  java
  • 调整Tomcat上的参数提高性能[转]

    Webtop Performance Test w/ Tomcat(调整Tomcat上的参数提高性能)

    Login several users with one second between each login. After the 25th user, the users begin to experience poor performance, to the point where some users are receiving “Page cannot be displayed” errors and eventually the System catches up.

    If you are experiencing similar behavior during your performance testing with Webtop on Tomcat, one of the reason might be with maxProcessors parameter. This needs to be set to a higher value depending on the number of users you are using.

    Please note that this is NOT A DOCUMENTUM ISSUE. Please refer to Tomcat documentation if you need more information about Tomcat settings.

    In the server.xml file in the conf directory there are setting associated with the port that Tomcat uses – As an example lets use 80.

    port=”80″ minProcessors=”5″ maxProcessors=”1000″

    enableLookups=”true” redirectPort=”8443″

    acceptCount=”10″ debug=”0″ connectionTimeout=”20000″/>

    In this second example (see above) has 1000 processors and connectionTimeout of 20000 (or 20 seconds).

    After the configuration changes, you should no longer receive the “No connections available” error.

    Again, this is NOT a Documentum issue. Please refer to Tomcat documentation if you need more information about Tomcat settings.


  • 相关阅读:
    NYOJ 10 skiing DFS+DP
    51nod 1270 数组的最大代价
    HDU 4635 Strongly connected
    HDU 4612 Warm up
    POJ 3177 Redundant Paths
    HDU 1629 迷宫城堡
    uva 796
    uva 315
    POJ 3180 The Cow Prom
    POJ 1236 Network of Schools
  • 原文地址:https://www.cnblogs.com/SingleCat/p/2249330.html
Copyright © 2011-2022 走看看