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?
Web Developer, The Free Library of Philadelphia
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)
In either case, you can then follow the performance documentation here: http://vufind.org/wiki/performance
Hope that helps.
From: Tomlin, Camille [TomlinC@freelibrary.org]
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.