OpenVZ Forum


Home » Mailing lists » Devel » Containers and /proc/sys/vm/drop_caches
Containers and /proc/sys/vm/drop_caches [message #41988] Wed, 05 January 2011 09:40 Go to previous message
Mike Hommey is currently offline  Mike Hommey
Messages: 1
Registered: January 2011
Junior Member
[Copy/pasted from a previous message to lkml, where it was suggested to
try containers@]

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
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containe rs
 
Read Message
Read Message
Read Message
Previous Topic: Mapping PIDs from parent->child namespaces
Next Topic: [PATCH] Teach cifs about network namespaces.
Goto Forum:
  


Current Time: Sat Aug 02 03:39:11 GMT 2025

Total time taken to generate the page: 0.94292 seconds