Hello,
I am running a testserver (one external IP) at a french server.
My current settings are: 256MB RAM, 768MB SWAP.
My intentions are to install 3 VEs,
1. Webserver
2. SQL
3. Mail (Postfix)
I use these memory settings:
1st VE
vzctl set 100 --privvmpages 240M:245M --save
vzctl set 100 --vmguarpages 96M:2147483647 --save
vzctl set 100 --oomguarpages 240M:2147483647 --save
2nd VE
vzctl set 101 --privvmpages 240M:245M --save
vzctl set 101 --vmguarpages 64M:2147483647 --save
vzctl set 101 --oomguarpages 240M:2147483647 --save
finally 3rd VE
vzctl set 102 --privvmpages 240M:245M --save
vzctl set 102 --vmguarpages 64M:2147483647 --save
vzctl set 102 --oomguarpages 240M:2147483647 --save
OS for node and VEs: Debian Etch
I experienced some "can“t allocate enough memory" error messages during Apache2 installation by apt-get. I try to compile Apache2 manually incl. php5, it works fine without any errors in user_beancounters.
Lighttpd is ok as well (I prefer Lighttpd due low memory).
My question to you all is, are these memory settings above ok or do you have recommendations regarding these settings?
Hints and comments about are welcome!
TIA
Sledge_Hammer