[Twisted-Python] Maximum sockets open
Hello, Is there a maximum number of sockets that Twisted supports ? If so, what is the maximum, how do I see what it's current value, and how to I set it to another value ? Regards, Danny
A while ago, we were opening up a ton of sockets and got a "Too many files open" error. I don't know what you're getting, but if that's it, you might try (1) opening fewer sockets, (2) upping operating system limit (Twisted doesn't control that). According to our admin, on Linux, that would be /proc/sys/fs/file-max and use "sysctl -w 'fs.file-max=<new limit>'" to up the limit. -Ken Sinang, Danny wrote:
Hello,
Is there a maximum number of sockets that Twisted supports ? If so, what is the maximum, how do I see what it's current value, and how to I set it to another value ?
Regards, Danny
------------------------------------------------------------------------
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
participants (2)
-
Ken Kinder
-
Sinang, Danny