http://bugzilla.suse.com/show_bug.cgi?id=1127000 Bug ID: 1127000 Summary: qemu smb share leaves a lot of zombies Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Virtualization:Other Assignee: virt-bugs@suse.de Reporter: jslaby@suse.com QA Contact: qa-bugs@suse.de CC: brogers@suse.com Found By: --- Blocker: --- With this commandline: /usr/bin/qemu-system-x86_64 -machine accel=kvm -k en-us -smp 4 -daemonize -pidfile /tmp/qemu.pid.30512 -device virtio-rng-pci -device ich9-usb-ehci1,multifunction=on,id=ehci -device ich9-usb-uhci1,masterbus=ehci.0,multifunction=on -device ich9-usb-uhci2,masterbus=ehci.0,firstport=2,multifunction=on -device ich9-usb-uhci3,masterbus=ehci.0,firstport=4,multifunction=on -drive file=/home/new/win.qcow2,discard=unmap -soundhw ac97 -spice disable-ticketing,gl=on,unix,addr=/tmp/qemu-spice.30512.sock -device virtio-serial -chardev spicevmc,id=vdagent,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1 -chardev spicevmc,name=usbredir,id=usbredirchardev2 -device usb-redir,chardev=usbredirchardev2,id=usbredirdev2 -net user,smb=/home/smb,hostfwd=tcp::3389-:3389 -net nic,model=rtl8139 -rtc base=localtime -vga qxl -device usb-tablet -m 1G After some time running, I see a lot of smbd zombie processes:
xslaby 30546 2.4 7.4 2572952 1213920 ? Tl úno24 60:58 /usr/bin/qemu-system-x86_64 -machine accel=kvm -k en-us -smp 4 -daemonize -pidfile /tmp/qemu.pid.30512 -device virtio-rng-pci -device ich9-usb-ehci1,multifunction=on,id=ehci -device ich9-usb-uhci1,masterbus=ehci.0,multifunction=on -device ich9-usb-uhci2,masterbus=ehci.0,firstport=2,multifunction=on -device ich9-usb-uhci3,masterbus=ehci.0,firstport=4,multifunction=on -drive file=/home/new/win.qcow2,discard=unmap -soundhw ac97 -spice disable-ticketing,gl=on,unix,addr=/tmp/qemu-spice.30512.sock -device virtio-serial -chardev spicevmc,id=vdagent,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1 -chardev spicevmc,name=usbredir,id=usbredirchardev2 -device usb-redir,chardev=usbredirchardev2,id=usbredirdev2 -net user,smb=/home/smb,hostfwd=tcp::3389-:3389 -net nic,model=rtl8139 -rtc base=loca ltime -vga qxl -device usb-tablet -m 1G xslaby 30600 0.0 0.1 49892 20088 ? Ss úno24 0:01 \_ /usr/sbin/smbd -l /tmp/qemu-smb.ZIY0XZ -s /tmp/qemu-smb.ZIY0XZ/smb.conf xslaby 30602 0.0 0.0 45440 4892 ? S úno24 0:00 \_ /usr/sbin/smbd -l /tmp/qemu-smb.ZIY0XZ -s /tmp/qemu-smb.ZIY0XZ/smb.conf xslaby 30603 0.0 0.0 45432 3328 ? S úno24 0:00 \_ /usr/sbin/smbd -l /tmp/qemu-smb.ZIY0XZ -s /tmp/qemu-smb.ZIY0XZ/smb.conf xslaby 32070 0.0 0.0 0 0 ? Z úno24 0:00 \_ [smbd] <defunct> xslaby 1184 0.0 0.0 0 0 ? Z úno24 0:00 \_ [smbd] <defunct> xslaby 2708 0.0 0.0 0 0 ? Z úno24 0:00 \_ [smbd] <defunct> xslaby 2902 0.0 0.0 0 0 ? Z úno24 0:00 \_ [smbd] <defunct> xslaby 3834 0.0 0.0 0 0 ? Z úno24 0:00 \_ [smbd] <defunct> xslaby 4514 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 7508 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 9429 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 10975 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 12896 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 14454 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 16387 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 18100 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 19775 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 21479 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 31399 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 2457 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 4636 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 6490 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 8795 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 10394 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 12068 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 13606 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 15829 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 17444 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 19211 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 20870 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 22653 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 25946 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 27950 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 29908 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 31403 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 378 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 1887 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 3610 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 5101 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 6557 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 8027 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 9534 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 10978 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 12442 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 13894 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 15346 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 16831 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 18284 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 19741 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 21197 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 22659 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 24110 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 25926 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 27476 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 29449 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 30944 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 32378 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 1418 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 2914 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 5694 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 7345 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 8838 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 10286 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 11743 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 13175 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 14215 0.0 0.0 0 0 ? Z úno25 0:00 \_ [smbd] <defunct> xslaby 15492 0.0 0.0 0 0 ? Z 06:38 0:00 \_ [smbd] <defunct> xslaby 18349 0.0 0.0 0 0 ? Z 06:53 0:00 \_ [smbd] <defunct> xslaby 20043 0.0 0.0 0 0 ? Z 07:08 0:00 \_ [smbd] <defunct> xslaby 21654 0.0 0.0 0 0 ? Z 07:23 0:00 \_ [smbd] <defunct> xslaby 23364 0.0 0.0 0 0 ? Z 07:38 0:00 \_ [smbd] <defunct> xslaby 24473 0.0 0.0 0 0 ? Z 07:53 0:00 \_ [smbd] <defunct> xslaby 26134 0.0 0.0 0 0 ? Z 08:08 0:00 \_ [smbd] <defunct> xslaby 27373 0.0 0.0 0 0 ? Z 08:23 0:00 \_ [smbd] <defunct> xslaby 28757 0.0 0.0 0 0 ? Z 08:38 0:00 \_ [smbd] <defunct> xslaby 29947 0.0 0.0 0 0 ? Z 08:53 0:00 \_ [smbd] <defunct> xslaby 31154 0.0 0.0 0 0 ? Z 09:08 0:00 \_ [smbd] <defunct> xslaby 32462 0.0 0.0 0 0 ? Z 09:23 0:00 \_ [smbd] <defunct> xslaby 1347 0.0 0.0 0 0 ? Z 09:38 0:00 \_ [smbd] <defunct> xslaby 2581 0.0 0.0 0 0 ? Z 09:53 0:00 \_ [smbd] <defunct> xslaby 4173 0.0 0.0 0 0 ? Z 10:08 0:00 \_ [smbd] <defunct> xslaby 5370 0.0 0.0 0 0 ? Z 10:23 0:00 \_ [smbd] <defunct> xslaby 6652 0.0 0.0 0 0 ? Z 10:38 0:00 \_ [smbd] <defunct> xslaby 7813 0.0 0.0 0 0 ? Z 10:53 0:00 \_ [smbd] <defunct> xslaby 9252 0.0 0.0 0 0 ? Z 11:08 0:00 \_ [smbd] <defunct> xslaby 10823 0.0 0.0 0 0 ? Z 11:23 0:00 \_ [smbd] <defunct> xslaby 12232 0.0 0.0 0 0 ? Z 11:38 0:00 \_ [smbd] <defunct> xslaby 13917 0.0 0.0 0 0 ? Z 11:53 0:00 \_ [smbd] <defunct> xslaby 16442 0.0 0.0 0 0 ? Z 12:08 0:00 \_ [smbd] <defunct> xslaby 18652 0.0 0.0 0 0 ? Z 12:23 0:00 \_ [smbd] <defunct>
They should be reaped when new one starts, IMO. I am using $ qemu-kvm --version QEMU emulator version 3.1.0 from the Virtualization project. But it does not matter, it happens for a long time. -- You are receiving this mail because: You are on the CC list for the bug.