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

Issue 635953002: Linux Chromoting: Explicitly kill all child processes on termination. (Closed)

Created:
6 years, 2 months ago by Lambros
Modified:
6 years, 2 months ago
Reviewers:
rmsousa, Jamie
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Linux Chromoting: Explicitly kill all child processes on termination. Previously, the script killed only the Xvfb process, relying on the broken X connection to terminate other processes. This CL ensures that all managed processes are explicitly killed. BUG=388957 NOTRY=true Committed: https://crrev.com/8d49e6119fba636457fcc3d622c676f655a54e6f Cr-Commit-Position: refs/heads/master@{#299206}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Wait for child processes to die #

Patch Set 3 : Send SIGKILL after timeout #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -3 lines) Patch
M remoting/host/linux/linux_me2me_host.py View 1 2 1 chunk +18 lines, -3 lines 2 comments Download

Messages

Total messages: 12 (3 generated)
Lambros
6 years, 2 months ago (2014-10-07 22:56:15 UTC) #2
rmsousa
lgtm lgtm with (optional) suggestion https://codereview.chromium.org/635953002/diff/1/remoting/host/linux/linux_me2me_host.py File remoting/host/linux/linux_me2me_host.py (right): https://codereview.chromium.org/635953002/diff/1/remoting/host/linux/linux_me2me_host.py#newcode788 remoting/host/linux/linux_me2me_host.py:788: proc.terminate() Since we're changing ...
6 years, 2 months ago (2014-10-07 23:01:36 UTC) #3
Lambros
Added wait with timeout. PTAL https://codereview.chromium.org/635953002/diff/1/remoting/host/linux/linux_me2me_host.py File remoting/host/linux/linux_me2me_host.py (right): https://codereview.chromium.org/635953002/diff/1/remoting/host/linux/linux_me2me_host.py#newcode788 remoting/host/linux/linux_me2me_host.py:788: proc.terminate() On 2014/10/07 23:01:36, ...
6 years, 2 months ago (2014-10-08 01:30:54 UTC) #4
Lambros
6 years, 2 months ago (2014-10-10 00:42:19 UTC) #6
rmsousa
lgtm https://codereview.chromium.org/635953002/diff/40001/remoting/host/linux/linux_me2me_host.py File remoting/host/linux/linux_me2me_host.py (right): https://codereview.chromium.org/635953002/diff/40001/remoting/host/linux/linux_me2me_host.py#newcode794 remoting/host/linux/linux_me2me_host.py:794: psutil_proc.wait(timeout=10) This will serialize the process terminations on ...
6 years, 2 months ago (2014-10-10 00:50:27 UTC) #7
Lambros
https://codereview.chromium.org/635953002/diff/40001/remoting/host/linux/linux_me2me_host.py File remoting/host/linux/linux_me2me_host.py (right): https://codereview.chromium.org/635953002/diff/40001/remoting/host/linux/linux_me2me_host.py#newcode794 remoting/host/linux/linux_me2me_host.py:794: psutil_proc.wait(timeout=10) On 2014/10/10 00:50:27, rmsousa wrote: > This will ...
6 years, 2 months ago (2014-10-10 01:12:15 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/635953002/40001
6 years, 2 months ago (2014-10-10 22:44:51 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 2 months ago (2014-10-10 22:45:26 UTC) #11
commit-bot: I haz the power
6 years, 2 months ago (2014-10-10 22:46:30 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8d49e6119fba636457fcc3d622c676f655a54e6f
Cr-Commit-Position: refs/heads/master@{#299206}

Powered by Google App Engine
This is Rietveld 408576698