On 01:28 pm, spu...@kiwiup.com wrote:
Hi all,

I am doing load testing on my twisted SSL server. I spawn threads(~2000) from the application and each thread will act as a SSL client and connect
to the server.

[snip]

Now it fails after 1010 successful connections. I checked the number of
open files of the server process it remains at 1010 and there are no stale
open files.

select() has a hard limit that is often 1024. Make sure you're not using the select()-based reactor (which I think is probably the default on OS X).

Jean-Paul
Client shows the same error
*SSLError: [Errno 8] _ssl.c:503: EOF occurred in violation of protocol*

Twisted logs on the server shows that it connects first and then
disconnects with this error.

*<127.0.0.1:5549 <http://127.0.0.1:5549>>  connected*
*<127.0.0.1:55249 <http://127.0.0.1:55249>>  lost connection: [('SSL
routines', 'SSL23_READ', 'ssl handshake failure')]*

How can I fix this ? How should I approach to debug ?

Thanks
-Sumanth

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to