12.04: How to end all chrome related process after closing browser?

17,641

Solution 1

I had the same problem plus chrome was putting an Icon on the menu bar.

Come to find out their is a setting in Chrome that appears to keep chrome in memory all the time.

Make chrome completely shut down.

Within chrome:

Settings:

Show advanced settings...

Unchecked "Continue running background apps when Google Chrome is closed"

I noticed the icon in the menu bar a couple of days ago must have happen during an update.

Mark

Solution 2

killall chrome will do the needful.

Solution 3

That setting under Chrome config doesn't close the proccesses after closing Chrome. In fact that changed nothing.
I have the same problem here and I don't want to open a terminal window and running a line of code every time I close Chrome.
This is, in my opinion, a flaw of development. There is another topic with the same discussion: How can I stop accumulated Google Chrome background processes?

Solution 4

Have you tried this?

pkill chrome

Or maybe this?

while pgrep chrome ; do pkill chrome ; done

Solution 5

On my Ubuntu 14.10 box, I found out that the last remaining process was chromium-browser --pinch-zoom enabled. After disabling this, the problem stopped for me. I had enabled this in regular Chrome for the touch screen support and I think it synced it somehow. Anyway, try that. I imagine this will work for regular Chrome as well.

Good luck!

Share:
17,641
Zafrullah Syed
Author by

Zafrullah Syed

Updated on September 18, 2022

Comments

  • Zafrullah Syed
    Zafrullah Syed almost 2 years

    Even after closing Google Chrome, there are many background processes running and consuming lot of memory. How do I end all the processes when I close Chrome? Following is a picture of processes after closing Chrome browser.

    enter image description here

  • David Foerster
    David Foerster over 9 years
    That will leave other processes associated with Chrome but different names alive like those called chrome-sandbox in the process list in the question.
  • Admin
    Admin over 8 years
    Daswebmastri, Can you please explain how you disabled that option or where it is listed?
  • hawkenfox
    hawkenfox about 8 years
    It works for me on my end, you may want to check if your system have any malware or even the antivirus software that is not allowing the option to kick in. It works perfectly as intended from my test on a windows 10 system 64bit. Have not test it on my ubuntu's machine tho.
  • SDsolar
    SDsolar over 6 years
    Since my answer was deleted somehow I'll move it here: After you tell it to killall chrome you may want to restart the program then go into Settings, pick Advanced, and near the bottom you will find a switch where you can set it to NOT allow background processes to run when the program exits. Uncheck that box and it will not happen again.
  • Danilo
    Danilo over 6 years
    No, there is no viruses nor malware and no antivirus either. It is very very very rare an Ubuntu machine to get some of those.