|
-
Maximum TCP Socket Connections
Is there some kind of maximum TCP connection setting in Java? I have a server
application that accepts incoming TCP socket connections. I set up a very
large pool of threads that listen for connection requests. These objects
do just fine until I exceed 640 simultaneous connections. At this point
I get an exception on "serverSocket.accept();" The error returned is "Too
many open files". I seem to have plenty of memory. I've adjusted the heap
settings to much higher values than I feel I need but nothing seems to improve
on this 640 limit.
I'm running this on Redhat Linux 7.2 with JDK 1.3.1_02.
Even if you're not sure what the problem is, please respond with any suggestions
you may have. This problem is a serious show-stopper for my project right
now.
Thanks in advance,
-Tom
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks