![]() I am trying to install zimbra server on a low spec virtual machine running ubuntu 10.04. I do meet the requirements as documented (1 GB RAM/5 GB free disk space). I got the virtual machine specifically for this purpose, so can install anything that helps to run zimbra. The error I am getting is this: zimbra@cloud:~$ bin/zmcontrol start Could not create the Java virtual machine. I am pretty sure it is something to do with not having enough memory for the java virtual machine - but I don't know how to reduce the requirement, or how to free up memory on the system. Has anyone got zimbra to work on 1GB RAM? How can I do this? Edit: more details. Limit required memory to 32 MB and java works billy@cloud:~$ java -Xmx32m -version java version '1.6.0_20' OpenJDK Runtime Environment (IcedTea6 1.9.10) (6b20-1.9.10-0ubuntu1~10.04.2) OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode) Limit required memory to 256 MB and java does not work billy@cloud:~$ java -Xmx256m -version Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine. Seems the crux of the issue is that OpenVZ reports the physical machine's memory to Java, when it would be more appropriate to report the virtual machine's memory allocation. ![]() The vSphere Client reads the OVF template and auto-configures certain virtual machine settings as well. In VMware's Virtual. [Zimbra Blog] Zimbra. Zimbra Virtual MachineThis leads to the Java Virtual Machines requesting more memory than is available on the virtual machine. Examining the beancounters allows you to identify this issue. In my case, I was failing on the privvmpages. My limit is 262144 (4k pages) which is approximately equal to 1GB. The kmemsize is reported as which is approximately equal to 2GB. Billy@cloud:~$ sudo cat /proc/user_beancounters Version: 2.5 uid resource held maxheld barrier limit failcnt 325: kmemsize 63666646 0 lockedpages 0 1011 999 0 privvmpages 177 244 100797 shmpages 658 1972 172 0 dummy 0 0 0 0 0 I have not fully solved the issue yet, as I need to do further memory related tweaks to zimbra - but I have identified that this is the cause of my problem, and that the little tweaking I have done has allowed me to progress with my installation (although I do still run out of memory a little further down the line still). I went about tweaking memory along the lines of this: zmlocalconfig -e mailboxd_java_heap_memory_percent=14 zmlocalconfig -e mailboxd_java_heap_new_size_percent=9 and this zmlocalconfig -e mysql_table_cache=250 And to get zimbra to even run the zmlocalconfig, I removed zimbra from /etc/init.d/ and just ran it manually after funning the config commands. Hope this is helpful to someone else. Fresh is the sixth album by American funk/soul/rock band Sly and the Family Stone, released by Epic/CBS Records on June 30, 1973. Written and produced by Sly Stone. The doors.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |