I have something similar in the patch that I apply locally to tacacs+-F4.0.4.15, which I&#39;ve attached to this message.  I am also using Linux and just as you observed, without the adjustment to the SIGCHLD handling you end up with a defunct process per connection.<br>
<br>Nathan<br><br><div><span class="gmail_quote">On 3/16/09, <b class="gmail_sendername">John Payne</b> &lt;<a href="mailto:john@sackheads.org">john@sackheads.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br> On Mar 16, 2009, at 9:53 AM, John Payne wrote:<br> <br> &gt; The opt_G timeline:<br> &gt;<br> &gt; First patch: <a href="http://www.shrubbery.net/pipermail/tac_plus/2007-October/000158.html">http://www.shrubbery.net/pipermail/tac_plus/2007-October/000158.html</a><br>
 &gt; Second patch to fix defunct processes: <a href="http://www.shrubbery.net/pipermail/tac_plus/2007-October/000163.html">http://www.shrubbery.net/pipermail/tac_plus/2007-October/000163.html</a><br> &gt; Third patch to make it work: <a href="http://www.shrubbery.net/pipermail/tac_plus/2008-June/000246.html">http://www.shrubbery.net/pipermail/tac_plus/2008-June/000246.html</a><br>
 &gt;<br> &gt; Unfortunately, the third patch has started causing defunct processes<br> &gt; again.<br> <br> <br>This seems to resolve the defunct process issue:<br> <br> *** tac_plus.c.orig     2009-03-16 14:05:29.000000000 -0400<br>
 --- tac_plus.c  2009-03-16 14:05:49.000000000 -0400<br> ***************<br> *** 447,452 ****<br> --- 447,457 ----<br>             */<br>            open_logfile();<br>        }<br> + #ifndef REAPCHILD<br> +         signal(SIGCHLD, reapchild);<br>
 + #else<br> +         signal(SIGCHLD, SIG_IGN);<br> + #endif /* REAPCHILD */<br>       }<br> <br>       ostream = NULL;<br> <br> <br> Probably a cleaner way, but... it works for me :)<br> <br> -------------- next part --------------<br>
 An HTML attachment was scrubbed...<br> URL: <a href="http://www.shrubbery.net/pipermail/tac_plus/attachments/20090316/7f2a6494/attachment.html">http://www.shrubbery.net/pipermail/tac_plus/attachments/20090316/7f2a6494/attachment.html</a><br>
 <br>_______________________________________________<br> tac_plus mailing list<br> <a href="mailto:tac_plus@shrubbery.net">tac_plus@shrubbery.net</a><br> <a href="http://www.shrubbery.net/mailman/listinfo.cgi/tac_plus">http://www.shrubbery.net/mailman/listinfo.cgi/tac_plus</a><br>
 </blockquote></div><br>