[Twisted-Python] Maximum number of SSL connections to the server

Sumanth Puram spuram at kiwiup.com
Mon Jan 13 07:07:43 MST 2014


Yes, 1010 looks more like a 1024 limit.

I am using a Mac OSX 10.8. I have set the limit with 'ulimit -n 10000' for
the current shell where I was running the server and the same for client.

I have tried to increase the limit for number of files, but could not find
any other way than this.

sumanth$ ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
file size               (blocks, -f) unlimited
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 10000
pipe size            (512 bytes, -p) 1
stack size              (kbytes, -s) 65532
cpu time               (seconds, -t) unlimited
max user processes              (-u) 709
virtual memory          (kbytes, -v) unlimited



On Mon, Jan 13, 2014 at 7:18 PM, Laurens Van Houtven <_ at lvh.io> wrote:

> Hi Sumanth,
>
>
> Still sounds like an open file problem. What platform? How did you set the
> number of files higher that 256? Take a look at /etc/security/limits.conf
> :-)
>
> cheers
> lvh
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20140113/9e61c43d/attachment.html>


More information about the Twisted-Python mailing list