OpenVZ Forum


Home » General » Support » configuration needed for P4 2GHz 1GB RAM and 2GB swap
Configuration for Zimbra [message #16092 is a reply to message #16088] Tue, 21 August 2007 02:11 Go to previous messageGo to previous message
dowdle is currently offline  dowdle
Messages: 261
Registered: December 2005
Location: Bozeman, Montana
Senior Member
There is a Zimbra howto in the OpenVZ wiki that you might want to check out. If memory serves me, it doesn't say too much though.

Basically I installed CentOS 4 into a VPS. Removed apache and turned off sendmail (chkconfig sendmail off).

I started out with about 8x the values of the basic config. The install went pretty well... and I just monitored the machine tuning up the values whenever I saw a failure.

After a while I learned of vzsplit and used it to chop the machine I was using into 8 machines... and oddly enough, the values provided by vzsplit were well over the values I had set by hand... but in an effort to improve performance, I upped them again. There were only a few parameters that I had set that were larger than what vzsplit provided... but the values below should work... but your mileage may vary.

Quote:

AVNUMPROC="320:320"
NUMPROC="1000:1000"
NUMTCPSOCK="1000:1000"
NUMOTHERSOCK="1000:1000"
VMGUARPAGES="310487:2147483647"
KMEMSIZE="22820454:25102499"
TCPSNDBUF="3510818:7606818"
TCPRCVBUF="3510818:7606818"
OTHERSOCKBUF="1755409:5851409"
DGRAMRCVBUF="1755409:1755409"
OOMGUARPAGES="310487:2147483647"
LOCKEDPAGES="1114:1114"
SHMPAGES="31048:31048"
PRIVVMPAGES="1572864:1714400"
NUMFILE="8896:8896"
NUMFLOCK="889:977"
NUMPTY="100:100"
NUMSIGINFO="1024:1024"
DCACHESIZE="4974850:5124096"
PHYSPAGES="0:2147483647"
NUMIPTENT="200:200"


You are probably better off using the method I used rather than the specific values I have set above... as your hardware is going to be different from mine. The critical parameters are memory related... and zimbra usually has about 320 processes running (most of which are Java threads). Everything else is really overtuned... but in a way that doesn't hurt my other VPSes... since I split it up evenly with vzsplit.


--
TYL, Scott Dowdle
Belgrade, Montana, USA
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Guest pinging host
Next Topic: *SOLVED* Network access problem on OpenVZ VEs
Goto Forum:
  


Current Time: Sun Aug 11 07:29:40 GMT 2024

Total time taken to generate the page: 0.02959 seconds