Hi all,
I've been following
this article to optimize JVM and MySQL.
First of all, my XServe spec is:
2x 2.26 GHz Quad-Core Intel Xeon
11 GB 1066 MHz DDR3 (the XServe shipped with 3 GB ram and we inserted 2 x 4 GB of RAM/each)
After reading the article, I've decided to set aside 25% of memory for JVM and 25% for MySQL.
Now, checking the default amount of memory for JVM using
zmlocalconfig mailboxd_java_heap_memory_percent | fmt mailboxd_java_heap_memory_percent = 13
If I set this value to 25, then after stop and start Zimbra, the mailbox is not working.
mailbox Stopped
zmmailboxdctl is not running.
Similarly, if I set the recommended values for MySQL inside /opt/zimbra/conf/my.cnf, then I got:
mysql.server is not running.
Lastly, with regard to innodb's cache size of MySQL, the article mentions the following
ZCS installer sets this to 40% of RAM in the system
But the value set for my system is only
innodb_buffer_pool_size = 885837004, which is only less than 1 GB. I then conclude that Zimbra only sees that my system has <= 1 x 10/4 (~ 2.5 GB) while it actually has 11 GB.
Thanks in advance for your help!