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.


  • 相关阅读:
    GDB 用法
    C编程规范
    PHP面向对象
    cron定时任务
    Apatche配置基础
    正则表达式笔记
    PHP在windows下命令行方式
    面试题
    struts与ajax的关系
    ORACLE DUAL表详解
  • 原文地址:https://www.cnblogs.com/SingleCat/p/2249330.html
Copyright © 2011-2022 走看看