FFixer

By Vaughan Chandler Last update Mar 9, 2011 — Installed 14,796,122 times.

Heavy CPU use

in
Subscribe to Heavy CPU use 43 posts, 14 voices



Wolfy Scriptwright
FirefoxMacintosh

Starting yesterday sometime, Facebook Fixer started consuming large amounts of CPU every 15 seconds or so - high enough that I can't do anything in any of open FF tabs or windows. I've tried disabling all other Greasemonkey scripts, but Facebook Fixer does this even if it is the only script active. It does it on both my iBook and and my Macbook (running FF 3.5.3 and OS X 10.6.1 on both machines). I've had to disable Facebook Fixer on both machines so I can continue to use Firefox - I really love Facebook Fixer, so I hope this can be fixed soon.

 
dubrovnik4 User
FirefoxWindows

I had the same problem, but I pinned it down to Facebook Alter or Facebook Purity.. For me, the same problem does not appear only after I turn one of mentioned two off. Interesting. Aparently fight between scripts.

 
Vaughan Chan... Script's Author
FirefoxX11

Hi Wolfy, the only thing the script does periodically is automatically refresh the news feed on the home page. I initially had it checking to often and in the latest release I lengthened the delay to 1 minute, which is what it was originally supposed to be. If Facebook Fixer really is the cause of your problems, then this change might have fixed it. If not, try disabling this feature and let me know if that makes a difference.

 
brossow User
FirefoxWindows

I'm getting a similar issue with the 20090917 release. Was fine until now, but with the 20090917 release enabled, Firefox bogs periodically. Disable it and everything is back to normal. It always played nicely with other add-ons and scripts until today, but now I've had to disable it until the cause is found and a fix is released. A real bummer! :-(

UPDATE: Initial testing reveals it could be a conflict with the "Boost for Facebook" add-on from StudioLD. I disabled that add-on and things SEEM to be better. But they never interfered before and I don't have any overlapping preferences enabled between the two as far as I can tell. If this script were to add one-click poke and auto-poke, I'd ditch Boost in a heartbeat.

 
Neewb Scriptwright
FirefoxWindows

Yeah, the latest script still freezes the page here and there.

 
Wolfy Scriptwright
FirefoxMacintosh

At the moment, the updated script seems to have alleviated the problem - I've been running for several hours now without any problems.

 
dubrovnik4 User
FirefoxWindows

it is happening more and more when you have a big wall (by clicking "older posts"), so it is not so easy to determine. It seemed to me that it could be Alter or Purity (as written before), but, now I've seen that it is not so easy to determine. Only way to completely get rid of the problem is to turn greasemonkey off which is kind of stupid. Maybe grease is the problem ?

 
brossow User
FirefoxWindows

GM itself can't be the problem; disabling only this script (leaving all others enabled) alleviates the problem. GM hasn't been updated in the past few days, which is when the problem occurred -- only after updating to the newest version of this script.

 
MickBim User
FirefoxWindows

Same problem here. Since the update Firefox starts using lots of CPU for a few secs and then goes back to normal. It seems that it only happens on the homepage but I'm not very sure.

This happens on my computer at home and also on my computer at work. My work computer only has GM for plugin.

 
Kåre Hampf Scriptwright
MozillaX11

Reading older posts is almost impossible now, something's broken. It freezes firefox and the following pops up every now and then:

Warning - Unresponsive script
A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
Script: file:///$HOMEDIR/.mozilla/firefox-3.5/$PROFILENAME/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D/components/greasemonkey.js:2310

This happens in my 64-bit Firefox 3.5 and also another computer in 32-bit Firefox 3.0 (both systems running Xubuntu 9.04). I have the "refresh news feed every minute" option turned off in both cases ...

I'll read the statuses in lite.facebook.com until the next update ...

 
dubrovnik4 User
FirefoxWindows

I turned off only fixer and it is definitely fixer's fault. My computer has E6750 and 4 Gig's of RAM so it is not computer's fault. also, if I don't move or do anything, it still happens.. so, it has to be something that script does periodically even though I have automatic refresh turned off. It stops Firefox even if the Facebook is in another tab (like now, while writing this). So, please, your script is one of the better ones I found.. it is hard to live without it now :)

 
Wolfy Scriptwright
FirefoxMacintosh

