nvidia-docker icon indicating copy to clipboard operation
nvidia-docker copied to clipboard

Performing AI calculations in docker containers for a long time, causing the server to crash

Open Seealso opened this issue 5 years ago • 0 comments

1. Issue or feature description

When I run AI calculations in docker for a long time, the server will crash in half a day or a day. If you don’t make any changes, you can transfer to the physical machine used for AI calculations and you can calculate for a long time.

Why does this happen? How can I solve the problem?

Thank you

The server configuration is as follows

NVRM version:   430.40
CUDA version:   10.1

Device Index:   0
Device Minor:   0
Model:          Quadro RTX 4000
Brand:          Quadro
GPU UUID:       GPU-27ac0b06-c7b3-9a2f-8516-dcf9e1950fc8
Bus Location:   00000000:01:00.0
Architecture:   7.5

Device Index:   1
Device Minor:   1
Model:          GeForce RTX 2080 SUPER
Brand:          GeForce
GPU UUID:       GPU-aa52b26a-d558-440d-6dc5-d05dadff41e2
Bus Location:   00000000:02:00.0
Architecture:   7.5
======================================================
4.15.0-139-generic #143~16.04.1-Ubuntu SMP Wed Mar 17 08:10:33 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
======================================================
Client: Docker Engine - Community
 Version:           20.10.5
 API version:       1.41
 Go version:        go1.13.15
 Git commit:        55c4c88
 Built:             Tue Mar  2 20:18:15 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.5
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       363e9a8
  Built:            Tue Mar  2 20:16:12 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.4.4
  GitCommit:        05f951a3781f4f2c1911b05e61c160e9c30eaa8e
 runc:
  Version:          1.0.0-rc93
  GitCommit:        12644e614e25b05da6fd08a38ffa0cfe1903fdec
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
================================================
ii  libnvidia-container-tools                     1.3.3-1                     amd64                       NVIDIA container runtime library (command-line tools)
ii  libnvidia-container1:amd64                    1.3.3-1                     amd64                       NVIDIA container runtime library
un  nvidia-common                                 <none>                      <none>                      (no description available)
ii  nvidia-container-runtime                      3.4.2-1                     amd64                       NVIDIA container runtime
un  nvidia-container-runtime-hook                 <none>                      <none>                      (no description available)
ii  nvidia-container-toolkit                      1.4.2-1                     amd64                       NVIDIA container runtime hook
un  nvidia-prime                                  <none>                      <none>                      (no description available)
=================================================
version: 1.3.3
build date: 2021-02-05T13:29+00:00
build revision: bd9fc3f2b642345301cb2e23de07ec5386232317
build compiler: gcc-5 5.4.0 20160609
build platform: x86_64
build flags: -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DNDEBUG -std=gnu11 -O2 -g -fdata-sections -ffunction-sections -fstack-protector -fno-strict-aliasing -fvisibility=hidden -Wall -Wextra -Wcast-align -Wpointer-arith -Wmissing-prototypes -Wnonnull -Wwrite-strings -Wlogical-op -Wformat=2 -Wmissing-format-attribute -Winit-self -Wshadow -Wstrict-prototypes -Wunreachable-code -Wconversion -Wsign-conversion -Wno-unknown-warning-option -Wno-format-extra-args -Wno-gnu-alignof-expression -Wl,-zrelro -Wl,-znow -Wl,-zdefs -Wl,--gc-sections

Seealso avatar Mar 24 '21 10:03 Seealso