Comparar Revisões
Firefox hangs or is not responding - How to fix
Revisão 17510:
Revisão 17510 por AliceWyman em
Revisão 17576:
Revisão 17576 por scoobidiver em
Palavras-chave:
freeze respond
freeze respond
Sumário de resultados da pesquisa:
When Firefox hangs, it no longer accepts user input and does not seem to be performing any actions, a "(Not Responding)" label is displayed in its title bars on Windows, and the mouse cursor becomes a wait cursor inside its windows. This article shows solutions to Firefox hanging problems depending on their reproducibility conditions.
When Firefox hangs, it no longer accepts user input and does not seem to be performing any actions, a "(Not Responding)" label is displayed in its title bars on Windows, and the mouse cursor becomes a wait cursor inside its windows. This article shows solutions to Firefox hanging problems depending on their reproducibility conditions.
Conteúdo:
When Firefox '''hangs''', it no longer accepts user input and does not seem to be performing any actions{for win}, a "(Not Responding)" label is displayed in its title bars,{/for} and the mouse cursor becomes a wait cursor inside its windows. This article shows solutions to Firefox hanging problems depending on their reproducibility conditions.
* If Firefox has high HW resource usage, see first the solutions proposed in [[Firefox consumes a lot of CPU resources]] and [[High memory usage]].
* If you get a "Warning: Unresponsive script" prompt, see [[Warning Unresponsive script]].
* If Firefox closes unexpectedly, see [[Firefox crashes]].
To resolve hanging problems not specifically mentioned in this article, or if the suggested solutions do not solve the problem, see [[Basic Troubleshooting]].
__TOC__
= Hang loading first window =
{for win}
== Computer with a Pentium 4 processor ==
<!-- https://bugzilla.mozilla.org/show_bug.cgi?id=282392 -->
A Firefox hang on computers with Intel Pentium 4 processors while loading the first browser window may be caused by "hyper-threading", a feature designed to improve performance.
If your computer has an Intel Pentium 4 processor and you use Windows 2000 and XP, you can disable hyper-threading for Firefox:
#Open the System Information window following steps in [http://support.microsoft.com/kb/308549 Description of Windows XP System Information (Msinfo32.exe) Tool] at microsoft.com
#Make sure your processor is an Intel Pentium 4
#* If your processor is not an Intel Pentium 4, skip the next steps of this section.
#Right-click the shortcut icon you use to start Firefox.
#Select {menu Properties}.
#Select the {menu Compatibility} icon.
#Select '''Run this program in compatibility mode'''.
#In the drop-down for compatibility mode, select '''Windows 98/Windows ME'''.
#Click {button OK}.
#Restart Firefox to see if the hanging has gone away.
{/for}
== After a session restore ==
If you have many tabs to restore, Firefox may hang while loading those sites. Try to use [[What are Tab Groups?|Tab Groups]] so that only websites in the visible tab group load first.
= Hang downloading files or saving images =
If Firefox hangs when you attempt to download a file or save an image, try these solutions:
== Clear download history ==
Firefox may hang when downloading files if your download history has grown too large. To clear the download history:
# {for win,fx4}At the top of the Firefox window, click on the {button Firefox} button ({menu Tools} menu in Windows XP), and then click {menu Downloads}{/for}{for win,fx35}At the top of the Firefox window, click on the {menu Tools} menu, and then click {menu Downloads}{/for}{for mac,linux}On the menu bar, click on the {menu Tools} menu, and then click {menu Downloads}{/for}{for linux}At the top of the Firefox window, click on the {menu Tools} menu, and then click {menu Downloads}{/for}. The Downloads window will open.
# Click {button Clear List}. The download history is cleared.
# Download some sample files to see if the hanging has stopped.
== Choose a different download folder ==
Firefox may hang if the last download folder location (e.g. a shared volume or USB drive) is no longer available. To fix this:
#[[T:optionspreferences]]
# Select the {menu General} panel.
# In the Downloads pane, select '''Save files to''' and click the {button Browse} button.
# In the '''Browse For Folder''' window, choose a new folder location.
# [[T:closeOptionsPreferences]]
See if you are now able to download files or save images. If this works, you can go back to your Firefox settings, if you wish, and select {menu Always ask me where to save my files}.
= Periodic hangs =
== Create a new places database ==
Periodic hangs may be caused by a corrupted places database. To create a new places database, do the following:
{warning}'''Warning:''' This will clear your browsing history and remove bookmarks of the day.{/warning}
#[[Template:ProfileFolder]]
#[[T:closeFirefox]] Wait until Firefox has completely quit.
# In the Firefox profile folder, find and rename the files '''places.sqlite''' and '''places.sqlite-journal''' (if it exists).
#* To rename a file, {for win,linux}right-click on it and select rename from the menu{/for}{for mac}click on it once to select it and then click a second time on the file name to make it editable{/for}. Then add .old to the end of its name.
# Finally, reopen Firefox.
#* When Firefox reopens it will create a new places database. Your browsing history will be lost but Firefox will automatically import your bookmarks from the most recent backup file.
= Hang loading websites =
== Automatic proxy configuration file ==
If you're using an automatic proxy configuration file (PAC), Firefox may hang when you attempt to load sites that don't exist or that you haven't opened recently. To determine if you use an automatic proxy configuration file:
# [[T:optionspreferences]]
# Click the {menu Advanced} icon.
# Click the {menu Network} tab.
# Click {button Settings}. The Connection Settings dialog appears.
# If '''Automatic proxy configuration URL''' is selected, you are using an automatic proxy configuration file. Do not disable this setting, which will prevent you from accessing the Internet. Instead, provide [https://bugzilla.mozilla.org/show_bug.cgi?id=235853 this link] to your network administrator.
# Click {button Cancel}.
== Duplicate Session Restore files ==
Firefox may be slow to respond or hang if multiple copies of its [[Session Restore]] file have been created:
# [[T:profileFolder]]
# [[T:closeFirefox]]
# Locate and delete the {filepath sessionstore.js} file and any copies, such as {filepath sessionstore-1.js}, {filepath sessionstore-2.js}.
== Hardware acceleration ==
With some graphics card and graphics driver setups, Firefox may hang when using hardware acceleration. You can try turning off hardware acceleration to see if it fixes the problem.
# [[T:optionspreferences]]
# Select the {menu Advanced} panel and the {menu General} tab.
# Uncheck '''Use hardware acceleration when available'''.
#[[T:closeFirefox]]
#Start Firefox the way you normally do.
If the problem is no longer happening, then hardware acceleration was likely the cause. You can try [[How do I upgrade my graphics drivers?|updating your graphics drivers]] to see if that fixes it or simply run without hardware acceleration.
== Plugins ==
Sites that use plugins such as Java, Adobe Reader, or Flash can cause Firefox to hang. For information on troubleshooting plugins and on determining whether a plugin is causing your problem, see the [[Troubleshooting plugins]] article.
==Hang playing Flash videos==
See [[Managing the Flash plugin#w_playing-flash-videos-makes-firefox-hang|Playing Flash videos makes Firefox hang]].
= Hang after prolonged use =
Firefox may hang if left open for long periods of time. To fix the issue, restart Firefox.
If you regularly leave Firefox open so that you return to where you left off, you may want to use Firefox's Session Restore feature. For more information, see [[Session Restore#w_configuring-session-restore|Configuring session restore]].
= Hang deleting bookmarks folder =
Trying to delete a bookmarks folder that contains many bookmarks and multiple levels of sub-folders can cause Firefox to hang. To work around this problem, delete unwanted bookmark sub-folders in small steps. <!-- Also applies to Firefox 3.5 - see https://bugzilla.mozilla.org/show_bug.cgi?id=432706 (wontfix bug) -->
= Hang at exit =
Sometimes when you close Firefox, it may stop responding and remain in memory, even though no Firefox windows are open. This can prevent Firefox from working properly the next time you open it or you may see a "Close Firefox" dialog box with the message, ''Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.''. You must then end all Firefox processes or restart the computer before you can reopen Firefox. (See [[Firefox is already running but is not responding]] for other causes and solutions.)
If Firefox processes that remain in memory at exit are a recurring problem, try these solutions:
*A problematic extension can cause the problem, which can be resolved by disabling or uninstalling the extension. For information on diagnosing and fixing problems caused by faulty extensions, see the [[Troubleshooting extensions and themes]] article.
*Sometimes Java applets can cause the Firefox process to persist after exit. Try updating Java to the latest version or, if you don't need the Java plugin, you can disable it from the Plugins panel of the Firefox Add-ons Manager. For more information, see [[Using the Java plugin with Firefox]].
{for win}
*Interactions between certain Internet security software (firewall, antivirus software) is reported to cause the issue on some systems.
{/for}
== Closing Firefox properly ==
#[[T:closeFirefox]]
# Close any remaining dialog boxes or secondary windows such as the Downloads window{for fx35} or the Add-ons window{/for}.
<!-- MZ credit -->
<br/> <br/>
'''''Based on information from [http://kb.mozillazine.org/Firefox_hangs Firefox hangs (mozillaZine KB)]'''''
When Firefox '''hangs''', it no longer accepts user input and does not seem to be performing any actions{for win}, a "(Not Responding)" label is displayed in its title bars,{/for} and the mouse cursor becomes a wait cursor inside its windows. This article shows solutions to Firefox hanging problems depending on their reproducibility conditions.
* If Firefox has high HW resource usage, see first the solutions proposed in [[Firefox consumes a lot of CPU resources]] and [[High memory usage]].
* If you get a "Warning: Unresponsive script" prompt, see [[Warning Unresponsive script]].
* If Firefox closes unexpectedly, see [[Firefox crashes]].
To resolve hanging problems not specifically mentioned in this article, or if the suggested solutions do not solve the problem, see [[Basic Troubleshooting]].
__TOC__
= Hang at any time =
<br>
* '''Create a new places database:'''
If hangs are '''periodic''', it may be caused by a corrupted places database. To create a new places database, do the following:
{warning}'''Warning:''' This will clear your browsing history and remove bookmarks of the day.{/warning}
#[[Template:ProfileFolder]]
#[[T:closeFirefox]] Wait until Firefox has completely quit.
# In the Firefox profile folder, find and rename the files '''places.sqlite''' and '''places.sqlite-journal''' (if it exists).
#* To rename a file, {for win,linux}right-click on it and select rename from the menu{/for}{for mac}click on it once to select it and then click a second time on the file name to make it editable{/for}. Then add .old to the end of its name.
# Finally, reopen Firefox.
#* When Firefox reopens it will create a new places database. Your browsing history will be lost but Firefox will automatically import your bookmarks from the most recent backup file.
<br>
* '''Turn off hardware acceleration:'''
With some graphics card and graphics driver setups, Firefox may hang when using hardware acceleration. You can try turning off hardware acceleration to see if it fixes the problem.
# [[T:optionspreferences]]
# Select the {menu Advanced} panel and the {menu General} tab.
# Uncheck '''Use hardware acceleration when available'''.
#[[T:closeFirefox]]
#Start Firefox the way you normally do.
If the problem is no longer happening, then hardware acceleration was likely the cause. You can try [[How do I upgrade my graphics drivers?|updating your graphics drivers]] to see if that fixes it or simply run without hardware acceleration.
<br>
* '''Troubleshoot your plugins:'''
Sites that use plugins such as Java, Adobe Reader, or Flash can cause Firefox to hang. For information on troubleshooting plugins and on determining whether a plugin is causing your problem, see the [[Troubleshooting plugins]] article.
<br>
* '''Delete duplicated Session Restore files:'''
Firefox may be slow to respond or hang if multiple copies of its [[Session Restore]] file have been created:
# [[T:profileFolder]]
# [[T:closeFirefox]]
# Locate and delete the {filepath sessionstore.js} file and any copies, such as {filepath sessionstore-1.js}, {filepath sessionstore-2.js}.
<br>
* '''Change the PAC implementation:'''
If you're using a proxy auto-config file (PAC), Firefox may hang when you attempt to load sites that don't exist or that you haven't opened recently. To determine if you use an automatic proxy configuration file:
# [[T:optionspreferences]]
# Click the {menu Advanced} icon.
# Click the {menu Network} tab.
# Click {button Settings}. The Connection Settings dialog appears.
# If '''Automatic proxy configuration URL''' is selected, you are using an automatic proxy configuration file. Do not disable this setting, which will prevent you from accessing the Internet. Instead, provide [https://bugzilla.mozilla.org/show_bug.cgi?id=235853#c216 this workaround] to your network administrator.
# Click {button Cancel}.
= Hang playing Flash videos =
See [[Managing the Flash plugin#w_playing-flash-videos-makes-firefox-hang|Playing Flash videos makes Firefox hang]].
= Hang after prolonged use =
<br>
* '''Update Firefox:'''
The latest Firefox version includes improvements about memory usage, including during long sessions (for details, see this [http://hacks.mozilla.org/2011/09/firefox-7-is-lean-and-fast/ Mozilla developer's article]). [[Updating Firefox|Update Firefox to the latest version]].
{/for}
<br>
* '''Restart Firefox:'''
Firefox may hang if left open for long periods of time. To fix the issue, restart Firefox.
If you regularly leave Firefox open so that you return to where you left off, you may want to use Firefox's Session Restore feature. For more information, see [[Session Restore#w_configuring-session-restore|Configuring session restore]].
= Hang loading first window =
{for fx4}
<br>
* '''Speed up Session Restore:'''
If you have many tabs to restore, Firefox may hang while loading those sites. {for fx8}Check '''Don't load tab until selected''' in the [[Options window - General panel|General panel of the {for win}Options{/for}{for mac,linux}Preferences{/for} window]] so that only the last selected tab is loaded at startup.{/for}{for =fx4,=fx5,=fx6,=fx7}Try to use [[What are Tab Groups?|Tab Groups]] so that only websites in the visible tab group load first.{/for}
{/for}
{for win}
<br>
* '''Disable hyper-threading for Firefox with a Pentium 4:'''
<!-- https://bugzilla.mozilla.org/show_bug.cgi?id=282392 -->
A Firefox hang on computers with Intel Pentium 4 processors while loading the first browser window may be caused by "hyper-threading", a feature designed to improve performance.
If your computer has an Intel Pentium 4 processor and you use Windows 2000 and XP, you can disable hyper-threading for Firefox:
#Open the System Information window following steps in [http://support.microsoft.com/kb/308549 Description of Windows XP System Information (Msinfo32.exe) Tool] at microsoft.com
#Make sure your processor is an Intel Pentium 4
#* If your processor is not an Intel Pentium 4, skip the next steps of this section.
#Right-click the shortcut icon you use to start Firefox.
#Select {menu Properties}.
#Select the {menu Compatibility} icon.
#Select '''Run this program in compatibility mode'''.
#In the drop-down for compatibility mode, select '''Windows 98/Windows ME'''.
#Click {button OK}.
#Restart Firefox to see if the hanging has gone away.
{/for}
= Hang downloading files or saving images =
If Firefox hangs when you attempt to download a file or save an image, try these solutions:
* '''Clear download history:'''
Firefox may hang when downloading files if your download history has grown too large. To clear the download history:
# {for win,fx4}At the top of the Firefox window, click on the {button Firefox} button ({menu Tools} menu in Windows XP), and then click {menu Downloads}{/for}{for win,fx35}At the top of the Firefox window, click on the {menu Tools} menu, and then click {menu Downloads}{/for}{for mac,linux}On the menu bar, click on the {menu Tools} menu, and then click {menu Downloads}{/for}{for linux}At the top of the Firefox window, click on the {menu Tools} menu, and then click {menu Downloads}{/for}. The Downloads window will open.
# Click {button Clear List}. The download history is cleared.
# Download some sample files to see if the hanging has stopped.
<br>
* '''Choose a different download folder:'''
Firefox may hang if the last download folder location (e.g. a shared volume or USB drive) is no longer available. To fix this:
#[[T:optionspreferences]]
# Select the {menu General} panel.
# In the Downloads pane, select '''Save files to''' and click the {button Browse} button.
# In the '''Browse For Folder''' window, choose a new folder location.
# [[T:closeOptionsPreferences]]
See if you are now able to download files or save images. If this works, you can go back to your Firefox settings, if you wish, and select {menu Always ask me where to save my files}.
= Hang deleting bookmarks folder =
Trying to delete a bookmarks folder that contains many bookmarks and multiple levels of sub-folders can cause Firefox to hang. To work around this problem, delete unwanted bookmark sub-folders in small steps. <!-- Also applies to Firefox 3.5 - see https://bugzilla.mozilla.org/show_bug.cgi?id=432706 (wontfix bug) -->
= Hang at exit =
Sometimes when you close Firefox, it may stop responding and remain in memory, even though no Firefox windows are open. This can prevent Firefox from working properly the next time you open it or you may see a "Close Firefox" dialog box with the message, ''Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.''. You must then end all Firefox processes or restart the computer before you can reopen Firefox (see [[Firefox is already running but is not responding]] for other causes and solutions).
<br>
* '''Close Firefox properly:'''
#[[T:closeFirefox]]
# Close any remaining dialog boxes or secondary windows such as the Downloads window{for fx35} or the Add-ons window{/for}.
<br>
If Firefox processes that remain in memory at exit are a recurring problem, try the following solutions.
* '''Troubleshoot your extensions:'''
A problematic extension can cause the problem, which can be resolved by disabling or uninstalling the extension. For information on diagnosing and fixing problems caused by faulty extensions, see the [[Troubleshooting extensions and themes]] article.
<br>
* '''Update or disable the Java plugin:'''
Sometimes Java applets can cause the Firefox process to persist after exit. Try updating Java to the latest version by going to [http://www.mozilla.org/plugincheck/ Mozilla's plugin check page] or, if you don't need the Java plugin, you can disable it from the Plugins panel of the Firefox Add-ons Manager. For more information, see [[Using the Java plugin with Firefox]].
{for win}
<br>
* '''Troubleshoot your Internet security software:'''
Interactions between certain Internet security software (firewall, anti-virus software) is reported to cause the issue on some systems.
{/for}
<!-- MZ credit -->
<br/> <br/>
'''''Based on information from [http://kb.mozillazine.org/Firefox_hangs Firefox hangs (mozillaZine KB)]'''''