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.


  • 相关阅读:
    21.网络文件共享服务
    20.LANMP架构
    18.自动运维工具ansible
    17.MySQL数据库
    16.DNS服务
    15.系统自动部署
    14.加密技术和安全
    13.系统启动和服务管理
    12.进程管理和计划任务
    11.网络管理和配置
  • 原文地址:https://www.cnblogs.com/SingleCat/p/2249330.html
Copyright © 2011-2022 走看看