Java VM RAM Problem on vServer

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

gerbi

Java VM RAM Problem on vServer

Postby gerbi » Thu Feb 28, 2008 7:47 am

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

baumschule

Postby baumschule » Fri Mar 07, 2008 8:03 pm

hi

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

i have found no solution until today ... sorry

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Mon Mar 10, 2008 4:12 am

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).


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 3 guests

cron