inetd fd leak?

Cathey, Jim jcathey at ciena.com
Fri Sep 4 00:07:32 UTC 2009


>Replacing vfork() with fork()
>in my inetd still results in a fd leak.  (Without -e.)

Cancel that, I missed a step in the build (busybox isn't
automatically made) and so didn't actually change out vfork.
When I did that correctly it shows that there is no leak,
if you don't use vfork.

I _do_ see a transient condition where there are three
sockets open, as the timer expires and it again accepts
telnets.  One is always there, one shows up when the window
is open again after the 1-minute timeout, and a third shows
up when the flood starts, then it drops back down to one.

-- Jim






More information about the busybox mailing list