[Samba] "No data on inotify fd" error

Andrew Masterson Andrew.Masterson at nuvistaenergy.com
Fri Jul 10 11:41:55 MDT 2009


Receiving the exact same errors on RHEL 5.3
kernel: 2.6.18-92.1.13.el5xen 
Samba Version: 3.0.31-SerNet-RedHat

After some googling it looks like a kernel bug, so I set 

"kernel change notify = No"

in smbd.conf and I had to kill two rogue smbd processes on the box,
reboot the rogue user's machine and then it hasn't happened again since.
(the smbd processes appeared to have detached themselves from the
client, so they were filling the logs and needed to be terminated)

It looks like I'll need to schedule an outage to update the kernel.


> -----Original Message-----
> From: samba-bounces+andrew.masterson=nuvistaenergy.com at lists.samba.org
>
[mailto:samba-bounces+andrew.masterson=nuvistaenergy.com at lists.samba.org
] On
> Behalf Of MargoAndTodd
> Sent: Saturday, June 27, 2009 3:23 PM
> To: samba at lists.samba.org
> Cc: Volker.Lendecke at SerNet.DE
> Subject: Re: [Samba] "No data on inotify fd" error
> 
> Volker Lendecke wrote:
> 
> 
> > On Fri, Jun 26, 2009 at 03:45:32PM -0700, MargoAndTodd wrote:
> >> My poor /var/log/messages is getting hammered with:
> >>
> >>       smbd[16076]:   No data on inotify fd?!
> >>
> >>       smbd[16076]: [2009/06/25 13:21:18, 0] \
> >>           smbd/notify_inotify.c:inotify_handler(249)
> >>
> >> Everything else seems to be working fine.  Any idea
> >> what this is all about?
> >
> > Is there any way to reproduce this? Till we really fix this,
> > can you try the attached workaround patch? This will reduce
> > the number of messages a lot.
> 
> Hi Volker,
> 
> What triggered this was my root partition filling.  I
> go to this customer on Wednesdays or Thursdays.  I get
> a nightly backup report, which I have included a
> "df" on my hard drives.  My root partition went
> from typical 56% capacity to 86%.  After cleaning
> everything up, it dropped to 46%.
> 
> So, I installed a months worth of YUM updates, including
> a kernel update.  Since this is a running server, I could
> not reboot after the kernel update.  So I set it to
> reboot at 8:00 PM (20:00).  Since then, with the
> fine offices of logrotate, my root partition
> has dropped to 27%.  So there is a very big possibility
> that the kernel update and/or the reboot did the trick.
> 
> But, I will check next Tuesday or Thursday.
> 
> I am not sure how to duplicate this.  And, am a bit
> cautious about sending this to Samba's bugzilla, being
> that it is older Red Hat Enterprise stuff.  If I can
> duplicate this, I should report it to Red Hat.
> 
> -T
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list