Is there any way to check if it is using the the poll/epoll reactor?<div><br></div><div>Regards<br><br><div class="gmail_quote">2011/4/26 Luke Marsden <span dir="ltr">&lt;<a href="mailto:luke-lists@hybrid-logic.co.uk">luke-lists@hybrid-logic.co.uk</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Tue, 2011-04-26 at 17:42 +0200, Juan Antonio Ibañez Santorum wrote:<br>
&gt; Hello!<br>
&gt;    I have a Linux box serving my twisted app. All works ok except<br>
&gt; after some days running (where I can see my CPU going to 100%). I saw<br>
&gt; that CPU goes 100% usage when the app reaches to 1024 opened<br>
&gt; descriptors (sockets).<br>
<br>
</div>You can also switch to using the &quot;poll&quot; reactor, which will allow you to<br>
sustain more than 1024 connections.  You should still figure out what is<br>
keeping your connections open and find a way to reap them however, as<br>
this will just delay the problem.  As Glyph suggested an application<br>
level &quot;ping&quot; may help here.<br>
<br>
In the mean-time you can switch to the poll reactor by adding &quot;-r poll&quot;<br>
to your twistd command.<br>
<br>
--<br>
Best Regards,<br>
Luke Marsden<br>
CTO, Hybrid Logic Ltd.<br>
<br>
Web: <a href="http://www.hybrid-cluster.com/" target="_blank">http://www.hybrid-cluster.com/</a><br>
Hybrid Web Cluster - cloud web hosting<br>
<br>
Phone: +447791750420<br>
<br>
<br>
<br>
_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
</blockquote></div><br></div>