RE: [Twisted-Python] Maximum sockets open

Thanks Ken. How do we determine (from the O.S.) how many sockets are currently open ? Regards, Danny -----Original Message----- From: twisted-python-bounces@twistedmatrix.com [mailto:twisted-python-bounces@twistedmatrix.com] On Behalf Of Ken Kinder Sent: Tuesday, March 15, 2005 12:47 AM To: Twisted general discussion Subject: Re: [Twisted-Python] Maximum sockets open 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
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

It seems like on Tuesday 15 of March 2005 03:38, Sinang, Danny typed:
Thanks Ken.
How do we determine (from the O.S.) how many sockets are currently open ?
Simply run netstat. P.S. Please, don't reply above quotation... -- Michal Chruszcz -=- Seen at http://1lo.sanok.pl/~troll/gallery.php
participants (2)
-
Michal Chruszcz
-
Sinang, Danny