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.


  • 相关阅读:
    07-JSP
    06-ServletContext和ServletConfig
    05-请求转发和重定向Login
    04-session学习
    03-cookie学习
    02-servlet生命周期和doget()_dopost()方法
    01-request和respone学习
    05-jQuery案例
    04-jQuery的事件机制和动画效果
    03-jQuery操作元素
  • 原文地址:https://www.cnblogs.com/SingleCat/p/2249330.html
Copyright © 2011-2022 走看看