-
Notifications
You must be signed in to change notification settings - Fork 620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Docker 1.7.1] Task stuck at PENDING #300
Comments
We're also seeing this problem frequently. Running around ~200 tasks there On Monday, 1 February 2016, shibai notifications@github.com wrote:
|
Running only seven tasks on a t2.small container instance, I am seeing this on nearly every attempted deployment / service update. At the same time "docker ps" is taking nearly forever to complete:
|
@davidkelley @grantatsyncbak Are you seeing this with Docker 1.7.1 (like @shibai) or with Docker 1.9.1? |
We are using ami-9886a0f2 with Docker 1.9.1. |
This has been the case for some time, and docker is unresponsive, will not even stop : "sudo service docker stop" The latest log entries: D, Known Sent: NONE" |
@shibai Please let us know if you are still seeing this issue on the latest AMI. |
@shibai Thank you for reporting this. We are aware of an issue where the ECS scheduler may place tasks on instances that are in the process of stopping. We are investigating this issue and will provide an update as soon as we have more to share. |
@MarcelvR Is there any news on this? I am experiencing the same problem with my task instances in an unstable state of going up and down. |
I am experiencing the same problem |
I am also experiencing this same problem on ECS. It has been working fine for 2 months, but now experiencing the issue exactly as described above. Update: I suspect it was a problem with the ECS Container Host. I launched another container host into the cluster and it seemed to handle it fine (i.e., no long delays in PENDING state). Terminated the old host, and now I don't seem to be having problems. |
Hi there,
I am running DynamoDB Cross-Region Replication from here, but with the changes you provided here in which it uses ecs-init with Docker 1.7.1. The problem appears after it runs for about 3 days.
The problem is
#1 one of the EC2 instance crashes(or stops), it shuts down the task running on it, but it doesn't de-register itself from ECS.
#2 ECS starts a new task on that failing instance
#3 Autoscaling terminates that old instance and launches a new one. The new one registers.
In step2, the task is always on PENDING





This issue also happens when I manually turn one of the instance into STOP in EC2 console.
Thanks,
Shibai
The text was updated successfully, but these errors were encountered: