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
deck-chores failes in on_max_instances #52
Comments
have you set |
Yes, that's what I'm toying around with. My scenario is that I have a few
containers that each allocate a lot of gpu memory such that I can only
afford to have one of them running at any given time. What I was trying to
see was if that was possible to achieve through deck chores and the job
pool size.
…On Thu, Apr 2, 2020, 19:32 Frank Sachsenheim ***@***.***> wrote:
have you set JOB_POOL_SIZE deliberately to 1?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#52 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADYQU5ETXLSD5JHTCXWAEDTRKTD3RANCNFSM4L2QO33A>
.
|
thanks for reporting! you hit a bug in very simple code that is yet hard to test. the fix will be included in the maintenance release scheduled for early May. regarding your use-case: i wouldn't limit the pool, but have the jobs check a directory that acts as semaphore in a shared volume. in theory, maybe it doesn't fit your environment or i'm missing something. |
It will probably fit my needs and was my original plan until I noticed the |
because you restrict other uses than these gpu-hungry containers where failing. |
I'm toying around with deck-chores and quite directly ran into an issue.
OS: Ubuntu 18.04
docker: Docker version 18.09.7, build 2d0083d
Log from deck-chores:
Steps to reproduce:
Dockerfile
and the script it runs is simply:
Finally the image built and a container started through
docker run --name app2 app2:latest
The text was updated successfully, but these errors were encountered: