Re: 100% CPU; what are my options?

Colin <[email protected]>
Newsgroups gmane.comp.python.twisted.web
Message-ID <[email protected]>
On Sun, Jan 3, 2010 at 5:26 AM, Leif K-Brooks <[email protected]> wrote:

> Hey,
>
> I operate Omegle (http://omegle.com/), which is a COMET-driven
> Twisted.Web app. (It doesn't use Nevow or anything; just Twisted.Web.)
> It gets fairly heavy traffic; right now, it peaks daily at around 6500
> concurrent users. Technical details:
>

You should write a success story! I've used Omegle when the boredom hits
hard.


>
> - Hosted on a Linode 2880 virtual private server
> (https://www.linode.com/); Ubuntu, 2880 MB of RAM, 4 cores available
> - EPollReactor
>
> Omegle currently runs at close to 100% CPU for most of the day, and
> I'm a bit concerned about that.
>
>
Try use the standard reactor instead of epoll. I found a similar problem
when I switched my product to the epoll reactor, the cpu usage problem went
away when I reverted back to the normal reactor.

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.