Cheap server hickups on yulaframework.com
We are currently hosting the yula web-application framework on a low-budget vps. While it costs near to nothing – the RAM allocation isn´t really a good fit for a Java-Webapp. It´s 256 Mb with 512 Burst *cough*. As a result tomcat was breaking down because the JVM hogs more memory than the machine can allocate.
Unfortunately GoDaddy isn´t able to shift more (virtual) memory to this machine. While we are with setting up our new company redTrac, I was trying to figure out a quick way to increase the stability of the system. That was particular tricky as I have been successfully avoiding Linux for the past years, running happily on .NET and Windows. Well, times change and I like new challenges .

What I did was SSH into the VPS and edit tomcat´s startup.sh by adding 2 lines of code right at the top of it:
JAVA_OPTS=”-Xms64m -Xmx512m”
export JAVA_OPTS
We´ll see for how long this will last but at least I can say that it runs more stable than before.
No comments yet
Leave a reply