OpenVZ Forum


Home » General » Support » Question about memory settings
Question about memory settings [message #10595] Fri, 23 February 2007 11:13 Go to previous message
sledge_hammer
Messages: 2
Registered: February 2007
Junior Member
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
 
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* Unable to start init, probably incorrect template.
Next Topic: *SOLVED* Which kernel for Dual processor and 4-6gig RAM on server?
Goto Forum:
  


Current Time: Tue Jul 22 18:46:32 GMT 2025

Total time taken to generate the page: 0.17212 seconds