[Samba] Failed to init inotify - Too many open files
Helmut Hullen
Hullen at t-online.de
Wed Jun 10 08:13:00 MDT 2015
Hallo, Meike,
Du meintest am 10.06.15:
> I've a problem on my system with inotify.
> In the smbd logfile are shown a lot messages like this:
> [2015/06/10 11:15:21.644453, 0, pid=57030, effective(12700, 100),
> real(0, 0)] smbd/notify_inotify.c:297(inotify_setup) Failed to init
> inotify - Too many open files
[...]
> I can't find the reason, why smbd ist complaining.
[...]
> # sysctl -a | grep inotify
> fs.inotify.max_queued_events = 16384
> fs.inotify.max_user_instances = 128
> fs.inotify.max_user_watches = 65536
Maybe it helps to increase "max_user_instances" in this file; I had the
same error messages and have set this parameter to 32768.
sysctl -p
re-reads this configuration file.
Viele Gruesse!
Helmut
More information about the samba
mailing list