X
Нажмите здесь, чтобы перейти на мобильную версию сайта.
An updated version of Firefox is available to address the issues with Add-ons disabled or fail to install on Firefox. You can download the update for your OS here: https://www.mozilla.org/firefox/new/ For Known Issues and Workarounds, please check out the update at https://support.mozilla.org/kb/add-ons-disabled-or-fail-to-install-firefox

Форум поддержки

Firefox takes 20 seconds to close with high CPU and memory usage

Размещено

Running Firefox 66.0.3 (64-bit) on Windows 10 Version 1809 Build 17763.437.

I suspect this issue started with FF 66. When I close Firefox, it takes 20 seconds for the program to end. Looking at the Windows Task Manager, while FF is open there are 5 shown processes. As soon as I close it, the Window is gone but Task Manager still shows 3 processes. On of those processes shows CPU in the 25% to 35% range and also the memory usage for that process keeps going up. After 20 seconds, it's finally all gone.

This is very annoying when I try to shut down Windows with FF open as Windows gets stuck waiting for FF.

I started FF in Safe Mode, but the problem is still there. I disabled Service Workers... no help.

Is it just me? Any ideas what to try?

Running Firefox 66.0.3 (64-bit) on Windows 10 Version 1809 Build 17763.437. I suspect this issue started with FF 66. When I close Firefox, it takes 20 seconds for the program to end. Looking at the Windows Task Manager, while FF is open there are 5 shown processes. As soon as I close it, the Window is gone but Task Manager still shows 3 processes. On of those processes shows CPU in the 25% to 35% range and also the memory usage for that process keeps going up. After 20 seconds, it's finally all gone. This is very annoying when I try to shut down Windows with FF open as Windows gets stuck waiting for FF. I started FF in Safe Mode, but the problem is still there. I disabled Service Workers... no help. Is it just me? Any ideas what to try?
Цитата

Дополнительные сведения о системе

Установленные плагины

  • Shockwave Flash 28.0 r0

Приложение

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

Дополнительная информация

cor-el
  • Top 10 Contributor
  • Moderator
17107 решений 154497 ответов
Размещено

Twenty seconds to close Firefox completely isn't that much because Firefox needs to write all session data to the hard drive and possibly do some cleanup. If you use "Clear history when Firefox closes" to clear any data or use "Delete cookies and site data when Firefox is closed".

If you have security software that monitors writes to the profile folder then this can take extra time. When it takes longer than a minute to close Firefox then a shutdown crash is forced.

Twenty seconds to close Firefox completely isn't that much because Firefox needs to write all session data to the hard drive and possibly do some cleanup. If you use "Clear history when Firefox closes" to clear any data or use "Delete cookies and site data when Firefox is closed". If you have security software that monitors writes to the profile folder then this can take extra time. When it takes longer than a minute to close Firefox then a shutdown crash is forced.
Помогла ли вам это?
Цитата
Размещено

Задавший вопрос

I checked my profile folder and see that places.sqlite and favicon.sqlite are each about 40MB and are written out when FF is closed. Now I need to see how to reduce those because I really don't think there should be so much to save.

Just cleared my history, and also cookies where the cookie count was 0 and got the time down to 10 seconds. But I still don't know why places.sqlite and favicon.sqlite are 40MB each.

I checked my profile folder and see that places.sqlite and favicon.sqlite are each about 40MB and are written out when FF is closed. Now I need to see how to reduce those because I really don't think there should be so much to save. Just cleared my history, and also cookies where the cookie count was 0 and got the time down to 10 seconds. But I still don't know why places.sqlite and favicon.sqlite are 40MB each.

Изменено AZBruno

Помогла ли вам это?
Цитата
cor-el
  • Top 10 Contributor
  • Moderator
17107 решений 154497 ответов
Размещено

You can use "Verify Integrity" button on the "Help -> Troubleshooting Information" (about:support) page to get stats about places.sqlite and favicons.sqlite.

You can use "Verify Integrity" button on the "Help -> Troubleshooting Information" (about:support) page to get stats about places.sqlite and favicons.sqlite.
Помогла ли вам это?
Цитата
Размещено

Задавший вопрос

Thanks, cor-el, I hadn't spotted that. Although it tells me that the files are sane, it didn't seem to give me anything useful. And it didn't change the size.

After having cleared history and backed up the profile, I just decided to see what happens if I delete place.sqlite. Firefox rebuilt it at only 5MB instead of 40MB and it seems perfectly fine. I then used a database viewer to look at the 40MB version and compare it with the 5MB version and the number of records in each table was basically the same. I assume there is no "garbage collection" on the databases. Having the smaller file does not seem to affect the shutdown time.

I tried letting FF rebuild favicons.sqlite and of course all the icons were reset so I put the old one back.

Thanks, cor-el, I hadn't spotted that. Although it tells me that the files are sane, it didn't seem to give me anything useful. And it didn't change the size. After having cleared history and backed up the profile, I just decided to see what happens if I delete place.sqlite. Firefox rebuilt it at only 5MB instead of 40MB and it seems perfectly fine. I then used a database viewer to look at the 40MB version and compare it with the 5MB version and the number of records in each table was basically the same. I assume there is no "garbage collection" on the databases. Having the smaller file does not seem to affect the shutdown time. I tried letting FF rebuild favicons.sqlite and of course all the icons were reset so I put the old one back.
Помогла ли вам это?
Цитата
FredMcD
  • Top 10 Contributor
4083 решений 57034 ответов
Размещено

Separate Security Issue: Update your Flash Player or remove it using these links; Uninstall Flash Player | Windows {web link} Uninstall Flash Player | Mac {web link}

Note: Windows users should download the ActiveX for Internet Explorer. and the plugin for Plugin-based browsers (like Firefox).

Note: Windows 8 and Windows 10 have built-in flash players and Adobe will cause a conflict. Install the plugin only. Not the ActiveX.

Flash Player Version 32.0.0.156

https://get.adobe.com/flashplayer/ Direct link scans current system and browser Note: Other software is offered in the download. <Windows Only>

https://get.adobe.com/flashplayer/otherversions/ Step 1: Select Operating System Step 2: Select A Version (Firefox, Win IE . . . .) Note: Other software is offered in the download. <Windows Only> +++++++++++++++++++ See if there are updates for your graphics drivers https://support.mozilla.org/en-US/kb/upgrade-graphics-drivers-use-hardware-acceleration

'''Separate Security Issue:''' Update your Flash Player or remove it using these links; [http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html Uninstall Flash Player | Windows] {web link} [http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-mac-os.html Uninstall Flash Player | Mac] {web link} '''Note: Windows users''' should download the '''ActiveX''' for ''Internet Explorer.'' '''and''' the '''plugin''' for ''Plugin-based browsers'' (like Firefox). '''Note: Windows 8 and Windows 10''' have built-in flash players and Adobe will cause a conflict. Install the plugin only. Not the ActiveX. Flash Player '''Version 32.0.0.156 ''' https://get.adobe.com/flashplayer/ Direct link scans current system and browser '''Note: Other software''' is offered in the download. <Windows Only> https://get.adobe.com/flashplayer/otherversions/ Step 1: Select Operating System Step 2: Select A Version (Firefox, Win IE . . . .) '''Note: Other software''' is offered in the download. <Windows Only> +++++++++++++++++++ See if there are updates for your graphics drivers https://support.mozilla.org/en-US/kb/upgrade-graphics-drivers-use-hardware-acceleration
Помогла ли вам это?
Цитата
Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.