[ 
https://issues.apache.org/jira/browse/MESOS-8038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16518573#comment-16518573
 ] 

Zhitao Li edited comment on MESOS-8038 at 6/20/18 8:35 PM:
-----------------------------------------------------------

We have this happening again in our cluster.

One suggestion I have is to change 
[Failure|https://github.com/apache/mesos/blob/72752fc6deb8ebcbfbd5448dc599ef3774339d31/src/slave/containerizer/mesos/isolators/gpu/allocator.cpp#L258]
 into a FATAL so that agent will generate a coredump when allowed, and we can 
use gdb to analyze the data structure further. This will also make recovery 
automated as long as agent is configured to automated restart upon crash (which 
would be recommended in a production installation)

[~bmahler] [~vinodkone] What do you think?


was (Author: zhitao):
We have this happening again in our cluster.

One suggestion I have is to change 
[Failure|https://github.com/apache/mesos/blob/72752fc6deb8ebcbfbd5448dc599ef3774339d31/src/slave/containerizer/mesos/isolators/gpu/allocator.cpp#L258]
 into a FATAL so that agent will generate a coredump when allowed, and we can 
use gdb to analyze the data structure further. This will also make recovery 
automated.

[~bmahler][~vinodkone] What do you think?

> Launching GPU task sporadically fails.
> --------------------------------------
>
>                 Key: MESOS-8038
>                 URL: https://issues.apache.org/jira/browse/MESOS-8038
>             Project: Mesos
>          Issue Type: Bug
>          Components: allocation, containerization, gpu
>    Affects Versions: 1.4.0
>            Reporter: Sai Teja Ranuva
>            Assignee: Zhitao Li
>            Priority: Critical
>         Attachments: mesos-master.log, mesos-slave.INFO.log
>
>
> I was running a job which uses GPUs. It runs fine most of the time. 
> But occasionally I see the following message in the mesos log.
> "Collect failed: Requested 1 but only 0 available"
> Followed by executor getting killed and the tasks getting lost. This happens 
> even before the the job starts. A little search in the code base points me to 
> something related to GPU resource being the probable cause.
> There is no deterministic way that this can be reproduced. It happens 
> occasionally.
> I have attached the slave log for the issue.
> Using 1.4.0 Mesos Master and 1.4.0 Mesos Slave.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to