Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Conversation

@LK4D4
Copy link
Contributor

@LK4D4 LK4D4 commented Dec 22, 2014

Now we try to remove cgroups 5 times with increased delay between
tries.
I tried with docker and this fixed moby/moby#9699 for me.

cgroups/utils.go Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: reword?

s/this strange way of checking cgroups existence we need/We need this strange way of checking cgroups existence/

Now we try to remove cgroups 5 times with increased delay between
tries.

Signed-off-by: Alexander Morozov <[email protected]>
@LK4D4
Copy link
Contributor Author

LK4D4 commented Dec 22, 2014

@rjnagal Fixed, thanks for review.

@rjnagal
Copy link
Contributor

rjnagal commented Dec 22, 2014

LGTM

1 similar comment
@mrunalp
Copy link
Contributor

mrunalp commented Dec 23, 2014

LGTM

rjnagal added a commit that referenced this pull request Dec 23, 2014
Fix removing of cgroups if something still alive in container
@rjnagal rjnagal merged commit f61899e into docker-archive:master Dec 23, 2014
ColinHuang pushed a commit to fcwu/docker that referenced this pull request Jan 5, 2015
This commit contains changes for docker:
* user.GetGroupFile to user.GetGroupPath docker-archive/libcontainer#301
* Add systemd support for OOM docker-archive/libcontainer#307
* Support for custom namespaces docker-archive/libcontainer#279, docker-archive/libcontainer#312
* Fixes moby#9699 docker-archive/libcontainer#308

Signed-off-by: Alexander Morozov <[email protected]>
@LK4D4 LK4D4 deleted the fix_cgroups_removing branch April 28, 2015 22:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot stop container XXX: no such process w/ 1.4.0

3 participants