[ https://issues.apache.org/jira/browse/MESOS-4999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15208227#comment-15208227 ]
David commented on MESOS-4999: ------------------------------ All those phantom tasks had same app_id. That app_id has already been killed. When I tried to delete them using /v2/tasks/delete API request, Marathon returned error: "MarathonHttpError: HTTP 404 returned with message, "App '/66e562a95c285ce39f37693061a46c2e.f2b796f3-f03c-11e5-ace3-3cfdfe9c6364' does not exist" But when I had created app with same app_id as mentioned above and then deleted it all phantom tasks was deleted too. > Mesos (or Marathon) lost tasks > ------------------------------ > > Key: MESOS-4999 > URL: https://issues.apache.org/jira/browse/MESOS-4999 > Project: Mesos > Issue Type: Bug > Affects Versions: 0.27.2 > Environment: mesos - 0.27.0 > marathon - 0.15.2 > 189 mesos slaves with Ubuntu 14.04.2 on HP ProLiant DL380 Gen9, > CPU - 2 x Intel(R) Xeon(R) CPU E5-2680 v3 @2.50GHz (48 cores (with > hyperthreading)) > RAM - 264G, > Storage - 3.0T on RAID on HP Smart Array P840 Controller, > HDD - 12 x HP EH0600JDYTL > Network - 2 x Intel Corporation Ethernet 10G 2P X710, > Reporter: Sergey Galkin > Attachments: agent-mesos-docker-logs.tar.xz, > masternode-1-mesos-marathon-log.tar.xz, > masternode-3-mesos-marathon-log.tar.xz, mesos-nodes.png > > > After a lot of create/delete application with docker instances through > Marathon API I have a lot of lost tasks after last *deleting all application > in Marathon*. > They are divided into three types > 1. Tasks hangs in STAGED status. I don't see this tasks in 'docker ps' on the > slave and _service docker restart_ on mesos slave did not fix these tasks. > 2. RUNNING because docker hangs and can't delete these instances (a lot of > {code} > Killing docker task > Shutting down > Killing docker task > Shutting down > {code} > in stdout, > _docker stop ID_ hangs and these tasks can be fixed by _service docker > restart_ on mesos slave. > 3. RUNNING after _service docker restart_ on mesos slave. > Screenshot attached -- This message was sent by Atlassian JIRA (v6.3.4#6332)