X
點擊此處開啟此網站的行動版。

技術支援討論區

CPU usage hovers around 50% only on the homepage of Facebook in Firefox.

已張貼

I've noticed in the last few days that my CPU usage hovers around 50% when I'm on the Facebook home page, and only the home page. Profiles, messages, etc. are fine.

Even as I type this Firefox is hovering at little-to-no CPU usage, never increasing beyond 10%. Switching the tab to Facebook immediately causes it to jump to between 30 and 40%.

In short I've have tried:

Clearing the cache & cookies (and later all content) Disabling add-ons Disabling all but the necessary extensions Safe Mode/resetting Facebook A new profile with no information brought forward Disabling hardware acceleration Modifying settings relating to pipelining and session store under about:config.

I don't seem to have the same problem in other browsers.

I've exhausted all of the troubleshooting I can think of.

I've noticed in the last few days that my CPU usage hovers around 50% when I'm on the Facebook home page, and only the home page. Profiles, messages, etc. are fine. Even as I type this Firefox is hovering at little-to-no CPU usage, never increasing beyond 10%. Switching the tab to Facebook immediately causes it to jump to between 30 and 40%. In short I've have tried: Clearing the cache & cookies (and later all content) Disabling add-ons Disabling all but the necessary extensions Safe Mode/resetting Facebook A new profile with no information brought forward Disabling hardware acceleration Modifying settings relating to pipelining and session store under about:config. I don't seem to have the same problem in other browsers. I've exhausted all of the troubleshooting I can think of.

額外的系統細節

已安裝的外掛程式

  • Shockwave Flash 11.9 r900
  • Adobe PDF Plug-In For Firefox and Netscape 10.1.8

