HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   OpenVZ container config for ISP3 (http://www.howtoforge.com/forums/showthread.php?t=51566)

theWeird 22nd February 2011 11:08

OpenVZ container config for ISP3
 
Hey there,
at the moment I try to install ISP3 with debian squeeze (thanks for the great tutorial falko) on an OpenVZ container.
This vz-guest shall become my main server for my customers.
But just while installing ISPC3 I get stuck with the container configuration of my OpenVZ guest.
Has anyone succeded in running an ISPC3 Server on an OpenVZ guest and could share his container configuration as a kind of 'optimal settings suggestion'?

till 22nd February 2011 11:21

ISPConfig 3 runs fine in OpenVZ, I use it for all my servers.

There is no such thing as a perfect openvz settings as they depend on the load of your server etc. Run the command:

cat /proc/user_beancounters

to see which Limit got hit and increase this Limit. Then restart the VM.

As a starting point, this settings should work:

Code:

KMEMSIZE="21055923:21377049"
LOCKEDPAGES="256:256"
PRIVVMPAGES="565536:569632"
SHMPAGES="21504:21504"
NUMPROC="240:240"
PHYSPAGES="0:2147483647"
VMGUARPAGES="33792:2147483647"
OOMGUARPAGES="26112:2147483647"
NUMTCPSOCK="360:360"
NUMFLOCK="188:206"
NUMPTY="16:16"
NUMSIGINFO="256:256"
TCPSNDBUF="1720320:2703360"
TCPRCVBUF="1720320:2703360"
OTHERSOCKBUF="1126080:2097152"
DGRAMRCVBUF="262144:262144"
NUMOTHERSOCK="480:480"
DCACHESIZE="3409920:3624960"
NUMFILE="9312:9312"
AVNUMPROC="180:180"
NUMIPTENT="128:128"



All times are GMT +2. The time now is 17:22.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.