[Lxc-users] Many containers and too many open files

Daniel Lezcano daniel.lezcano at free.fr
Sat Feb 26 17:34:38 UTC 2011


On 02/26/2011 05:02 PM, Andre Nathan wrote:
> On Sat, 2011-02-26 at 09:13 +0100, Daniel Lezcano wrote:
>>> How many cpus do you have on your hardware ?
> I'm running this on a dual quad-core system, so 8 cores total.
>
>> Can you add to the kernel boot option:
>>
>>       rhash_entries=2097152
>>
>>
>> You should have in your console outpout:
>>
>>       "IP route cache hash table entries: 524288 (order: 10, 4194304 bytes)"
>>
>> and check if the neighbor table overflows.
> I got these messages:
>
>    Mount-cache hash table entries: 256

I think this one is not related to the routing cache.

>    IP route cache hash table entries: 2097152 (order: 12, 16777216 bytes)
>
>
> The neighbor table still overflows though. Do you think increasing the
> number even more would be worth a try?

I don't know. Are message occurrences  the same ? You can try to 
increase the number to see if it finish to disappear.
The number should be a 1024 multiple. May be a multiple of 4096 would be 
better.




More information about the lxc-users mailing list