Yup, I'm back to seeing problems - it is definitely related to reading many older posts, and only seems to happen with Facebook Fixer activated.

 
Vaughan Chan... Script's Author
FirefoxX11

I'm working on a fix for this and I'll put something up for testing as soon as I can.

One thing I'd like to point out: Just because the problem happens when Facebook Fixer is enabled doesn't necessarily mean that the blame lies entirely on Facebook Fixer. Since Facebook Fixer is listening for changes all the time its possible that other scripts that change Facebook cause Facebook Fixer to detect many more changes than it should. And if that other script is also listening for changes then the two scripts will end up in a loop of making changes in response to the changes each one detects from the other.

Anyway, I'm trying to see how best to change my script so that it will play nicer with other scripts, as well as certain features on Facebook that seem to cause people problems, such as inviting people to groups. I may just have to run the processPage() function with a setTimeout instead of actually listening for DOM changes.

Also, what Greasemonkey scripts do you guys use on Facebook in addition to Facebook Fixer? I don't use any others so I want to install some to see if I get any conflicts.

 
Vaughan Chan... Script's Author
FirefoxX11

For those who might be paying attention, when I said setTimeout just now, I meant setInterval - since that would actually make sense :)

 
dubrovnik4 User
FirefoxWindows

I use colour changer, purity, fixer, alter and extra links for Facebook, but when I turned off all of them and only used Fixer, I still had a problem.. It is probably something Facebook did. it could have something to do with playing youtube video's in the same window..

 
Wolfy Scriptwright
FirefoxMacintosh

The only active script I use with FB is FBF. I do, however, use a lot of add-ons in addition to Greasemonkey. I can try disabling all the add-ons except GM and see if I can replicate the problem.

 
Wolfy Scriptwright
FirefoxMacintosh

Okay, just tried it with all add-ons but Greasemonkey disabled and all GM scripts but FB Fixer disabled. I loaded my FB news feed, scrolled to the bottom and waited for the auto-open on the older posts that FB does, then scrolled to the bottom again. Clicked the Older Posts link, then scrolled to the bottom again. Repeated the Older Posts thing 2 more times, and bang, Firefox started with the cyclic CPU spinups. Roughly once every 30 seconds, the CPU would spin up for about 20 seconds, and Firefox would become unresponsive. Disabling FB Fixer and reloading the page restored more appropriate behavior - I was able to click Older Posts many times more without driving the CPU use up.

I then repeated the above procedure twice more with identical results.

 
Vaughan Chan... Script's Author
FirefoxX11

Although I'm not getting as much of a problem as you guys, I am noticing that the processPage() function is running way more than it should every now and then. So I'm gonna make some changes to prevent it from running that often and hopefully that should at least reduce the problems people get with high CPU usage and Firefox freezing. Hopefully I'll be able to release a test version this weekend.

But if anybody notices that the problem is worse when specific scripts or addons are enabled, please let me know.

 
Wolfy Scriptwright
FirefoxMacintosh

Thanks for taking a look at this Vaughan, and thanks again for FB Fixer. I really miss it when I can't use it.

 
Kåre Hampf Scriptwright
MozillaX11

I use no other scripts than FBF when reading the older posts (where the problem gets noticeable)

 
dubrovnik4 User
FirefoxWindows

thank you man for doing such a great work and for helping us getting our favorite script (except for purity) back up and running..

 
Vaughan Chan... Script's Author
FirefoxX11

Hey guys, I know I said I'd try to put something up this weekend but I didn't get a chance. I'm hoping I can get it up tomorrow.

 
Vaughan Chan... Script's Author
FirefoxX11

OK, a test version is up. This only change is in the way the script listens for changes. In fact, in this test version its not really listening at all, just calling the processPage() function at regular intervals.

Get it here: http://www.code-poet.net/userscripts/beta.html - let me know if it makes a difference.

 
dubrovnik4 User
FirefoxWindows

I haven't had time to check it thoroughly, but my first impression is that it works now. However, there is something else.. I use Facebook Alter and Fixer (and some more scripts, but the two together make this problem) and starting with this beta version of Fixer, I had the whole Facebook shifted far to the left, outside of visible screen. Alter has some variables that one can change so I turned off his page widening, but I'm not sure many users would know how to do it...

 
Vaughan Chan... Script's Author
FirefoxX11

Are you sure that started with the beta version? There were absolutely no changes made to the features of the script, the only modification was to stop the script from listening for DOM changes.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel