[Twisted-Python] Question about File Descriptors

Hi Folks: This is not a Twisted question per se but here goes. I am using Linux. I want to do some tests and I need to increase the numbers of file descriptors. What are the memory ramifications (i.e, I raise the max descriptor count to 65535)? Also should I move to the EPoll reactor? Thanks in advance. Cheers, Andrew

On Fri, 2009-06-12 at 06:50 -0700, Andrew Francis wrote:
What are the memory ramifications (i.e, I raise the max descriptor count to 65535)?
The memory in use by your own Python objects will probably take the most memory, so you'll need to figure that out on your own.
Also should I move to the EPoll reactor?
Yes, it'll be either impossible (with select) or really slow (poll) otherwise once you get pass a few thousand descriptors.

On Fri, 2009-06-12 at 06:50 -0700, Andrew Francis wrote:
What are the memory ramifications (i.e, I raise the max descriptor count to 65535)?
The memory in use by your own Python objects will probably take the most memory, so you'll need to figure that out on your own.
Also should I move to the EPoll reactor?
Yes, it'll be either impossible (with select) or really slow (poll) otherwise once you get pass a few thousand descriptors.
participants (2)
-
Andrew Francis
-
Itamar Shtull-Trauring