[Twisted-Python] How can I change max simultaneously connection in twisted

2009-05-05 Thread 孙绍轩
Hello all I just wrote a small code to holding many http requests until server's status change. Everything is fine but when simultaneously connection up to 1k+, the server code didn't response to new connection. I've set ulimit -n's value to 65535 and the code using epollreactor mode. Are there

Re: [Twisted-Python] How can I change max simultaneously connection in twisted

2009-05-05 Thread 孙绍轩
孙绍轩 写道: Hello all I just wrote a small code to holding many http requests until server's status change. Everything is fine but when simultaneously connection up to 1k+, the server code didn't response to new connection. I've set ulimit -n's value to 65535 and the code using epollreactor

Re: [Twisted-Python] How can I change max simultaneously connection in twisted

2009-05-05 Thread Jean-Paul Calderone
On Tue, 05 May 2009 20:22:22 +0800, 孙绍轩 sunshaox...@cdeledu.com wrote: 孙绍轩 写道: [snip] I've found out how to solve the problem! I've changed python from 2.4 to 2.5, the problem has gone. It's a bug in twisted? No, a bug in Python.

Re: [Twisted-Python] How can I change max simultaneously connection in twisted

2009-05-05 Thread 孙绍轩
Thomas Hervé 写道: Le mardi 05 mai 2009 à 19:33 +0800, 孙绍轩 a écrit : Hello all I just wrote a small code to holding many http requests until server's status change. Everything is fine but when simultaneously connection up to 1k+, the server code didn't response to new connection. I've set