[Planetlab-users] limit on number of connections to a port
Ioan Raicu
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).
Ioan
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
> required.
>
> -neil
>
>
> 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
>> Student
>> M.Tech - 2nd Year
>> Computer Science and Engg. dept.
>> IIT Bombay
>>
>> _______________________________________________
>> Users mailing list: Users at lists.planet-lab.org
>> https://lists.planet-lab.org/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list: Users at lists.planet-lab.org
> https://lists.planet-lab.org/mailman/listinfo/users
>
--
============================================
Ioan Raicu
Ph.D. Student
============================================
Distributed Systems Laboratory
Computer Science Department
University of Chicago
1100 E. 58th Street, Ryerson Hall
Chicago, IL 60637
============================================
Email: iraicu at cs.uchicago.edu
Web: http://www.cs.uchicago.edu/~iraicu
http://dsl.cs.uchicago.edu/
============================================
============================================
More information about the Users
mailing list