Re: "1024 Sockets per process" or "TIME WAIT without an ending"

Arjan van de Ven (adve@oce.nl)
Fri, 1 Oct 1999 12:47:04 +0200 (CEST)


Andreas Schuldei had the wisdom to write:
AS> #netstat -an
AS> tells me, that around 1024 ports are in use and they all have the status TIME
AS> WAIT.

AS> It takes some time until all sockets are freed again. then I can rerun the
AS> experiment.

Take a look at the
/proc/sys/net/ipv4/ip_local_port_range

by doing an

echo 31000 64000 > /proc/sys/net/ipv4/ip_local_port_range

you might be able to get more connections.

Greetings,
Arjan van de Ven

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/