You may request notification for LAMS settings for performance/scalability. |
1:
LAMS settings for performance/scalability
By: Jun-Dir Liew
|
11/17/05 08:26 PM | |||
In this post I'll outline some of the server settings that you can change to tweak the performance of a LAMS server, depending on the capacity of your hardware. Feel free to add, comment, or criticise in this thread...
See this page: http://www.lamsinternational.com/documentation/advanced_p.php?g=configure for where to configure these settings. Don't set Java's maximum memory size to more than 50% of your machine's physical memory. Also keep in mind the amount of memory MySQL will need. The amount you can raise the Tomcat settings below will be constrained by this setting. As a guide, you can set maxProcessors to 100 for each 256MB memory given to Java in the above setting. Tomcat's ManagedConnectionPool of database connections max_connections is MySQL's setting, the other two are Tomcat's - in general, keep maxSize the same as max_connections. If LAMS is the only application running on MySQL, you can set these to the same as maxProcessors above. Posted by Jun-Dir Liew |
Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum