Samba is filling the disk with two logfiles (syslog and daemon.log) with messages on "No data on inotify ds?!
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Binary package hint: samba
The Samba Fileserver serves 32-bit Windows XP and 64-bit Windows 7 clients.
Without any apparent reason (telling from the log information), the Linux kernel / Samba daemon starts logging "No data on inotify fd?!" messages until the harddrive is full. (Existing log limits are ignored).
The effect occurred 4 times since upgradng from Ubuntu 8.0.4 LTS to Ubuntu 10.0.4 LTS in May 2010.
The machine can only be recovered by rebooting.
System:
- Ubuntu 10.0.4 LTS on AMD64
- Linux se003 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010 x86_64 GNU/Linux
- Samba Version 3.4.7
[Windows 7 64-bit Client machine's log in /var/log/samba]
[2010/10/07 09:31:20, 0] smbd/notify_
No data on inotify fd?!
[2010/10/07 09:31:20, 0] smbd/notify_
No data on inotify fd?!
[2010/10/07 09:31:20, 0] smbd/notify_
No data on inotify fd?!
...
[syslog]
Oct 7 06:28:28 se003 smbd[27192]: [2010/10/07 06:28:28, 0] smbd/service.
Oct 7 06:28:28 se003 smbd[27192]: chdir (/home/user01) failed
Oct 7 06:28:28 se003 smbd[27192]: [2010/10/07 06:28:28, 0] smbd/service.
Oct 7 06:28:28 se003 smbd[27192]: chdir (/home/user02) failed
Oct 7 06:28:49 se003 kernel: [719413.280723] lo: Disabled Privacy Extensions
Oct 7 06:28:49 se003 postfix/
Oct 7 06:28:49 se003 postfix/
Oct 7 06:29:27 se003 fetchmail[2889]: awakened at Thu Oct 7 06:29:27 2010
Oct 7 06:29:28 se003 fetchmail[2889]: Server certificate verification error: certificate has expired
Oct 7 06:29:32 se003 fetchmail[2889]: last message repeated 4 times
Oct 7 06:29:32 se003 fetchmail[2889]: sleeping at Thu Oct 7 06:29:32 2010 for 60 seconds
Oct 7 06:30:32 se003 fetchmail[2889]: awakened at Thu Oct 7 06:30:32 2010
Oct 7 06:30:33 se003 fetchmail[2889]: Server certificate verification error: certificate has expired
Oct 7 06:30:38 se003 fetchmail[2889]: last message repeated 4 times
Oct 7 06:30:38 se003 fetchmail[2889]: sleeping at Thu Oct 7 06:30:38 2010 for 60 seconds
Oct 7 06:31:04 se003 imapd: Connection, ip=[::ffff:
Oct 7 06:31:04 se003 imapd: LOGOUT, ip=[::ffff:
Oct 7 06:31:12 se003 smbd[27192]: [2010/10/07 06:31:12, 0] smbd/notify_
Oct 7 06:31:12 se003 smbd[27192]: No data on inotify fd?!
Oct 7 06:31:12 se003 smbd[27192]: [2010/10/07 06:31:12, 0] smbd/notify_
Oct 7 06:31:12 se003 smbd[27192]: No data on inotify fd?!
...
Oct 7 09:32:17 se003 smbd[27192]: [2010/10/07 09:32:17, 0] smbd/notify_
Oct 7 09:32:17 se003 smbd[27192]: No data on inotify fd?!
Oct 7 09:32:17 se003 smbd[27192]: [2010/10/07 09:32:17, 0] smbd/notify_
Oct 7 09:32:17 se003 smbd[27192]: No data on inotify fd?!
Oct 7 09:32:17 se003 smbd[27192]: [2010/10/07 09:32:17, 0] smbd/notify_
...
Oct 7 09:32:17 se003 smbd[27192]: [2010/10/07 09:32:17, 0] smbd/notify_
Oct 7 09:32:17 se003 smbd[27192]: No data on inotify fd?!
Oct 7 09:32:18 se003 smbd[27192]: [2010/10/07 09:32:18, 0] smbd/notify_
Oct 7 09:32:18 se003 smbd[27192]: No data on inotify fd?!
>>> MANUAL MACHINE RESTART <<<
Oct 7 11:52:05 se003 kernel: imklog 4.2.0, log source = /proc/kmsg started.
Oct 7 11:52:05 se003 rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="1180" x-info="http://
Oct 7 11:52:05 se003 rsyslogd: rsyslogd's groupid changed to 102
Oct 7 11:52:05 se003 rsyslogd: rsyslogd's userid changed to 101
Oct 7 11:52:04 se003 rsyslogd-2039: Could no open output file '/dev/xconsole' [try http://
Oct 7 11:52:05 se003 nmbd[1179]: [2010/10/07 11:52:05, 0] nmbd/nmbd_
Oct 7 11:52:05 se003 nmbd[1179]: add_domain_
Oct 7 11:52:05 se003 kernel: [ 0.000000] Initializing cgroup subsys cpuset
Oct 7 11:52:05 se003 kernel: [ 0.000000] Initializing cgroup subsys cpu
Oct 7 11:52:05 se003 kernel: [ 0.000000] Linux version 2.6.32-25-generic (buildd@yellow) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #44-Ubuntu SMP Fri
Sep 17 20:05:27 UTC 2010 (Ubuntu 2.6.32-
Oct 7 11:52:05 se003 kernel: [ 0.000000] Command line: root=/dev/md1 ro quiet splash
Oct 7 11:52:05 se003 kernel: [ 0.000000] KERNEL supported cpus:
[daemon.log]
Oct 7 06:08:18 se003 smbd[27192]: [2010/10/07 06:08:18, 0] smbd/nttrans.
Oct 7 06:08:18 se003 smbd[27192]: call_nt_
Oct 7 06:08:28 se003 smbd[27192]: [2010/10/07 06:08:28, 0] smbd/service.
Oct 7 06:08:28 se003 smbd[27192]: chdir (/home/user01) failed
Oct 7 06:08:28 se003 smbd[27192]: [2010/10/07 06:08:28, 0] smbd/service.
Oct 7 06:08:28 se003 smbd[27192]: chdir (/home/user02) failed
Oct 7 06:10:31 se003 dnsmasq-dhcp[1316]: DHCPINFORM(eth0) 192.168.2.248 e0:cb:4e:5d:b9:75
Oct 7 06:10:31 se003 dnsmasq-dhcp[1316]: DHCPACK(eth0) 192.168.2.248 e0:cb:4e:5d:b9:75 PCE018
Oct 7 06:13:28 se003 smbd[27192]: [2010/10/07 06:13:28, 0] smbd/service.
Oct 7 06:13:28 se003 smbd[27192]: chdir (/home/user01) failed
Oct 7 06:13:28 se003 smbd[27192]: [2010/10/07 06:13:28, 0] smbd/service.
Oct 7 06:13:28 se003 smbd[27192]: chdir (/home/user02) failed
Oct 7 06:25:52 se003 smbd[24792]: [2010/10/07 06:25:52, 0] lib/util_
Oct 7 06:25:52 se003 smbd[24792]: [2010/10/07 06:25:52, 0] lib/util_
Oct 7 06:25:52 se003 smbd[24792]: getpeername failed. Error was Transport endpoint is not connected
Oct 7 06:25:52 se003 smbd[24792]: read_fd_
Oct 7 06:28:28 se003 smbd[27192]: [2010/10/07 06:28:28, 0] smbd/service.
Oct 7 06:28:28 se003 smbd[27192]: chdir (/home/user01) failed
Oct 7 06:28:28 se003 smbd[27192]: [2010/10/07 06:28:28, 0] smbd/service.
Oct 7 06:28:28 se003 smbd[27192]: chdir (/home/user02) failed
Oct 7 06:31:12 se003 smbd[27192]: [2010/10/07 06:31:12, 0] smbd/notify_
Oct 7 06:31:12 se003 smbd[27192]: No data on inotify fd?!
...
Oct 7 06:31:12 se003 smbd[27192]: [2010/10/07 06:31:12, 0] smbd/notify_
Oct 7 06:31:12 se003 smbd[27192]: No data on inotify fd?!
Oct 7 06:31:12 se003 smbd[27192]: [2010/10/07 06:31:12, 0] smbd/notify_
Oct 7 06:31:12 se003 smbd[27192]: No data on inotify fd?!
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: samba 2:3.4.7~
ProcVersionSign
Uname: Linux 2.6.32-25-generic x86_64
Architecture: amd64
Date: Thu Oct 7 20:09:15 2010
ProcEnviron:
SHELL=/bin/bash
LANG=de_DE.UTF-8
SambaServerRegr
SourcePackage: samba
UbuntuFailedCon
Apparently this is due to a combination of factors, issues in kernel notify implementation and a specific unsupported situation (for example, Outlook PSTs and OST on a network share).
Could you add the following to the [global] section of your /etc/samba/smb.conf and see if it fixes it ?
kernel change notify = false
References: ubuntuforums. org/showthread. php?t=1099408 samba.2283325. n4.nabble. com/No- data-on- inotify- fd-error- td2452847. html
http://
http://