mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Containers and /proc/sys/vm/drop_caches
@ 2010-12-30  7:59 Mike Hommey
  2010-12-30  8:57 ` Rob Landley
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Hommey @ 2010-12-30  7:59 UTC (permalink / raw)
  To: linux-kernel

Hi,

I noticed that from within a lxc container, writing "3" to
/proc/sys/vm/drop_caches would flush the host page cache. That sounds a
little dangerous for VPS offerings that would be based on lxc, as in one
VPS instance root user could impact the overall performance of the host.
I don't know about other containers but I've been told openvz isn't
subject to this problem.
I only tested the current Debian Squeeze kernel, which is based on
2.6.32.27.

Cheers,

Mike

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-30  8:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-30  7:59 Containers and /proc/sys/vm/drop_caches Mike Hommey
2010-12-30  8:57 ` Rob Landley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®