[stunnel-users] How do I kill stunnel?

Grant Edwards grante at visi.com
Wed Jun 25 17:03:16 CEST 2008


On 2008-06-25, Grant Edwards <grante at visi.com> wrote:
> I've got an application that starts stunnel using equivalent of
> a fork/exec.  The stunnel process then appears to fork off
> multiple copies of itself.
>
> Before the application exits, it needs to stop stunnel.  I send
> a SIGINT to the PID that was created using the fork, but only
> the first "master" copy terminates -- the master stunnel
> process doesn't terminate its children when it exits.  So I end
> up with a bunch of "orphaned" stunnel processes.  They're not
> zombies, they're process that are either in state R or S
> (runnable or sleeping).

What's really annoying is that one of those orphaned stunnel
processes is sucking up all the CPU it can (there are no active
connections).

-- 
Grant Edwards                   grante             Yow! VICARIOUSLY experience
                                  at               some reason to LIVE!!
                               visi.com            




More information about the stunnel-users mailing list