LWN.net Logo

A strategy for dealing with a flaky computer

A strategy for dealing with a flaky computer

Posted Oct 15, 2009 7:17 UTC (Thu) by dlang (✭ supporter ✭, #313)
In reply to: A strategy for dealing with a flaky computer by eru
Parent article: A strategy for dealing with a flaky computer

firefox also has a bug that I see with large numbers of open tabs where it gets into a loop where one thread is spinning in a tight loop (from an strace it looks like it's got a file handle that it thinks has data in it, but when it tries to read it gets nothing and does another select....)

this is not directly repeatable, so killing and restarting firefox frequenly fixes it (for a while). reducing the number of open tabs makes it less likely to happen, having a slow DNS server (or slow network, anything that makes page loading take a while) seems to make it more likely

if you can manage to be patient enough to get to a session of top on the box, look to see if there is a firefox thread eating up an entire CPU (on a multi-core machine this is survivable, on a single-core machine it will make it very hard to get any cpu time for other processes)


(Log in to post comments)

A strategy for dealing with a flaky computer

Posted Oct 15, 2009 9:06 UTC (Thu) by ramdyne (subscriber, #536) [Link]

That sounds very much like an FD_SET overflow (using select() ) I read about this morning in relation to an Asterisk problem.

--
Andreas

A strategy for dealing with a flaky computer

Posted Oct 16, 2009 4:51 UTC (Fri) by njs (guest, #40338) [Link]

A quick poke at strace reveals that firefox uses poll, not select. Clever thought, though...

Firefox stability with many tabs

Posted Oct 15, 2009 9:33 UTC (Thu) by Cato (subscriber, #7643) [Link]

This might be this Firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=263160 - related to GTK, it only happens with (say) 50 to 100 tabs or more. The main symptom is that IFRAMEs 'pop out' as windows, and eventually Firefox hangs or crashes.

This bug has been open from Firefox 1.0 to 3.5.x, so if any Firefox or GTK experts could take a look at it, I'm sure some heavy Firefox users would be thankful. Currently Firefox works much better on Windows than Linux when you have 100+ tabs, for this reason.

Firefox stability with many tabs

Posted Oct 15, 2009 17:48 UTC (Thu) by dlang (✭ supporter ✭, #313) [Link]

no, this is a different bug, I am not having anything 'jump out' and create new windows, just one thread of firefox goes into a tight loop.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds