Why are there multiple Chrome instances running even though I only have one window (only one tab) open?

65

6

Possible Duplicate:
Multiple chrome.exe in Task Manager

In Windows Task Manager it seems that I have multiple Chrome processes running, even though I only have one Chrome window open.

How is this possible? I always thought each open program represented one process.

piperchester

Posted 2012-08-14T14:33:39.143

Reputation: 888

Question was closed 2012-08-20T14:45:16.690

Why does Chrome have ~15 processes open using ~400mb, even when I don't have it open? Is it some sort of "ready-to-launch" thing that should make launch quicker? Generally my Chrome is running pretty slow these days (the last year), except if I'm in incognito mode. I've tried disabling all plugins, but that doesn't affect it, so I just had this no-basis notion that it had something to do with bad processes that were stuck, even after restarting the computer. – Aske B. – 2015-08-23T20:54:21.130

Also, I've had Chrome (the entire browser window) be stuck multiple times the last few months. Usually when one plugin goes crazy (usually Unity, which I know isn't officially supported anymore), but sometimes also simple websites like imdb or this one. And after I wait a minute, all sites run smoothly again. – Aske B. – 2015-08-23T20:58:07.653

Is it one tab (as per the title) or one window (as per the body)? – ChrisF – 2012-08-14T14:53:47.920

It was one window like the body. – piperchester – 2012-08-14T17:52:32.617

1So why does it say "one tab" in the title? – ChrisF – 2012-08-14T18:05:37.867

3Background Extension services!! – mr_eclair – 2012-08-14T18:07:10.030

Sorry about that, just edited it :) – piperchester – 2012-08-14T20:19:51.300

1Because if one of something is good, then lots of it must be better! ;) – user541686 – 2012-08-14T20:47:35.720

If only I had a penny for every time this question was asked... – Mayank – 2012-08-15T14:34:32.443

Multi process is useful because even a tab (or extension) is crashed (or stops responding), the remaining processes (tabs, extensions) still works. – Santosh Kumar – 2012-08-16T02:25:02.530

Although it is usually one process to one application, applications have full right to use as many processes as they want. That's even more promenant on Linux systems, where threads are processes, and where a lot of multitasking is done through fork and exec. – Linuxios – 2012-08-16T18:50:17.457

Answers

71

You can read the details here: http://blog.chromium.org/2008/09/multi-process-architecture.html

Google Chrome takes advantage of these properties and puts web apps and plug-ins in separate processes from the browser itself. This means that a rendering engine crash in one web app won't affect the browser or other web apps. It means the OS can run web apps in parallel to increase their responsiveness, and it means the browser itself won't lock up if a particular web app or plug-in stops responding. It also means we can run the rendering engine processes in a restrictive sandbox that helps limit the damage if an exploit does occur.

Basically, each tab has one process unless the tabs are from the same domain. The renderer has a process for itself. Each plug-in will have one and so will each extension that is active.

user151227

Posted 2012-08-14T14:33:39.143

Reputation:

6In addition, many of the background extensions also have their own processes. You can see all the chrome processes by going to the chrome tools (Wrench menu)->Tools->Task Manager. – Liron – 2012-08-15T09:26:43.060

30

These separate processes are called SANDBOXING. This allows A process to crash, but keeps other processes from crashing a system (or Chrome)

C2940680

Posted 2012-08-14T14:33:39.143

Reputation: 775

27

You can see which process does what on:

Wrench Menu->View Background Pages

Which looks like this:

enter image description here

Etherealone

Posted 2012-08-14T14:33:39.143

Reputation: 174

4Alternatively, right-click on some empty space in the tab bar then select 'task manager' or for a static snapshot, browse to chrome://memory – Colonel Panic – 2012-08-15T12:42:52.207

4Another alternative seems to be shift+escape key combination. – Etherealone – 2012-08-15T12:45:33.573

20

Don't forget to read the Chrome introduction comic that covers this among other design decisions: Page 4 from comic

deizel

Posted 2012-08-14T14:33:39.143

Reputation: 373

6

Google Chrome use separate process for each tab. Using interprocess communication you can manage multiple processes as one application.

Using multiple process can help an applications to be more robust and better use system resources.

See:

amotzg

Posted 2012-08-14T14:33:39.143

Reputation: 911

2"More robust", definitely. "Better use system resources" -- not so sure about that. Doesn't the multiprocess model use a fair bit more memory? – LarsH – 2012-08-14T20:23:29.660

5if by "Better use system resources" you mean "way more resources" you are correct. – None – 2012-08-14T20:42:44.543