OpenVZ Forum


Home » General » Support » How is the privvmpages limit reached?
Re: How is the privvmpages limit reached? [message #27340 is a reply to message #27101] Fri, 15 February 2008 09:15 Go to previous message
xemul is currently offline  xemul
Messages: 248
Registered: November 2005
Senior Member
Privvmpages accounting works like this:

There are two kinds of mappings
1. the ones that are backed by some file on disk, i.e. MAP_SHARED and !MAP_ANON
2. the ones, that will go to swap on memory shortage, i.e. MAP_PRIVATE or MAP_ANON

The privvmpages limits the total length of mappings of the 2nd type only within the ve. This is OK, since on memory shortage pages of the 1st type will go to disk in existing area (which is limited by vzquota Wink by the way)

So privvmpages limit can be exceeded easily.


http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: RAM and Swap misconfigured? :S
Next Topic: storing a whole VE on a NFS-share
Goto Forum:
  


Current Time: Sat Jul 12 09:36:44 GMT 2025

Total time taken to generate the page: 0.03007 seconds