调整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.
轉載于:https://www.cnblogs.com/SingleCat/archive/2011/11/15/2249330.html
總結
以上是生活随笔為你收集整理的调整Tomcat上的参数提高性能[转]的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 北京环球影城门票优惠政策
- 下一篇: 母婴店加盟需要多少钱啊?