OpenVZ Forum


Home » General » Support » How does OpenVZ manage memory?
Re: How does OpenVZ manage memory? [message #42684 is a reply to message #40491] Wed, 11 May 2011 09:01 Go to previous message
mike is currently offline  mike
Messages: 7
Registered: September 2006
Location: Kiev, Ukraine
Junior Member

You might want to read up on mmap syscall and to google for "copy on write" approach; lwn.net articles well might be preferred in search results.

BTW one can use -o bind,ro with 2.6.32 so that getting root and compromising a binary in a container won't get all the rest compromised -- you might want to either bindmount off the "maintenance" VE which won't be accessible from network (except from your host or even by vzctl enter only), or prepare a chroot which isn't running as a VE altogether (it might be less convenient with Gentoo).


--
Michael Shigorin
OSDN.Org.UA / ALT Linux Team
 
Read Message
Read Message
Previous Topic: Debian Squeeze syslog-ng gives error: Error setting capabilities
Next Topic: mount problem
Goto Forum:
  


Current Time: Tue Sep 16 23:11:00 GMT 2025

Total time taken to generate the page: 1.12342 seconds