Debian + Exec-Program = Zombie process

George Chelidze wrath at geo.net.ge
Tue Jan 17 08:36:15 CET 2006


Hello,

I am using Debian GNU/Linux 3.1, libc6 2.3.2.ds1-22. I have compiled 
freeradius 0.93, 1.0.1, 1.0.5, 1.1.0 in turn with the following options:

./configure --prefix=/usr/local/freeradius --without-threads

compilation/installation went fine, radius started up fine.

/usr/local/freeradius/etc/raddb/acct_users content:

DEFAULT Acct-Status-Type == Stop
         Exec-Program = "/usr/local/bin/test.pl"

/usr/local/bin/test.pl content:
#--------------------------------------
#!/usr/bin/perl
exit(0);
#--------------------------------------

as soon as I send accounting stop packet to radius, test.pl executes and 
becomes a zombie. (I tried bash script, c program with the same result.)

  3890 ?        Ss     0:00 /usr/local/freeradius/sbin/radiusd
  3893 ?        Z      0:00  \_ [test.pl] <defunct>

As far as I know, this should have been fixed in 1.0.3 and I doubt it's 
debian specific, as I know 0.93 works on another RH 7.3 without a 
problem (In fact zombie is listed there as well but disappears after 
several seconds).

Any ideas/suggestions?

Thanks in advance,

George



More information about the Freeradius-Users mailing list