java.net.SocketException: Too many open files

Panagiotis Astithas past at noc.ntua.gr
Thu Mar 18 01:12:44 PST 2004


Nick Gieczewski wrote:

> I have written a small program that attempts to open 2,048 concurrent
> connections to the server in oder to reproduce this. On my FreeBSD
> box, the thread dies with the above exception at 500-600 open
> connections. When running the server application on Win32, on the
> other hand, I'm able to open all the 2,048 connections without a
> hitch.

Hello,

would you mind posting your small test program? It would help shed some 
light I think.

Cheers,
-- 
Panagiotis Astithas
Electrical & Computer Engineer, PhD
Network Management Center
National Technical University of Athens, Greece


More information about the freebsd-java mailing list