Hi, <div>I had misunderstood the proc_sys_vm_vfs_cache_pressure functioning.</div><div>The mechanism works great when the containers need more memory than free one. Until that the kernel doesn't free the slab objects.</div>
<div>Good!</div><div><br><div class="gmail_quote">On Fri, Aug 24, 2012 at 1:52 PM, China <span dir="ltr"><<a href="mailto:china@email.it" target="_blank">china@email.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Sorry, <div>i've tried that some days ago (setting first to 1000, next 10000 and finally to the maximum1410065408) but the issue remains!</div><div><div>My server has about 1800000 files and 500000 directories.</div><div>

<br></div><div>Thank you<div><div class="h5"><br><br><div class="gmail_quote">On Fri, Aug 24, 2012 at 1:44 PM, Fajar A. Nugraha <span dir="ltr"><<a href="mailto:list@fajar.net" target="_blank">list@fajar.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Fri, Aug 24, 2012 at 6:37 PM, China <<a href="mailto:china@email.it" target="_blank">china@email.it</a>> wrote:<br>
> Often, after some hours, the containers occupy a lot of SLAB cache (over<br>
> 100~200MB), specially dentry and ext3_inode_cache.<br>
<br>
</div>Try this: <a href="http://www.linuxinsight.com/proc_sys_vm_vfs_cache_pressure.html" target="_blank">http://www.linuxinsight.com/proc_sys_vm_vfs_cache_pressure.html</a><br>
<br>
I set mine at 1000 for a system with lots of files (> 1M) and<br>
relatively small memory (2GB). Not an lxc system though.<br>
<span><font color="#888888"><br>
--<br>
Fajar<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><br>Davide Belloni<br>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><br>Davide Belloni<br>
</div>