[sslh] Zombies on Mac OS X

Arno Hautala arno at alum.wpi.edu
Sat Jan 12 22:25:13 CET 2013


Sorry for my own delay. Four months isn't too bad... right? Part of
the delay was that I moved my sslh process to FreeNAS and somewhat
lost interest in correcting the problem.

Anyway, that modification does somewhat to restrict things to one
zombie per type, eventually. I configured for SSH and SSL and SSH
sticks to one zombie. SSL connections settles around five, but doesn't
seem to grow past that.

Thanks for your help with this, and if you have other ideas for
testing the zombies I'd be happy to help.


On Sun, Sep 9, 2012 at 5:38 AM, Yves Rutschle <yves at naryves.com> wrote:
> On Sat, Sep 08, 2012 at 10:31:49PM -0400, Arno Hautala wrote:
>> The zombie persists after the connection closed down statement.
>
> Ok, nothing obviously wrong.
>
> Does this help?:
>
> --- sslh-fork.c (revision 122)
> +++ sslh-fork.c (working copy)
> @@ -160,6 +160,8 @@
>                      exit(0);
>                  }
>                  close(in_socket);
> +
> +                while (waitpid(-1, NULL, WNOHANG) > 0);
>              }
>          }
>      }
>
>
> It should limit the number of zombies to one per connection type.
>
> Y.



-- 
arno  s  hautala    /-|   arno at alum.wpi.edu

pgp b2c9d448



More information about the sslh mailing list