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

2011-05-05 Thread Reza Lotun
Small addition - I forgot to say to open /etc/security/limits.conf and then place the following two lines in step 3 in: 3. Place the following two lines: > * softnofile 99 > * hardnofile 99 > Either reboot, or also type in `ulimit -n 99` > Also, I'd be ha

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

2011-05-05 Thread Juan Antonio Ibañez Santorum
Thank you Reza! 2011/5/5 Reza Lotun > 2011/5/5 Juan Antonio Ibañez Santorum > >> I had got the same problem using '-r epoll' options when starting the app >> via twistd... When 1024 descriptors are opened, I can see 100% CPU. >> >> Any ideas? >> >> > 1. Edit /etc/sysctl.conf and place the follo

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

2011-05-05 Thread Glyph Lefkowitz
On May 5, 2011, at 10:52 AM, Reza Lotun wrote: > 2011/5/5 Juan Antonio Ibañez Santorum > I had got the same problem using '-r epoll' options when starting the app via > twistd... When 1024 descriptors are opened, I can see 100% CPU. > > Any ideas? > > > 1. Edit /etc/sysctl.conf and place th

Re: [Twisted-Python] Twisted featured on The Changelog

2011-05-05 Thread Glyph Lefkowitz
On May 3, 2011, at 5:46 PM, Kevin Horn wrote: > On Tue, May 3, 2011 at 4:12 PM, Jason J. W. Williams > wrote: > Hey Guys, > > Not sure if anyone listens to The Changelog podcast, but the episode > this week is a full feature on Twisted interviewing Glyph. :) Really > good PR for us. > > http:/

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

2011-05-05 Thread Reza Lotun
2011/5/5 Juan Antonio Ibañez Santorum > I had got the same problem using '-r epoll' options when starting the app > via twistd... When 1024 descriptors are opened, I can see 100% CPU. > > Any ideas? > > 1. Edit /etc/sysctl.conf and place the following line there: fs.file-max = 99 2. Ty

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

2011-05-05 Thread Juan Antonio Ibañez Santorum
I had got the same problem using '-r epoll' options when starting the app via twistd... When 1024 descriptors are opened, I can see 100% CPU. Any ideas? 2011/4/26 Luke Marsden > On Tue, 2011-04-26 at 17:42 +0200, Juan Antonio Ibañez Santorum wrote: > > Hello! > >I have a Linux box serving m