1.9.6.9 high CPU usage

Ask for help about NoScript, no registration needed to post
guest

1.9.6.9 high CPU usage

Post by guest »

Hello,

I have a separate Firefox profile set up with NoScript for a specific purpose. It involves opening ~40 tabs with changing content (autosurfing) and leaving them for extended periods of time. Ever since NoScript had ABE added, I noticed that CPU usage of that Firefox profile goes up to 50% after about an hour of usage. I have a dual-core CPU so 50% means it uses one core fully.

I turned off ABE, and sure enough, the problem went away :D

However after installing 1.9.6.9 I noticed the problem (high CPU usage - 50% - and very slow and unresponsive Firefox) came back. In fact now it starts happening almost right away. ABE is still disabled. NoScript is the only add-on in that profile. It isn't happening on my "normal" profile. I think the reason is ~40 open tabs and a lot of frames and iframes. However I have a pretty powerful computer and it wasn't an issue before.

Any ideas how to fix this?
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729) Creative ZENcast v2.01.01
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: 1.9.6.9 high CPU usage

Post by Giorgio Maone »

Is the issue still present in latest development build 1.9.7.1?
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729)
guest

Re: 1.9.6.9 high CPU usage

Post by guest »

I've just tried 1.9.7.2 and sadly it's still happening.

Just to be perfectly clear here, I never had any issues with older versions before ABP was added, or with pre-1.9.6.9 versions with ABP disabled.
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729) Creative ZENcast v2.01.01
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: 1.9.6.9 high CPU usage

Post by Giorgio Maone »

Can you give me more details on how to reproduce your issue?
E.g. an URL for this "auto-navigation" stuff?
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729)
guest

Re: 1.9.6.9 high CPU usage

Post by guest »

I think the issue is that I use a lot of tabs and sites are regularly changed on every one. So perhaps you would be able to reproduce the issue if you open a big number of tabs (like 40+) and continuously browse on every one. But of course I don't want to ask for too much since I seem to be the only one reporting this problem :oops: Maybe I should try it with normal browsing but a lot of tabs and extended period of time to see if it'll happen too?

It doesn't happen right away. Sometimes it takes maybe half an hour. But after it does start, even if I leave only 1-2 tabs, it still keeps using 50% CPU and works very slowly until I restart Firefox.

If you do try autosurfs, here are some you can use (others require registration so that would be kind of a pain to try). Also the domain needs to have javascript enabled for the surfbar to work. But often there's a lot of crap sites in rotation, that's why I use NoScript to protect.

http://www.126hits.com/view.php?id=1
http://www.autohits247.com/view.php?id=1
http://www.216hits.com/view.php?id=1
http://www.autosurf.cc/view.php?id=1
http://www.autohits.info/view.php?id=1
http://www.erohits.us/view.php?id=1
http://www.website-traffic.cc/view.php?id=1
http://www.francevisiteur.com/view.php?id=1
http://www.autovisitas.com/view.php?id=1
http://www.hispanichits.com/view.php?id=1
http://breedtraffic.com/Surf/Regular.php?ID=1
http://honeyhitz.com/Surf/Regular.php?ID=1
http://photographic-traffic.com/Surf/Regular.php?ID=1

Thank you so much for looking into this BTW.
Last edited by therube on Tue Aug 04, 2009 2:54 pm, edited 1 time in total.
Reason: Live links disabled
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729) Creative ZENcast v2.01.01
nerd

Re: 1.9.6.9 high CPU usage

Post by nerd »

This was fixed somewhere along the way, but after the new update it's happening again. High CPU usage after using a lot of tabs and opening JavaScript-heavy pages. Namely different Facebook games. I several games on Facebook and after being on them for a while, Firefox becomes really sluggish and uses a lot of CPU. Only goes away after I restart Firefox.
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 Creative ZENcast v2.01.01
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: 1.9.6.9 high CPU usage

Post by Giorgio Maone »

nerd wrote:This was fixed somewhere along the way, but after the new update it's happening again. High CPU usage after using a lot of tabs and opening JavaScript-heavy pages. Namely different Facebook games. I several games on Facebook and after being on them for a while, Firefox becomes really sluggish and uses a lot of CPU. Only goes away after I restart Firefox.
Are you sure it's latest NoScript?
Does the problem actually go away if you disable it and if you downgrade it?
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
yaneurabeya

Re: 1.9.6.9 high CPU usage

Post by yaneurabeya »

For me at least, it's definitely NoScript that's pegging a core on my machine at 100% CPU. I've cleared all possible state in the browser (minus Active Logins and Site Preferences), and restarted the browser several times, as well as enabled and disabled the Add-on, and when NoScript is disabled and all other Add-ons (Adblock Plus, Video Downloader) are loaded, everything's fine. I'll try clearing my state further, but something happened a while ago that's causing NoScript to misbehave (firefox in top is reporting that it's waiting for ucond, so it might be an issue with how firefox does locking or threading...).

Here are some [hopefully] helpful details:

Code: Select all

Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.11) Gecko/20101021 Firefox/3.6.11

$ uname -a
FreeBSD bayonetta.local 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r214169M: Thu Oct 21 14:33:37 PDT 2010     gcooper@bayonetta.local:/usr/obj/usr/src/sys/BAYONETTA  amd64

CFLAGS/CXXFLAGS = -fno-strict-aliasing -pipe -O2
Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.11) Gecko/20101021 Firefox/3.6.11
yaneurabeya
Posts: 1
Joined: Mon Oct 25, 2010 4:22 pm

Re: 1.9.6.9 high CPU usage

Post by yaneurabeya »

yaneurabeya wrote:For me at least, it's definitely NoScript that's pegging a core on my machine at 100% CPU. I've cleared all possible state in the browser (minus Active Logins and Site Preferences), and restarted the browser several times, as well as enabled and disabled the Add-on, and when NoScript is disabled and all other Add-ons (Adblock Plus, Video Downloader) are loaded, everything's fine. I'll try clearing my state further, but something happened a while ago that's causing NoScript to misbehave (firefox in top is reporting that it's waiting for ucond, so it might be an issue with how firefox does locking or threading...).

Here are some [hopefully] helpful details:

Code: Select all

Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.11) Gecko/20101021 Firefox/3.6.11

$ uname -a
FreeBSD bayonetta.local 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r214169M: Thu Oct 21 14:33:37 PDT 2010     gcooper@bayonetta.local:/usr/obj/usr/src/sys/BAYONETTA  amd64

CFLAGS/CXXFLAGS = -fno-strict-aliasing -pipe -O2
I also have another machine that hardware-wise is exactly to spec as this one with minor differences in terms of the running OS version and NoScript settings (whitelist is different between the two machines, as well as the sessions, etc) that's exhibiting the same problem. I'll need to start toying around with NoScript and/or start tracing things to see where exactly the system is breaking down..

Both machines are running NoScript 2.0.35.
Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.11) Gecko/20101021 Firefox/3.6.11
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: 1.9.6.9 high CPU usage

Post by Giorgio Maone »

@yaneurabeya:
Since you're on FreeBSD, you probably need to disable ABE's WAN IP checks because of https://bugzilla.mozilla.org/show_bug.cgi?id=595823
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11
Post Reply