Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2003 03:06:42 -0500 (CDT)
From:      Mike Silbersack <silby@silby.com>
To:        Scot Loach <sloach@sandvine.com>
Cc:        "'freebsd-net@freebsd.org'" <freebsd-net@freebsd.org>
Subject:   Re: socket leak in FreeBSD 4.7
Message-ID:  <20030620030555.N5845@odysseus.silby.com>
In-Reply-To: <FE045D4D9F7AED4CBFF1B3B813C8533701AE842A@mail.sandvine.com>
References:  <FE045D4D9F7AED4CBFF1B3B813C8533701AE842A@mail.sandvine.com>

next in thread | previous in thread | raw e-mail | index | archive | help

I don't see this on my 4.8 or 5.x systems.  Are you running any custom
patches on that machine's kernel?

Alternately, can anyone else with a 4.7 or earlier machine replicate this
problem?

Thanks,

Mike "Silby" Silbersack

On Thu, 19 Jun 2003, Scot Loach wrote:

> If I execute the following program on a FreeBSD 4.7 system:
>
> int main()
> {
>     for (int i = 0; i < 70000; i++)
>     {
>         socket(PF_INET, SOCK_STREAM, 0);
>     }
>     return 0;
> }
> the sockets never seem to be freed.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030620030555.N5845>