You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Sergey Galkin (JIRA)" <ji...@apache.org> on 2016/03/21 15:15:25 UTC

[jira] [Updated] (MESOS-4977) Sometime Cmd":["-c","echo 'No such file or directory'] in task.

     [ https://issues.apache.org/jira/browse/MESOS-4977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Galkin updated MESOS-4977:
---------------------------------
    Attachment: mesos.pcap.xz

Traffic dump on port 5050 during deploy one Marathon applications with 100 instances.
In this dump, for example
failed task
b4ee1f97bf56980fbc0891a83e3652a4.b7b6bf11-ef5a-11e5-89d2-6805ca32e0f0

running task
b4ee1f97bf56980fbc0891a83e3652a4.fd840243-ef5a-11e5-89d2-6805ca32e0f0


> Sometime Cmd":["-c","echo 'No such file or directory'] in task.
> ---------------------------------------------------------------
>
>                 Key: MESOS-4977
>                 URL: https://issues.apache.org/jira/browse/MESOS-4977
>             Project: Mesos
>          Issue Type: Bug
>    Affects Versions: 0.27.2
>         Environment: 189 mesos slaves on Ubuntu 14.04.3 LTS
>            Reporter: Sergey Galkin
>         Attachments: mesos.pcap.xz
>
>
> mesos - 0.27.0
> marathon - 0.15.2
> I am trying to launch 1 simple docker application with nginx with 500 instances on cluster with 189 HW nodes through Marathon
> {code}
> ID /1f532267a08494e3081c1acb42d273b7
> Command Unspecified
> Constraints Unspecified
> Dependencies Unspecified
> Labels Unspecified
> Resource Roles Unspecified
> Container
> {
>   "type": "DOCKER",
>   "volumes": [],
>   "docker": {
>     "image": "nginx",
>     "network": "BRIDGE",
>     "portMappings": [
>       {
>         "containerPort": 80,
>         "hostPort": 0,
>         "servicePort": 10000,
>         "protocol": "tcp"
>       }
>     ],
>     "privileged": false,
>     "parameters": [],
>     "forcePullImage": false
>   }
> }
> CPUs 1
> Environment Unspecified
> Executor Unspecified
> Health Checks 
> [
>   {
>     "path": "/",
>     "protocol": "HTTP",
>     "portIndex": 0,
>     "gracePeriodSeconds": 300,
>     "intervalSeconds": 60,
>     "timeoutSeconds": 20,
>     "maxConsecutiveFailures": 3,
>     "ignoreHttp1xx": false
>   }
> ]
> Instances 500
> IP Address Unspecified
> Memory 256 MiB
> Disk Space 50 MiB
> Ports 10000
> Backoff Factor 1.15
> Backoff 1 seconds
> Max Launch Delay 3600 seconds
> URIs Unspecified
> User Unspecified
> {code}
> Deployment stopped on Delayed, only about 360-370 of 500 instances are successful. In the stdout in the failed mesos tasks I see "No such file or directory"
> As I see in /var/log/upstarŠµ/docker.log with enabled debug mesos sometimes try to start containers with strange Cmd ("Cmd":["-c","echo 'No such file or directory'; exit 1"]) and this task failed. Sometime everything is ok "Cmd":null and task in RUNNING state
> Part of the log available in http://paste.openstack.org/show/491122/
> I successfully started 700 nginx with docker applications with 10 instances simultaneously in this cluster



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)