In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Adjust the maximum memory used by JVM
1. Windows version
The following assumption is that the server path you installed is e:\ turbomail. If it is another path, you can modify it accordingly.
1) Uninstall the original WebMail service.
Enter the E:\ turbomail\ web\ bin directory, execute E:\ turbomail\ web\ bin > turbomail_Web.exe-uninstall turbomail_Web (Tomcat5) and then prompt The turbomail_Web (Tomcat5) service was successfully uninstalled. Indicates that the uninstall was successful.
2) modify the installTomcat_x.bat file in the same directory, find-Xms125M-Xmx512M, and change it to the memory size you want to set.
3) reinstall the WebMail service.
Execute the following naming, where e:\ turbomail\ jdk is the jdk directory and e:\ turbomail\ web is the tomcat server directory E:\ turbomail\ web\ bin > installTomcat_x.bat e:\ turbomail\ jdk e:\ turbomail\ web, you will be prompted:
Indicates that the new WebMail service was installed successfully. The additional items are: HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ turbomail_Web (Tomcat5).
2. Unix/Linux version
Open the web/bin/catalina.sh file and add the following line JAVA_OPTS= "- Xmx512m" under the comment line (with "#"), where the specific amount of memory can be determined according to the specific situation of the system.
Adjust tomcat parameters
Open the file web/conf/server.xml to adjust the following parameters:
1. Prohibit DNS lookup
Set the Connector/enableLookups parameter to false, for example:
two。 Adjust the maximum number of threads
Adjust the Connnector/maxThreads parameter to an appropriate value. Generally, this value is 100 to 200 higher than the maximum number of simultaneous visits of the server. For example:
3. Prohibit automatic deployment
Set the autoDeploy parameter of Connector/Engin/Host to false, for example:
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.