Page 1 of 1

Java VM RAM Problem on vServer

Posted: Thu Feb 28, 2008 7:47 am
by gerbi
Hello,

I installed the Scalix Server in a VMware on my local machine with a CentOS5 image, limited to ~300 and everything worked great.
I thus assumed I would have no trouble running Scalix on my vServer with guaranteed 384MB RAM.

Unfortunately, it is not that easy… Apparently when scalix-tomcat starts, the JAVA VM tries to reserve a LOT of memory (my tech support told me I could be more than 700MB) but as the vServer does not have any swap file the memory limitation kicks in and the Java VM quits.
The Xmem Parameters seem to have no affect while creating the VM…
Used RAM with everything running except the Tomcat Server is ~128MB, so there should be enough RAM left during normal operation.

As I see it, there are three ways to solve this:
1.) Is there any way to limit the Java VM during initialisation? If so, that would be the best solution
2.) As mentioned, I have a working Scalix Installation on my local machine. Could I somehow reconfigure that Tomcat Server to connect to my vServer? I don’t really need the webmail interface, but the SAC Configuration would be nice.
3.) Is there any way to configure Scalix from the CLI? This would obviously be not as comfortable, but I could live with it.

Any help and ideas are greatly appreciated.
Thanks in advance,
gerbi

Posted: Fri Mar 07, 2008 8:03 pm
by baumschule
hi

i have the same problem, my vserver hast 512mb ram guaranteed.

i have found no solution until today ... sorry

Posted: Mon Mar 10, 2008 4:12 am
by Valerion
The best I can offer on the Java side is to check /etc/opt/scalix-tomcat/scalix-tomcat.conf, though if you tune the values too low it won't start properly.

However, you can fully control Scalix from the command line, SAC actually uses the command-line utilites in the background. A summary of all the commands is available in the Administration Guide (p. 230 in my copy).