On 29/08/2007, at 5:28 PM, Michael Claßen wrote:

> Hi there,
>
> we run into problems with pymsnt (up to latest hg version) using  
> 100% CPU (with python 2.4.4 + twisted 2.4.0 + pymsnt-epoll-0.7 as  
> well as python 2.5.1 and twisted 2.5.0)
>
> strace shows:
> ...
> <snip>
> ...
> the timeout value slowly comes down to zero then goes up to 200 or  
> so and comes down again. The system sees a fair amount of traffic  
> but similar use of the ICQ transport has CPU utilisation under 10%.  
> Eventually the actual message processing grinds to a halt, having  
> MSN connections time out, while the CPU keeps spinning. The  
> gettimeofday() calls are from logging and pose no problem.
>
> Shouldn't the selectable have been removed from the epfd? Is there  
> an easy way to debug fd allocation of twisted connections? Ideas  
> appreciated!
>
> cheers,
> mc

Twisted 2.5.0 has an epoll reactor builtin, I'd suggest trying that  
and seeing if it fixes the problem.

---

James
_______________________________________________
py-transports mailing list
py-transports@blathersource.org
http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports

Reply via email to