[Samba] Samba crashes & floods logfiles: "smbd/notify_inotify.c:244(inotify_handler) - No data on inotify fd?!"

December 29th, 2010 - 01:00 pm ET by Tom H. Lautenbacher | Report spam
Dear Group members!

Since I have set up a Samba PDC-Server (openSUSE 11.2-64bit with default
package Samba 3.4.3) approx. 8 months ago, I have encountered 3 or 4
times a severe crash of Samba.

What happens is that all over a sudden Samba floods /var/log/messages
and /var/log/warn with the following message (cropped out
date/time/servername, etc.):

smbd[19724]: smbd/notify_inotify.c:244(inotify_handler)
smbd[19724]: No data on inotify fd?!


This message is being repeated until those 2 logfiles have filled up the
/var partition.
Samba is not responsive anymore and due to a filled up /var the whole
server is malfunctioning.

The only remedy that I had until today is to reboot the server and
delete ../messages & ../warn.
Everything works fine then, until a few months later it occurs again
without any obvious reason.

I updated to Samba 3.5.6 (From the official openSUSE-Samba-Repository:
http://download.opensuse.org/repositories/network:/samba:/misc/openSUSE_11.2/noarch/)
after the second time it occured, but it happened another 2 times after
the update, too.

Is there anybody out there who could help me with this one?
I am thankful for any hint or peace of advice!!

Best regards
Tom H. Lautenbacher
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
email Follow the discussionReplies 8 repliesReplies Make a reply

Replies

#1 Tom H. Lautenbacher
December 29th, 2010 - 01:20 pm ET | Report spam
On 2010-12-29 19:52, Tom H. Lautenbacher wrote:

smbd[19724]: smbd/notify_inotify.c:244(inotify_handler)
smbd[19724]: No data on inotify fd?!



Here is my /etc/samba/smb.conf
(all default values and comments are cropped automatically by SWAT):

[global]
workgroup = SOMEGROUPNAME.SGN
server string max open files = 10000
add machine script = /usr/sbin/useradd -c SambaMachine -g sambamachines
-G "" -d /dev/null/ -s /bin/false %u
logon script = %G.bat
logon path = \\%N\profiles\%U\%a
logon drive = z:
domain logons = Yes
os level = 255
preferred master = Yes
domain master = Yes
wins support = Yes
hosts allow = 10.31.40.0/255.255.255.0
hosts deny = 10.31.40.1
follow symlinks = No

[homes]
comment = Home directory
valid users = %S, %D%w%S
write list = %S, %D%w%S
force group = root
create mask = 0600
directory mask = 0700
browseable = No

[profiles]
comment = Windows User Profiles
path = /somepath/somedir
force group = root
read only = No
create mask = 0600
directory mask = 0700
map archive = No
map readonly = no
store dos attributes = Yes
browseable = No

[netlogon]
comment = User logon scripts
path = /var/lib/samba/netlogon
browseable = No

followed by some custom shares for normal data...
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

Similar topics