[Planetlab-users] limit on number of connections to a port
iraicu at cs.uchicago.edu
Thu Oct 5 00:04:36 EDT 2006
If you do a "ulimit -a", you will get the OS specific limits; most
likely, your open file descriptors are limited to 1024 (per process)...
but this can be raised with the ulimit command. On a dual Opteron
system running SuSe Linux 9, I was able to get 60K+ concurrent TCP
connections.... which got pretty close to the fundamental limits of 64K
ports (8 bit value).
Neil Spring wrote:
> If by "connections" you mean TCP connections, then yes, your
> application can only have as many connections as file descriptors
> (sockets) allocated by the kernel. (4,000-ish, I think, though people
> who have run into this limit are more likely to know).
> I don't think you're giving enough precise information for a smarter
> answer. Information like which system call fails with what errno
> value (perhaps from strace) would be helpful, but likely much more is
> On Oct 4, 2006, at 3:00 AM, Parul Halwe wrote:
>> Hello All,
>> Is there any limit on number connections that can be made to
>> a particular port? I am developing an application that requires
>> sending data packets. Initially everything works fine but after some
>> time I am not able to establish connection to that port.
>> Thanks and Regards,
>> Parul Halwe
>> --Parul Halwe
>> M.Tech - 2nd Year
>> Computer Science and Engg. dept.
>> IIT Bombay
>> Users mailing list: Users at lists.planet-lab.org
> Users mailing list: Users at lists.planet-lab.org
Distributed Systems Laboratory
Computer Science Department
University of Chicago
1100 E. 58th Street, Ryerson Hall
Chicago, IL 60637
Email: iraicu at cs.uchicago.edu
More information about the Users