Thank you Reza!
2011/5/5 Juan Antonio Ibaņez Santorum <juanito1982@gmail.com>--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 = 9999992. Type $ sudo sysctl -p3. Place the following two lines:* soft nofile 999999* hard nofile 999999Either reboot, or also type in `ulimit -n 999999`4. Check that $ ulimit -a shows your open fixes set to 999999There's nothing special about 999999 - it's just some big number conveniently bigger than 1024. Enjoy.Reza
Reza Lotun
mobile: +44 (0)7521 310 763
email: rlotun@gmail.com
work: reza@tweetdeck.com
twitter: @rlotun
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python