Won't start with too much memory on 32 bits

Ask questions about your setup or get help installing ZCS server (ZD section below).
rodrigoccurvo
Posts: 40
Joined: Fri Sep 12, 2014 9:55 pm

Won't start with too much memory on 32 bits

Postby rodrigoccurvo » Thu Feb 02, 2006 9:08 am

Hi guys.
I'm trying to install Zimbra in a machine with 8Gb RAM. I already had noticed that zimbra sets memory use for MySql and Java/Tomcat in percert to the total memory, 30 percent to Java/Tomcat and 40 percent to MySql. But only now I realized the error this could lead to.
Well, the thing is: 30% of 8Gb is 2.4 Gb and 40% of 8Gb is 3.2Gb. In a 32 bit system, one proccess can only have, at most, 2Gb of memory, because of addressing it with 32 bits.
So, what happened when I tried to install Zimbra with too much memory? Mysql and Tomcat simply didn't start. I tried to change the configs manually to 2Gb for each, but it seems that, once these servers didn't start (or at least MySql), installation didn't finish correctly, and I coudn't start them, even limiting the memory.
Any workaround for now?
Hope it can be fixed in the next releases and, if possible, on install let the user select the amount of memory to each server.
Regards,
Rodrigo


14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

Won't start with too much memory on 32 bits

Postby 14319KevinH » Thu Feb 02, 2006 11:23 am

Which kernal are you using:
kernel-smp can use >4GB by using PAE (3 level paging w/ indirect pointers at kernel level to higher mem)

kernel-hugemem uses 4/4 split: 4GB addrees space for system/kernel, 4GB address space per user process
There's at least one install I know of where they installed on 6GB ram machines. I guess we could put in some limitss so the math doesn't ever try to give more that 2GB to any process.
rodrigoccurvo
Posts: 40
Joined: Fri Sep 12, 2014 9:55 pm

Won't start with too much memory on 32 bits

Postby rodrigoccurvo » Thu Feb 02, 2006 11:42 am

It's kernel-smp 2.6.13-15. I have installed Suse 10 for 64 bits, but that should not be a problem with the 32 bits Zimbra installation.
17629anand
Zimbra Alumni
Zimbra Alumni
Posts: 273
Joined: Fri Sep 12, 2014 9:53 pm

Won't start with too much memory on 32 bits

Postby 17629anand » Thu Feb 02, 2006 12:03 pm


Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 5 guests