Jump to content

Changes in Orientbell Zimbra for Performance issue on 28th June 2014

From TetraWiki


Change at Network/Kernel Level in /etc/sysctl.conf[edit]

net.ipv4.tcp_fin_timeout=15
net.ipv4.tcp_tw_reuse=1
net.ipv4.tcp_tw_recycle=1

Activate it via sysctl -p


Disable unwanted Services[edit]

chkconfig autofs off
service autofs stop
chkconfig netfs off
service netfs stop
chkconfig cups off
service cups stop
chkconfig nfslock off
service nfslock stop
chkconfig portmap off
service portmap stop
chkconfig rpcgssd off
service rpcgssd stop
chkconfig rpcidmapd off
service rpcidmapd stop


Zimbra Mail Box Tuning[edit]

zmlocalconfig -e mailboxd_java_heap_memory_percent=25
zmlocalconfig -e zimbra_require_interprocess_security=0
zmlocalconfig -e mailboxd_java_options="-server -Djava.awt.headless=true \
   -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:NewRatio=2 \
   -XX:PermSize=196m -XX:MaxPermSize=350m -XX:SoftRefLRUPolicyMSPerMB=1 \
   -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps \
   -XX:+PrintGCApplicationStoppedTime \
   -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/opt/zimbra/log \
   -XX:ErrorFile=/opt/zimbra/log/hs_err_pid%p.log"

Restart Zimbra .