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

Juan Antonio IbaƱez Santorum juanito1982 at gmail.com
Tue May 10 10:07:06 MDT 2011


2011/5/10 Itamar Turner-Trauring <itamar at itamarst.org>

> > Still having problems...
> >
> > I can see that twistd process has a higher number than 1024 looking at
> > /proc/pid/limits but whe 1024 descriptors number gets reached the system
> > becomes unstable. It also has been launche using '-r epoll' option. Any
> > other idea?
>
> 0. What does "unstable" mean?
>

I started to see an incrment on memory usage and stopping to accept new
connections. I had to restart the app as it is running in a production
enviroment.


>
> 1. There may be user-specific limits in addition to OS-level limits. Did
> you use "ulimit -n" to raise that limit?
>

Yes, and I checked the limit was ok looking at /proc/pid/limits


>
> 2. Are you using processes on a version of Linux older than 2.6.11?
>

No. 2.6.34 on a Centos distro.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20110510/e6818ed8/attachment-0001.html>


More information about the Twisted-Python mailing list