應用程式

  • Firefox 26.0
  • 使用者代理:Mozilla/5.0 (Windows NT 6.0; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0
  • 技術支援網址:https://support.mozilla.org/1/firefox/26.0/WINNT/en-US/

擴充套件

  • Adblock Plus 2.4 ({d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d})
  • Troubleshooter 1.1a (troubleshooter@mozilla.org)
  • YesScript 1.9.1 (yesscript@userstyles.org)
  • HP Smart Web Printing 4.60 (smartwebprinting@hp.com) (Inactive)
  • Microsoft .NET Framework Assistant 1.0 ({20a82645-c095-46ed-80e3-08825760534b}) (Inactive)

JavaScript

  • incrementalGCEnabled: True

圖形

  • adapterDescription: NVIDIA GeForce 9500M GS
  • adapterDescription2:
  • adapterDeviceID: 0x0405
  • adapterDeviceID2:
  • adapterDrivers: nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
  • adapterDrivers2:
  • adapterRAM: 512
  • adapterRAM2:
  • adapterVendorID: 0x10de
  • adapterVendorID2:
  • direct2DEnabled: False
  • direct2DEnabledMessage: [u'']
  • directWriteEnabled: False
  • directWriteVersion: 7.0.6002.18392
  • driverDate: 7-9-2010
  • driverDate2:
  • driverVersion: 8.17.12.5896
  • driverVersion2:
  • info: {u'AzureCanvasBackend': u'skia', u'AzureFallbackCanvasBackend': u'cairo', u'AzureContentBackend': u'none', u'AzureSkiaAccelerated': 0}
  • isGPU2Active: False
  • numAcceleratedWindows: 0
  • numAcceleratedWindowsMessage: [u'']
  • numTotalWindows: 1
  • webglRenderer: Google Inc. -- ANGLE (NVIDIA GeForce 9500M GS Direct3D9Ex vs_3_0 ps_3_0)
  • windowLayerManagerRemote: False
  • windowLayerManagerType: Basic

修改過的偏好設定

  • accessibility.typeaheadfind.flashBar: 0
  • browser.cache.disk.capacity: 358400
  • browser.cache.disk.smart_size.first_run: False
  • browser.cache.disk.smart_size.use_old_max: False
  • browser.cache.disk.smart_size_cached_value: 358400
  • browser.places.smartBookmarksVersion: 4
  • browser.sessionstore.upgradeBackup.latestBuildID: 20131205075310
  • browser.startup.homepage: facebook.com
  • browser.startup.homepage_override.buildID: 20131205075310
  • browser.startup.homepage_override.mstone: 26.0
  • dom.mozApps.used: True
  • extensions.lastAppVersion: 26.0
  • gfx.direct2d.disabled: True
  • gfx.direct3d.last_used_feature_level_idx: 1
  • layers.acceleration.disabled: True
  • network.cookie.prefsMigrated: True
  • network.http.pipelining: True
  • network.http.pipelining.maxrequests: 8
  • places.database.lastMaintenance: 1389503235
  • places.history.expiration.transient_current_max_pages: 104858
  • plugin.disable_full_page_plugin_for_types: application/pdf
  • plugin.importedState: True
  • plugin.state.npdeployjava: 0
  • plugin.state.npgoogleupdate: 0
  • plugin.state.npitunes: 0
  • plugin.state.npovshelper: 0
  • plugin.state.npqtplugin: 0
  • plugin.state.npvlc: 0
  • plugin.state.npwebsllauncher: 0
  • plugin.state.npwlpg: 0
  • plugin.state.npwpf: 0
  • privacy.sanitize.migrateFx3Prefs: True
  • storage.vacuum.last.index: 1
  • storage.vacuum.last.places.sqlite: 1389338406

其他

  • User JS: 否
  • 輔助功能: 否
Aman Routh 77 個解決方法 607 個答案

To see whether it could be related to the Flash Player plugin, try turning on "Click to Play" temporarily on the Add-ons page. Either:

  • Ctrl+Shift+a
  • orange Firefox button (or Tools menu) > Add-ons


In the left column, click Plugins. Then change the setting for Shockwave Flash from "Always Activate" to "Ask to Activate". If any site wants to use Flash, a notification icon will appear in the address bar. I'd wait to see whether CPU usage is high with Flash disabled before enabling it.

To see whether it could be related to the Flash Player plugin, try turning on "Click to Play" temporarily on the Add-ons page. Either: * Ctrl+Shift+a * orange Firefox button (or Tools menu) > Add-ons In the left column, click Plugins. Then change the setting for Shockwave Flash from "Always Activate" to "Ask to Activate". If any site wants to use Flash, a notification icon will appear in the address bar. I'd wait to see whether CPU usage is high with Flash disabled before enabling it.

由 Aman Routh 於 修改

提出問題者

Thanks for the suggestions. That's something I hadn't considered, but it doesn't seem to have had any effect. Still hovering between mid-30s to 50% when I switch to the tab running the Facebook homepage.

Thanks for the suggestions. That's something I hadn't considered, but it doesn't seem to have had any effect. Still hovering between mid-30s to 50% when I switch to the tab running the Facebook homepage.
Aman Routh 77 個解決方法 607 個答案
[[Firefox uses too many CPU resources - How to fix]]

提出問題者

I had previously tried most of the steps listed in that article.

I've never used themes.

All plug-ins are set to Never Activate except Shockwave (setting to Ask didn't help) and Acrobat (which is set to Ask).

The only add-on I had was AdBlock Plus.

I tried both Flashblock and NoScript, both did not help.

And hardware acceleration does not make a difference if on or off, currently it's off.

I had previously tried most of the steps listed in that article. I've never used themes. All plug-ins are set to Never Activate except Shockwave (setting to Ask didn't help) and Acrobat (which is set to Ask). The only add-on I had was AdBlock Plus. I tried both Flashblock and NoScript, both did not help. And hardware acceleration does not make a difference if on or off, currently it's off.

提出問題者

To update, I just went to the trouble of completely uninstalling, cleaning-up and reinstalling Firefox. I have Ad Block and Flash Player installed. Nothing else (and tested Facebook in Firefox before installing both of those). The issue STILL persists.

To update, I just went to the trouble of completely uninstalling, cleaning-up and reinstalling Firefox. I have Ad Block and Flash Player installed. Nothing else (and tested Facebook in Firefox before installing both of those). The issue STILL persists.
Aman Routh 77 個解決方法 607 個答案

Please read this article and provide us with Some information, simply follow the steps and paste the information here.

Use the Troubleshooting Information page to help fix Firefox issues

Please read this article and provide us with Some information, simply follow the steps and paste the information here. [[Use the Troubleshooting Information page to help fix Firefox issues]]

提出問題者

Application Basics


Name: Firefox Version: 26.0 User Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0

Extensions


Name: Adblock Plus Version: 2.4 Enabled: true ID: {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}

Name: HP Smart Web Printing Version: 4.60 Enabled: false ID: smartwebprinting@hp.com

Name: Microsoft .NET Framework Assistant Version: 1.0 Enabled: false ID: {20a82645-c095-46ed-80e3-08825760534b}

Important Modified Preferences


browser.cache.disk.capacity: 358400 browser.cache.disk.smart_size.first_run: false browser.cache.disk.smart_size.use_old_max: false browser.cache.disk.smart_size_cached_value: 358400 browser.places.smartBookmarksVersion: 4 browser.sessionstore.interval: 300000 browser.sessionstore.upgradeBackup.latestBuildID: 20131205075310 browser.startup.homepage: https://www.facebook.com/ browser.startup.homepage_override.buildID: 20131205075310 browser.startup.homepage_override.mstone: 26.0 dom.mozApps.used: true extensions.lastAppVersion: 26.0 gfx.direct2d.disabled: true gfx.direct3d.last_used_feature_level_idx: 1 layers.acceleration.disabled: true network.cookie.prefsMigrated: true places.database.lastMaintenance: 1389662884 places.history.expiration.transient_current_max_pages: 104858 plugin.disable_full_page_plugin_for_types: application/pdf plugin.importedState: true plugin.state.npdeployjava: 0 plugin.state.npgoogleupdate: 0 plugin.state.npitunes: 0 plugin.state.npovshelper: 0 plugin.state.nppdf: 1 plugin.state.npqtplugin: 0 plugin.state.npvlc: 0 plugin.state.npwebsllauncher: 0 plugin.state.npwlpg: 0 plugin.state.npwpf: 0 privacy.sanitize.migrateFx3Prefs: true storage.vacuum.last.index: 0 storage.vacuum.last.places.sqlite: 1389662884

Graphics


Adapter Description: NVIDIA GeForce 9500M GS Adapter Drivers: nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um Adapter RAM: 512 Device ID: 0x0405 DirectWrite Enabled: false (7.0.6002.18392) Driver Date: 7-9-2010 Driver Version: 8.17.12.5896 GPU #2 Active: false GPU Accelerated Windows: 0/1 Basic Vendor ID: 0x10de WebGL Renderer: Google Inc. -- ANGLE (NVIDIA GeForce 9500M GS Direct3D9Ex vs_3_0 ps_3_0) windowLayerManagerRemote: false AzureCanvasBackend: skia AzureContentBackend: none AzureFallbackCanvasBackend: cairo AzureSkiaAccelerated: 0

JavaScript


Incremental GC: true

Accessibility


Activated: false Prevent Accessibility: 0

Library Versions


NSPR Expected minimum version: 4.10.2 Version in use: 4.10.2

NSS Expected minimum version: 3.15.3.1 Basic ECC Version in use: 3.15.3.1 Basic ECC

NSSSMIME Expected minimum version: 3.15.3.1 Basic ECC Version in use: 3.15.3.1 Basic ECC

NSSSSL Expected minimum version: 3.15.3.1 Basic ECC Version in use: 3.15.3.1 Basic ECC

NSSUTIL Expected minimum version: 3.15.3.1 Version in use: 3.15.3.1

Application Basics ------------------ Name: Firefox Version: 26.0 User Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 Extensions ---------- Name: Adblock Plus Version: 2.4 Enabled: true ID: {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d} Name: HP Smart Web Printing Version: 4.60 Enabled: false ID: smartwebprinting@hp.com Name: Microsoft .NET Framework Assistant Version: 1.0 Enabled: false ID: {20a82645-c095-46ed-80e3-08825760534b} Important Modified Preferences ------------------------------ browser.cache.disk.capacity: 358400 browser.cache.disk.smart_size.first_run: false browser.cache.disk.smart_size.use_old_max: false browser.cache.disk.smart_size_cached_value: 358400 browser.places.smartBookmarksVersion: 4 browser.sessionstore.interval: 300000 browser.sessionstore.upgradeBackup.latestBuildID: 20131205075310 browser.startup.homepage: https://www.facebook.com/ browser.startup.homepage_override.buildID: 20131205075310 browser.startup.homepage_override.mstone: 26.0 dom.mozApps.used: true extensions.lastAppVersion: 26.0 gfx.direct2d.disabled: true gfx.direct3d.last_used_feature_level_idx: 1 layers.acceleration.disabled: true network.cookie.prefsMigrated: true places.database.lastMaintenance: 1389662884 places.history.expiration.transient_current_max_pages: 104858 plugin.disable_full_page_plugin_for_types: application/pdf plugin.importedState: true plugin.state.npdeployjava: 0 plugin.state.npgoogleupdate: 0 plugin.state.npitunes: 0 plugin.state.npovshelper: 0 plugin.state.nppdf: 1 plugin.state.npqtplugin: 0 plugin.state.npvlc: 0 plugin.state.npwebsllauncher: 0 plugin.state.npwlpg: 0 plugin.state.npwpf: 0 privacy.sanitize.migrateFx3Prefs: true storage.vacuum.last.index: 0 storage.vacuum.last.places.sqlite: 1389662884 Graphics -------- Adapter Description: NVIDIA GeForce 9500M GS Adapter Drivers: nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um Adapter RAM: 512 Device ID: 0x0405 DirectWrite Enabled: false (7.0.6002.18392) Driver Date: 7-9-2010 Driver Version: 8.17.12.5896 GPU #2 Active: false GPU Accelerated Windows: 0/1 Basic Vendor ID: 0x10de WebGL Renderer: Google Inc. -- ANGLE (NVIDIA GeForce 9500M GS Direct3D9Ex vs_3_0 ps_3_0) windowLayerManagerRemote: false AzureCanvasBackend: skia AzureContentBackend: none AzureFallbackCanvasBackend: cairo AzureSkiaAccelerated: 0 JavaScript ---------- Incremental GC: true Accessibility ------------- Activated: false Prevent Accessibility: 0 Library Versions ---------------- NSPR Expected minimum version: 4.10.2 Version in use: 4.10.2 NSS Expected minimum version: 3.15.3.1 Basic ECC Version in use: 3.15.3.1 Basic ECC NSSSMIME Expected minimum version: 3.15.3.1 Basic ECC Version in use: 3.15.3.1 Basic ECC NSSSSL Expected minimum version: 3.15.3.1 Basic ECC Version in use: 3.15.3.1 Basic ECC NSSUTIL Expected minimum version: 3.15.3.1 Version in use: 3.15.3.1
michapma 1 個解決方法 9 個答案

You might consider installing and using Process Explorer to isolate exactly which process is hogging the CPU cycles.

I don't use Facebook, but "Facebook can cause a fair bit of cpu usage depending on the page you are on and size of friends list, feed wall and such." https://support.mozilla.org/en-US/questions/933514

If Flash is disabled, you might concentrate on JavaScript. You wrote that you used NoScript, but how? Did you temporarily block JavaScript for all sites?

You might consider installing and using Process Explorer to isolate exactly which process is hogging the CPU cycles. I don't use Facebook, but "Facebook can cause a fair bit of cpu usage depending on the page you are on and size of friends list, feed wall and such." https://support.mozilla.org/en-US/questions/933514 If Flash is disabled, you might concentrate on JavaScript. You wrote that you used NoScript, but how? Did you temporarily block JavaScript for all sites?
witchee2u 0 個解決方法 3 個答案

I'm having the same problem with my FB newsfeed. I have 40+ FB groups that I've joined & my cpu % jumps up to 50+ % on my newsfeed or a group newsfeed. My profile page, messages, friends profiles the cpu % is 10 or less. I've tried the suggestions to fix & had no luck.

I'm having the same problem with my FB newsfeed. I have 40+ FB groups that I've joined & my cpu % jumps up to 50+ % on my newsfeed or a group newsfeed. My profile page, messages, friends profiles the cpu % is 10 or less. I've tried the suggestions to fix & had no luck.

提出問題者

Facebook's own community help section seems to indicate others are having the issue, possibly in Internet Explorer as well, but not in Chrome.

It makes it hard to trouble shoot as it's obviously not isolated to one browser, but it's also not an issue with one of the top browsers.

So where is the problem? Is it a flaw in Firefox that it can't handle something the news feed is doing? Or is it a flaw in the news feed that Chrome has managed to avoid?

Either way it's a major annoyance and I'm tempted to switch to Chrome entirely.

Facebook's own community help section seems to indicate others are having the issue, possibly in Internet Explorer as well, but not in Chrome. It makes it hard to trouble shoot as it's obviously not isolated to one browser, but it's also not an issue with one of the top browsers. So where is the problem? Is it a flaw in Firefox that it can't handle something the news feed is doing? Or is it a flaw in the news feed that Chrome has managed to avoid? Either way it's a major annoyance and I'm tempted to switch to Chrome entirely.

有幫助的回覆

Well, someone on Facebook's community help threads suggested adding a filter to AdBlock Plus:

facebook.com###leftCol div.rfloat

So far it seems to be working. It's not perfect, it still spikes a little bit here and there but it's nowhere close to the 50% that it was before.

It's not the solution I expected but I'm just glad it works.

Well, someone on Facebook's community help threads suggested adding a filter to AdBlock Plus: facebook.com###leftCol div.rfloat So far it seems to be working. It's not perfect, it still spikes a little bit here and there but it's nowhere close to the 50% that it was before. It's not the solution I expected but I'm just glad it works.
Micholas 0 個解決方法 1 個答案

I have been experiencing similar problems in using FF to access Facebook. When I load or click on a tab with my FB News Feed or any Group, my CPU usage rises to 80% to 95%. Any concurrent function on my machine slows down dramatically. Executing a video within the loaded FB display results in very sporadic operation. However, clicking on any FF tab containing any Facebook content other than a News Feed or Group (such as an individual's Profile) poses no problems.

I have tried all the suggestions above as well as completely removing FF and all its components and application data, and reinstalling it devoid of any extensions , without resolution. I also updated my video drivers. I have done this using both FF 24 and 26.

Interestingly, when I log onto Facebook using another account, the problem is not replicated. Returning to the first account brings a return of the problem. Facebook is apparently deploying new code designed to provide new functionality, including the automatic play of videos contained in posts. In doing so, Facebook typically rolls out new code by selected user group.

I am experiencing no problems in accessing and navigating Facebook with IE (other than IE's usual problems), Chrome or Opera.

Is it possible that the new code deployed to some but not all users is not compliant with FF?

I have been experiencing similar problems in using FF to access Facebook. When I load or click on a tab with my FB News Feed or any Group, my CPU usage rises to 80% to 95%. Any concurrent function on my machine slows down dramatically. Executing a video within the loaded FB display results in very sporadic operation. However, clicking on any FF tab containing any Facebook content other than a News Feed or Group (such as an individual's Profile) poses no problems. I have tried all the suggestions above as well as completely removing FF and all its components and application data, and reinstalling it devoid of any extensions , without resolution. I also updated my video drivers. I have done this using both FF 24 and 26. Interestingly, when I log onto Facebook using another account, the problem is not replicated. Returning to the first account brings a return of the problem. Facebook is apparently deploying new code designed to provide new functionality, including the automatic play of videos contained in posts. In doing so, Facebook typically rolls out new code by selected user group. I am experiencing no problems in accessing and navigating Facebook with IE (other than IE's usual problems), Chrome or Opera. Is it possible that the new code deployed to some but not all users is not compliant with FF?
Kirk M 0 個解決方法 6 個答案

@GregYorke - Adding the AdBlock Plus filter you mentioned did the trick for me as well. Many thanks! CPU usage for the FB News Feed is mostly back to normal.

It's more of a work around than a real solution of course since this problem doesn't happen in Google Chrome (my OS is Linux Mint 16) at all. This problem occurs with Firefox 26 with or without add-ons enabled, with Javascript, animated images and Flash disabled (heck, it even happens with CSS disabled so there's nothing but text on the screen). It really looks like it's a problem with Firefox itself.

@GregYorke - Adding the AdBlock Plus filter you mentioned did the trick for me as well. Many thanks! CPU usage for the FB News Feed is mostly back to normal. It's more of a work around than a real solution of course since this problem doesn't happen in Google Chrome (my OS is Linux Mint 16) at all. This problem occurs with Firefox 26 with or without add-ons enabled, with Javascript, animated images and Flash disabled (heck, it even happens with CSS disabled so there's nothing but text on the screen). It really looks like it's a problem with Firefox itself.
GREY_FOX 0 個解決方法 3 個答案

Same problem for me... Firefox 27 on Ubuntu 13.10

Same problem for me... Firefox 27 on Ubuntu 13.10
GREY_FOX 0 個解決方法 3 個答案

I tried with the adBlock filter and by disabling the addon... it didn't make the trick.

I tried with the adBlock filter and by disabling the addon... it didn't make the trick.
cor-el
  • Top 10 Contributor
  • Moderator
17575 個解決方法 158975 個答案

You can try to disable JavaScript temporarily to check if this is an issue with a script running on that page.

You can try to disable JavaScript temporarily to check if this is an issue with a script running on that page. *http://kb.mozillazine.org/JavaScript
GREY_FOX 0 個解決方法 3 個答案

The AdBlock trick worked after reboot the system... thanks!

The AdBlock trick worked after reboot the system... thanks!
taglich 0 個解決方法 7 個答案

有幫助的回覆

Why id Firefox consuming so much more CPU cycles then the same (Facebook page) on other browsers? You may see the difference in this screen capture FF27 vs IE11 Is there another way to fix this then the AdBlock filter suggested before? This might maybe temporary fix the issue but who knows what problem it introduces for next?

Why id Firefox consuming so much more CPU cycles then the same (Facebook page) on other browsers? You may see the difference in this screen capture FF27 vs IE11 Is there another way to fix this then the AdBlock filter suggested before? This might maybe temporary fix the issue but who knows what problem it introduces for next?
g1 0 個解決方法 1 個答案

I have two additions, that may or may not be relevant, given that my cpu is old and slow (Athlon XP at 540 MHz)

- chromium (!= chrome) shows the same problem, although less dramatically: it keeps the cpu at 100% for a long time; and sometimes sits idles for a short time.

- I painfully managed to run FF's profiler for several seconds, and it seems that most of the time is spent in long call chains in FB's javascript, very likely related with caching data for infinite scrolling.

The amount of JS that FB throws at browsers is impressive (lots of source files and lots of functions in each file), and I guess that some events are triggered by the server before previous event handlers have a chance to complete.

Perhaps FB's JS is really too demanding for old cpus, and the different behaviour between Chrome and FF can be explained in a slightly more efficient JS interpreter in the former, that saves it from ever-growing event queues.

I have two additions, that may or may not be relevant, given that my cpu is old and slow (Athlon XP at 540 MHz) - chromium (!= chrome) shows the same problem, although less dramatically: it keeps the cpu at 100% for a long time; and sometimes sits idles for a short time. - I painfully managed to run FF's profiler for several seconds, and it seems that most of the time is spent in long call chains in FB's javascript, very likely related with caching data for infinite scrolling. The amount of JS that FB throws at browsers is impressive (lots of source files and lots of functions in each file), and I guess that some events are triggered by the server before previous event handlers have a chance to complete. Perhaps FB's JS is really too demanding for old cpus, and the different behaviour between Chrome and FF can be explained in a slightly more efficient JS interpreter in the former, that saves it from ever-growing event queues.