
The zimbie processes is from perl. What is your perl and libvirt version? Em 17/03/2014 12:37, Michal Privoznik <mprivozn@redhat.com> escreveu:
On 17.03.2014 12:13, Carlos Rodrigues wrote:
Hell Michal,
Thank you for your answer, but this doesn't fix my problem.
Run your fixed script and we get the same behavior:
$ perl test-chldhandle-bug-fixed.pl init... pid=29713 while... fork 1 end... pid=29716 receive chld fork 2 end... pid=29717 receive chld 2014-03-17 11:10:37.234+0000: 29713: info : libvirt version: 1.0.5.7, package: 2.fc19 (Fedora Project, 2013-11-17-23:21:57, buildvm-18.phx2.fedoraproject.org) 2014-03-17 11:10:37.234+0000: 29713: warning : virNetTLSContextCheckCertificate:1099 : Certificate check failed Certificate [session] owner does not match the hostname 10.10.4.249 connection open fork 3 end... pid=29827 fork 4 end... pid=29930 go next...
I'm not a perl expert, but I don't think it's a libvirt bug anyhow. Moreover, I don't see any zombies:
$ perl test-chldhandle-bug-fixed.pl & sleep 5 && echo && ps axf | grep perl && echo [1] 11239 init... pid=11239 while... fork 1 end... pid=11241 receive chld fork 2 end... pid=11242 receive chld connection open
11239 pts/18 S 0:00 | \_ perl test-chldhandle-bug-fixed.pl 11245 pts/18 S+ 0:00 | \_ grep --colour=auto perl
fork 3 end... pid=11246 receive chld fork 4 end... pid=11247 receive chld go next...
btw: with older version I'm seeing this:
11399 pts/18 S 0:00 | \_ perl test-chldhandle-bug.pl 11401 pts/18 Z 0:00 | | \_ [perl] <defunct> 11402 pts/18 Z 0:00 | | \_ [perl] <defunct> 11405 pts/18 S+ 0:00 | \_ grep --colour=auto perl
What zombies are you seeing? Perl ones or libvirt or ..,?
Michal