[Lxc-users] High SLAB

China china at email.it
Fri Aug 24 12:23:10 UTC 2012


Hi,
I had misunderstood the proc_sys_vm_vfs_cache_pressure functioning.
The mechanism works great when the containers need more memory than free
one. Until that the kernel doesn't free the slab objects.
Good!

On Fri, Aug 24, 2012 at 1:52 PM, China <china at email.it> wrote:

> Sorry,
> i've tried that some days ago (setting first to 1000, next 10000 and
> finally to the maximum1410065408) but the issue remains!
> My server has about 1800000 files and 500000 directories.
>
> Thank you
>
>
> On Fri, Aug 24, 2012 at 1:44 PM, Fajar A. Nugraha <list at fajar.net> wrote:
>
>> On Fri, Aug 24, 2012 at 6:37 PM, China <china at email.it> wrote:
>> > Often, after some hours, the containers occupy a lot of SLAB cache (over
>> > 100~200MB), specially dentry and ext3_inode_cache.
>>
>> Try this: http://www.linuxinsight.com/proc_sys_vm_vfs_cache_pressure.html
>>
>> I set mine at 1000 for a system with lots of files (> 1M) and
>> relatively small memory (2GB). Not an lxc system though.
>>
>> --
>> Fajar
>>
>
>
>
> --
>
> Davide Belloni
>



-- 

Davide Belloni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20120824/2aeddf2c/attachment.html>


More information about the lxc-users mailing list