[sheepdog-users] FD Limit

Liu Yuan namei.unix at gmail.com
Tue Dec 17 07:03:30 CET 2013


On Mon, Dec 16, 2013 at 03:22:48PM +0100, Valerio Pachera wrote:
> I get this message in sheep.log
> 
>   check_host_env(477) Allowed open files 1024000, suggested 6144000
> 
> I set
> 
> /etc/sysctl.conf
>   fs.file-max = 1024000
> 
> After reboot I check
>   cat /proc/sys/fs/file-max
>     6144000
> 
> Then I edit
> 
> /etc/security/limits.conf
>   root soft nofile 6144000
>   root hard nofile 6144000
> 
> After a login (or reboot) I get the default values
> 
> ulimit -Hn
>   4096
> ulimit -Sn
>   1024
> 
> If I set anything more than 1024000, then it gets ignored.
> 
> What do you think?

I think 1024000 is big enough. You can safely ignore the 6144000, this is just
a casual value we use to suggest a big value for it.

Thanks
Yuan



More information about the sheepdog-users mailing list