Following has benifited me: 1) -Xms1024M -Xmx2048M -XX:MaxPermSize=1024m (Increased the PermSize from 512 to 1024) 2) Increased innodb_lock_wait_timeout from 50 sec to 300 sec in mysql 3) Added following in mysql a) table_cache=1000 b) table_definition_cache=1000 c) query_cache_type=1 d) query-cache-size = 20M e) query_cache_limit=20M f) open_files_limit=4000 4) Modified framework/base/config/cache.properties to use softreferences 5) Modified ofbiz-container.xml connector at 8080 to use GZip for js and css. 6) Increased the number of threads to 400 for tomcat container 7) Decreased the connection time out to 3 seconds.
Our box has 2 CPU and 8 GB or RAM . On Wed, May 2, 2012 at 10:23 PM, Sanjeev Gupta <subscr...@sanjeevg.com>wrote: > Also try configuring Apache HTTP server as a fronted to Ofbiz server. > Although it will add an additional layer in the architecture, it will > handle > all static and cached content rendering to browser and improve your app > server's performance. > > That said, please do to keep in mind that a Java bases server can't be > tuned > to perform like the LAMP stack. both have their own merits and demerits, > but > when it come to performance in small deployments, Java stack can't match > the > LAMP stack. > > ----- > Rgds > Sanjeev > www.sanjeevg.com > @sanjeevgcom > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/Performance-of-Ofbiz-tp4586418p4603804.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > > -- > Thanks, > Deepak Agarwal, > > Paxcel Technologies Pvt Ltd. > Hartron Complex, Sector 18, Gurgaon, India. > E-Mail: deepak.agar...@paxcel.net > Mobile: +91 9910322604 > >