A mai Kérdések és válaszok munkamenetét a Stack Exchange SuperUser, a szakma által vezetett Q & A webhelyek csoportosulása alapján kapjuk meg.
A kérdés
Ha kíváncsi vagy azokra a kétszeres Chrome-folyamatokra, akkor nem egyedül vagy. A SuperUser olvasó PolyShell valóban a dolgok aljára akarja jutni:
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.
Miközben az egyedüli chrome.exe példányok először eléggé elgondolkodnak, eléggé jó magyarázatot adnak az örvényre.
A válaszok
A kérdés megválaszolásához több SuperUser munkatárs is beugrott. Jeff Atwood hivatkozott a Chrome Fejlesztési blogra:
You can read the details here:
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.
A KronoS egy trükket oszt meg a Chrome belső folyamatainak vizsgálatához a titkosabb feladatkezelő helyett:
You can see which process does what on:
Menu-> Tools -> Task Manager
Which looks like this:
Don’t forget to read the Chrome introduction comic that covers this among other design decisions.
Van valami a magyarázathoz? Hangzik ki a megjegyzésekben. Szeretne többet válaszolni a többi technikus-tudós Stack Exchange felhasználóiról? Nézze meg a teljes vitafonalat itt.