Set a barrier and limits for the new Container
Set a barrier and limit for unswappable kernel memory, private (or potentially private) memory, number of files opened by all Container processes, disk space and the total number of disk inodes (files, directories, symbolic links) a Container can allocate
Save the barrier/limit values to the Container configuration file.
# vzctl set 444 –save –kmemsize 24299200:26429120 –privvmpages 362144:392912 –numfile
12000:12000 –diskspace 5117880:5242880 –diskinodes 350000:370000
12000:12000 –diskspace 5117880:5242880 –diskinodes 350000:370000
Enable working Power Panel on the vzpp port with the “–offline_management yes –offline_service vzpp” options.
# vzctl set 444 –save –offline_management yes –offline_service vzpp
Leave a Reply
You must be logged in to post a comment.