On 6/25/07, Paul Menage <menage@xxxxxxxxxx> wrote:
On 6/22/07, Vaidyanathan Srinivasan <svaidy@xxxxxxxxxxxxxxxxxx> wrote: > > Merging both limits will eliminate the issue, however we would need > individual limits for pagecache and RSS for better control. There are > use cases for pagecache_limit alone without RSS_limit like the case of > database application using direct IO, backup applications and > streaming applications that does not make good use of pagecache. > If streaming applications would otherwise litter the pagecache with unwanted data, then limiting their total memory footprint (with a single limit) and forcing them to drop old data sooner sounds like a great idea.
Actually, reading what you wrote more carefully, that's sort of what you were already saying. But it's not clear why you wouldn't also want to limit the anon pages for a job, if you're already concerned that it's not playing nicely with the rest of the system. Paul _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers