Bug 1078590
Summary: | use of tls with libvirt.so can leave zombie processes | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Eric Blake <eblake> | |
Component: | libvirt | Assignee: | Michal Privoznik <mprivozn> | |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 7.0 | CC: | dyuan, eblake, jdenemar, mzhan, rbalakri, tdosek, vivianzhang, ydu, zhwang | |
Target Milestone: | rc | Keywords: | Upstream, ZStream | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | libvirt-1.2.7-1.el7 | Doc Type: | Bug Fix | |
Doc Text: |
A previous update introduced an error where a SIG_SETMASK argument was incorrectly replaced by a SIG_BLOCK argument after the poll() system call. Consequently, the SIGCHLD signal could be permanently blocked, which caused signal masks not to return to their original values and defunct processes to be generated. With this update, the original signal masks are restored as intended, and poll() now functions correctly.
|
Story Points: | --- | |
Clone Of: | 1078589 | |||
: | 1112689 (view as bug list) | Environment: | ||
Last Closed: | 2015-03-05 07:32:59 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 1078589 | |||
Bug Blocks: | 1112689 |
Description
Eric Blake
2014-03-19 23:08:42 UTC
verify this issue on build libvirt-1.2.8-9.el7.x86_64 qemu-img-rhev-2.1.2-14.el7.x86_64 1. Preapre the tls env with 2 servers (one is client and the other is server) Make sure you could remote tls from client to server # virsh -c qemu+tls://server/system 2. Install perl-Sys-Virt-1.2.8-3.el7.x86_64 on libvirt client 3. On client, run libvirt-perl.pl as comments 4 4.[root@client ~]# perl libvirt-perl.pl init... pid=12300 while... fork 1 end... pid=12301 receive chld fork 2 end... pid=12302 receive chld connection open fork 3 end... pid=12303 receive chld fork 4 end... pid=12304 receive chld go next... while... fork 1 end... pid=12305 receive chld fork 2 end... pid=12306 receive chld connection open fork 3 end... pid=12307 receive chld fork 4 end... pid=12308 receive chld go next... while... fork 1 end... pid=12309 receive chld fork 2 end... pid=12310 receive chld connection open fork 3 end... pid=12311 receive chld fork 4 end... pid=12312 receive chld go next... while... fork 1 end... pid=12313 receive chld fork 2 end... pid=12314 receive chld connection open fork 3 end... pid=12315 receive chld fork 4 end... pid=12316 receive chld go next... while... fork 1 end... pid=12317 receive chld fork 2 end... pid=12318 receive chld connection open fork 3 end... pid=12320 receive chld fork 4 end... pid=12321 receive chld go next... while... fork 1 end... pid=12322 receive chld fork 2 end... pid=12323 receive chld connection open fork 3 end... pid=12324 receive chld .... 4. check process, no zombie process ps -afx |grep perl 12300 pts/0 S+ 0:00 | \_ perl libvirt-perl.pl 12382 pts/2 S+ 0:00 \_ grep --color=auto perl 5. repeat step 1-4 with libvirt tcp connection, got the same result move to verified Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-0323.html |