Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to close one tab of chrome. I tried killing the pid of the tab, but the tab doesn't close instead says "Aw, Snap! Something went wrong while displaying this webpage. To continue, reload or go to another page". How can I get rid of this.

share|improve this question

3 Answers 3

up vote 6 down vote accepted

You can't close a tab by killing the process. The process represents a renderer that the main browser uses the execute and draw a page, which it then copies to the screen. The "Aw, Snap!" is what the browser displays when the renderer responsible for that tab crashes or is killed. The proper way to close the tab would ideally be via a command-line switch, but there is none that I know of at this time.

share|improve this answer

It is possible to kill an unresponsive tab (or set of tabs) in Chrome by going to:

  1. Wrench;
  2. Tools;
  3. Task Manager and clicking on the tab name;
  4. Then clicking the "End Process" button at the bottom.
share|improve this answer
2  
I think this is as close as you will get to what you're looking for. –  MaxMackie Aug 5 '11 at 13:33
    
Worth noting (correct as of sept 2013 at least) that it's now a stacked lines / hamburger icon and not a wrench. –  yochannah Sep 14 '13 at 21:14

This may be helpful for you. Probably a whole bunch of Chrome windows/tabs have become "unresponsive".

If you go to the Windows GUI Task Manager and kill the ProcessTree of all the Chrome.exe 'processes' eventually, you will click on one, that will kill all the Chrome Windows & Tabs. then if you re-open Chrome, you'll get a tan colored bar that asks if you want to restore the previous pages, that will reopen everything you had before.

Problem with this issue: Time consuming, if you go to admin CMD window and issue a taskkill command to '/F' (forcefully) kill everything with the imagename of CHROME, they will all die instantly, but when you reopen Chrome, it won't remember anything or ask if you want to restore anything; unless you kill the one 'master' PID of the ChromeBrowser itself. I can't find anything unique about that process to kill it without having to lookup it's dynamic PID every time.

My solution:

  1. RightClick in the Chrome "Title-Bar" and choose: "Task Manager" (the Shift+Esc shortcut, is slower, and often doesn't work). At the top of the list, you'll see "Browser" with a chrome icon. This is the only entry you can't select and click on [End-Process] in the column, find it's "Process-ID"
  2. From an ADMIN-CMD Window issue this command: taskkill /F /FI "PID eq _ _ _ _" (fill in the blanks with the PID) Then Chrome will die almost instantly, and when you reopen, it will offer to restore previous pages.
  3. the easiest way to handle this is with a batch-file using the "SET /p" feature to allow you to just type in the PID number in order to make it run, more or less automatically.
share|improve this answer
    
This answer is completely illegible. You should reformat it to allow users to read with ease. –  MariusMatutiae Jun 8 at 5:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.