Hi, just tried to figure out a reasonable memory rlimit configuration for our vservers I had a look at vserver wiki. It seems that there is an inconsistency:
http://linux-vserver.org/Memory_Limits -> The Resident Set Size (rss) is the amount of virtual memory (RAM + swap) that the context is allowed to use; http://oldwiki.linux-vserver.org/Memory+Allocation -> RSS: resident set size = the number of pages currently present in RAM http://linux-vserver.org/Frequently_Asked_Questions -> echo %%insertYourPagesHereSmallerThanMaxram%% > /etc/vserver/ <guest>/rlimits/rss So, does swap space count for rss limits or not? ---- What exactly is the meaning of the soft limit? http://linux-vserver.org/Memory_Limits is a bit vague: Each resource has a soft and a hard limit. The soft limit has little effect, but the hard limit does .... http://linux-vserver.org/Frequently_Asked_Questions (How do I limit a guests RAM? ...) obviously suggests to set soft limits. Why doing so if the "soft limit has little effect"? ---- Is "as" (address space) the same thing that is called "VM" (virtual memory) in /proc/virtual/<1234>/limit ? If so, why using different names for the same quantity? Thanks, Th. Gebhardt _______________________________________________ Vserver mailing list [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
