browsh
browsh copied to clipboard
firefox processes still running after quitting browsh
I'm running the armv7 binary of browsh on a Raspberry Pi 3 Model B Rev 1.2. After quitting browsh all firefox processes are still running in the background:
dietpi@fhem:~$ ps ax | grep firefox
5856 pts/0 Sl 4:37 firefox-esr --marionette --headless --profile /home/dietpi/.config/browsh/firefox_profile
5904 pts/0 Sl 0:07 /usr/lib/firefox-esr/firefox-esr -contentproc -childID 1 -isForBrowser -prefsLen 1 -prefMapSize 176779 -parentBuildID 20200206211857 -greomni /usr/lib/firefox-esr/omni.ja -appomni /usr/lib/firefox-esr/browser/omni.ja -appdir /usr/lib/firefox-esr/browser 5856 true tab
5960 pts/0 Dl 14:22 /usr/lib/firefox-esr/firefox-esr -contentproc -childID 2 -isForBrowser -prefsLen 804 -prefMapSize 176779 -parentBuildID 20200206211857 -greomni /usr/lib/firefox-esr/omni.ja -appomni /usr/lib/firefox-esr/browser/omni.ja -appdir /usr/lib/firefox-esr/browser 5856 true tab
5985 pts/0 Sl 3:31 /usr/lib/firefox-esr/firefox-esr -contentproc -childID 3 -isForBrowser -prefsLen 6620 -prefMapSize 176779 -parentBuildID 20200206211857 -greomni /usr/lib/firefox-esr/omni.ja -appomni /usr/lib/firefox-esr/browser/omni.ja -appdir /usr/lib/firefox-esr/browser 5856 true tab
6040 pts/0 Sl 0:01 /usr/lib/firefox-esr/firefox-esr -contentproc -childID 4 -isForBrowser -prefsLen 8476 -prefMapSize 176779 -parentBuildID 20200206211857 -greomni /usr/lib/firefox-esr/omni.ja -appomni /usr/lib/firefox-esr/browser/omni.ja -appdir /usr/lib/firefox-esr/browser 5856 true tab
Is there a way to end all processes started by browsh after quitting? Because it eats up all the memory on the Pi.
For me this happens on Debian 10 when it hangs on "Waiting for Firefox to connect..." and I press Ctrl+q. With the --time-limit option browsh closes itself and leaves firefox hanging in the background as well.
I've experienced this as well. In my case, there was an active download - not sure if that's the cause.