From: Demian K. <dem...@vi...> - 2013-03-29 21:00:21
|
Is it possible that this has something to do with Jetty? I wonder if it would be worth trying a different Java container to see if that makes a difference (either Tomcat or a newer Jetty version -- you might be able to recycle some of Eoghan's work from the solr4x branch of VuFind 2.0). - Demian ________________________________ From: Tomlin, Camille [To...@fr...] Sent: Thursday, March 28, 2013 1:46 PM To: Mosior, Benjamin; vuf...@li... Subject: Re: [VuFind-General] Need Java Tuning Help on Windows box Thanks Benjamin, I edited the settings and ran a couple jmeter load tests and I get the same results (500 errors with moderate number of simultaneous users). I’m unsure where to check if the java settings were actually updated. The JAVA_OPTIONS were the same in the environment variables and the run_vufind.bat file, but it feels like no matter how much more memory I allocate it’s still giving me the 500 error (i.e. java.net.SocketException: Connection reset) with only 200 users. I have read the performance documentation numerous times and I understand the concepts but for some reason the tuning has no effect. Could there be another cause to these types of errors? - Camille Web Developer, The Free Library of Philadelphia 215-686-5412 From: Mosior, Benjamin [mailto:BEM...@sh...] Sent: Wednesday, March 27, 2013 1:17 PM To: Tomlin, Camille; vuf...@li... Subject: RE: Need Java Tuning Help on Windows box Camille, I haven't looked much at the windows side of things (so everyone else, please feel free to step in and correct me), but it looks like you need to find the right place to set the JAVA_OPTIONS environment variable. It looks like you have two options: Set JAVA_OPTIONS environment variable at the system level * Setting a system-wide environment variable: http://superuser.com/questions/178008/windows-server-2008-r2-environment-variables Set JAVA_OPTIONS in the run_vufind.bat script (probably not best practice, the above method is likely preferable) * Look for the first line that has: set JAVA_OPTIONS=-server... In either case, you can then follow the performance documentation here: http://vufind.org/wiki/performance Hope that helps. Benjamin Mosior ________________________________ From: Tomlin, Camille [To...@fr...] Sent: Wednesday, March 27, 2013 10:50 To: vuf...@li...<mailto:vuf...@li...> Subject: [VuFind-General] Need Java Tuning Help on Windows box We are running VuFind 1.1 on a Windows machine with Apache 2.2.17 and 8GB of RAM. We are having a difficult time tuning Java. Could someone explicitly explain which files (and their locations) need to be updated to increase memory to Java in this environment. |