Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Issue 10834068: On Posix, make all child processes quit when the browser dies, not just the renderers. (Closed)

Created:
8 years, 4 months ago by jam
Modified:
8 years, 4 months ago
CC:
chromium-reviews, Nirnimesh, joi+watch-content_chromium.org, anantha, darin-cc_chromium.org, dyu1, dennis_jeffrey, Chris Evans, Jorge Lucangeli Obes
Visibility:
Public.

Description

On Posix, make all child processes quit when the browser dies, not just the renderers. On bots, seeing that sometimes child processes are hanging around after the browser process is gone. This confuses the sharding scripts. BUG=90448 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=149023

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -55 lines) Patch
M chrome/test/functional/perf.py View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/functional/test_clean_exit.py View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/browser_child_process_host_impl.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/child_process_launcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/child_thread.cc View 1 2 2 chunks +48 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 2 chunks +4 lines, -3 lines 0 comments Download
M content/public/common/content_switches.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M content/renderer/renderer_main.cc View 2 chunks +0 lines, -43 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jam
8 years, 4 months ago (2012-07-30 19:43:25 UTC) #1
jam
switching reviewers to Julien, since I've talked to him about this issue
8 years, 4 months ago (2012-07-30 20:05:17 UTC) #2
Nirnimesh
+asharif, as FYI
8 years, 4 months ago (2012-07-30 20:13:24 UTC) #3
asharif1
On 2012/07/30 20:13:24, Nirnimesh wrote: > +asharif, as FYI jam, could you change chrome/test/functional/perf.py to ...
8 years, 4 months ago (2012-07-30 20:37:06 UTC) #4
jam
On 2012/07/30 20:37:06, asharif1 wrote: > On 2012/07/30 20:13:24, Nirnimesh wrote: > > +asharif, as ...
8 years, 4 months ago (2012-07-30 20:40:56 UTC) #5
jln (very slow on Chromium)
We need to allow the alarm() system call in the sandbox as well. This is ...
8 years, 4 months ago (2012-07-30 20:51:19 UTC) #6
jam
On 2012/07/30 20:51:19, Julien Tinnes wrote: > We need to allow the alarm() system call ...
8 years, 4 months ago (2012-07-30 21:01:57 UTC) #7
asharif1
8 years, 4 months ago (2012-07-30 21:06:51 UTC) #8
On 2012/07/30 21:01:57, John Abd-El-Malek wrote:
> On 2012/07/30 20:51:19, Julien Tinnes wrote:
> > We need to allow the alarm() system call in the sandbox as well. This is in
> > content/common/sandbox_init_linux.cc. Since this would be an existing
problem,
> I
> > can do it myself in another CL if you prefer. (Currently, under a modern
> kernel,
> > calling alarm() would kill the process).
> > 
> > If you wanted to, I think you could use the Watchdog class from base instead
> of
> > using alarm().
> > 
> > Otherwise: LGTM.
> 
> If you can take care of it in another cl, that'd be great, since I'm not
> familiar with this code. Currently this works because the only two places that
> use this are python scripts (modified in this change) that also use
--no-sandbox

lgtm but someone else must approve.

Powered by Google App Engine
This is Rietveld 408576698