[sslh] Zombies on Mac OS X
Yves Rutschle
yves at naryves.com
Sun Sep 9 11:38:22 CEST 2012
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.
More information about the sslh
mailing list