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 []
Sent: Thursday, March 28, 2013 1:46 PM
To: Mosior, Benjamin;
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. 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



From: Mosior, Benjamin []
Sent: Wednesday, March 27, 2013 1:17 PM
To: Tomlin, Camille;
Subject: RE: Need Java Tuning Help on Windows box




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

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:


Hope that helps.


Benjamin Mosior

From: Tomlin, Camille []
Sent: Wednesday, March 27, 2013 10:50
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.