[Pkg-samba-maint] Bug#816725: samba: Endlessly spawning new 'smbd <defunct>' processes
Sergey Vlasov
sergey at vlasov.me
Fri Mar 4 13:42:04 UTC 2016
Package: samba
Version: 2:4.1.17+dfsg-2+deb8u1
Severity: normal
Tags: newcomer
Dear Maintainer,
After some time of having Windows guest running in QEMU I see many defunct smbd
processes accumulating in 'ps -e'.
Here is a part of /var/log/samba/log.smbd which repeats over and over again:
smbd version 4.1.17-Debian started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2016/03/04 11:56:26.950343, 0]
../lib/util/become_daemon.c:136(daemon_ready)
STATUS=daemon 'smbd' finished starting up and ready to serve
connectionsUnable to connect to CUPS server localhost:631 - Bad file descriptor
STATUS=daemon 'smbd' finished starting up and ready to serve
connectionsfailed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2016/03/04 11:57:26.981020, 0]
../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Bad file descriptor
[2016/03/04 11:57:26.981103, 0]
../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2016/03/04 12:10:27.520407, 0]
../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Bad file descriptor
[2016/03/04 12:10:27.520505, 0]
../source3/printing/print_cups.c:528(cups_async_callback)
...
[2016/03/04 14:07:32.854780, 0]
../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Bad file descriptor
[2016/03/04 14:07:32.855617, 0]
../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2016/03/04 14:10:49.430605, 0] ../lib/util/pidfile.c:153(pidfile_unlink)
Failed to delete pidfile /var/run/samba/smbd.pid. Error was No such file or
directory
[2016/03/04 14:12:38, 0] ../source3/smbd/server.c:1189(main)
smbd version 4.1.17-Debian started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
I have been using an unmodified smb.conf, then I tried to add the following to
the [global] section of smb.conf:
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
but I still continue to get more and more defunct smbd processes.
Regards,
Sergey
-- System Information:
Debian Release: 8.3
APT prefers stable
APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages samba depends on:
ii adduser 3.113+nmu3
ii dpkg 1.17.26
ii libasn1-8-heimdal 1.6~rc2+dfsg-9
ii libbsd0 0.7.0-2
ii libc6 2.19-18+deb8u3
ii libcomerr2 1.42.12-1.1
ii libhdb9-heimdal [heimdal-hdb-api-8] 1.6~rc2+dfsg-9
ii libkdc2-heimdal 1.6~rc2+dfsg-9
ii libkrb5-26-heimdal
More information about the Pkg-samba-maint
mailing list