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

Juan Antonio Ibañez Santorum juanito1982 at gmail.com
Wed Apr 27 03:04:05 EDT 2011


Thank you very much for your tip Patrick!

2011/4/27 Patrick Mylund Nielsen <twisted at patrickmylund.com>

> 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
> >
> >
>
> _______________________________________________
> 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/20110427/a8c8a062/attachment.htm 


More information about the Twisted-Python mailing list