[Twisted-Python] 100% CPU on high opened descriptors

Patrick Mylund Nielsen twisted at patrickmylund.com
Wed Apr 27 02:58:13 EDT 2011


That is sufficient, yes.

You might even want to make that 'epoll' since it scales better than
poll (assuming you're running on Linux 2.6+ only)

Best,
Patrick

2011/4/27 Juan Antonio Ibañez Santorum <juanito1982 at gmail.com>:
> Must I make any change appart from start the app with twistd plus '-r poll'?
>
> 2011/4/27 Luke Marsden <luke-lists at hybrid-logic.co.uk>
>>
>> >> 2011/4/26 Luke Marsden <luke-lists at hybrid-logic.co.uk>
>> >> You can also switch to using the "poll" reactor
>>
>> On Wed, 2011-04-27 at 08:01 +0200, Juan Antonio Ibañez Santorum wrote:
>> > Is that the unique way to get mor than 1024 simultaneous connections?
>> >
>> >
>> > Regads
>> >
>>
>> On Linux and BSD, yes. See
>>
>> http://twistedmatrix.com/documents/current/core/howto/choosing-reactor.html
>> for all the options for different platforms.
>>
>> --
>> Best Regards,
>> Luke Marsden
>> CTO, Hybrid Logic Ltd.
>>
>> Web: http://www.hybrid-cluster.com/
>> Hybrid Web Cluster - cloud web hosting
>>
>> Phone: +447791750420
>>
>>
>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>



More information about the Twisted-Python mailing list