-
Notifications
You must be signed in to change notification settings - Fork 3.3k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
yum install, transation freeze with containerd.io 1.5.11 #6741
Comments
Unlikely to be an issue of containerd. |
My store driver is ZFS Docker info: Server: |
Same problem here. Steps I used to reproduce:
and then inside container
the yum transaction takes almost 3 minutes to complete - whereas it usually is just a few seconds. Strangely, I also tried the same with other images such as My storage driver is |
Yup, same for me on Fedora 35 with containerd.io 1.5.11; any |
Hi, Changing the service file to the old value or alternatively creating a new file in /etc/systemd/system/containerd.service.d/override.conf with: It may not be a perfect solution but it is a workaround that is working for me. (Personally i created the override.conf file to avoid messing with the service file that can be overwritten with an update) fedora 35 |
I can confirm that @aleitao's work-around works for me too. So contrary too @AkihiroSuda's remark, it does appear to be caused by changes in containerd.io. |
could someone check if there's a difference in output of This change was made in #4475, but according to the systemd docs I referenced in that PR, Here's on a Ubuntu machine with containerd.io 1.5.11 installed; containerd --version
containerd containerd.io 1.5.11 3df54a852345ae127d1fa3092b95168e4a88e2f8
systemctl cat containerd.service | grep LimitNOFILE
LimitNOFILE=infinity docker run --rm centos:7 sh -c 'ulimit -n'
1048576
docker run --rm centos:7 sh -c 'ulimit -a'
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 3838
max locked memory (kbytes, -l) 65536
max memory size (kbytes, -m) unlimited
open files (-n) 1048576
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) unlimited
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited |
FWIW, I think it's fine to revert that change, but it'd be good if we knew what changed (this could be a bug/regression in systemd, or a change in behaviour) |
Without overriding configuration:
Overriding configuration in /etc/systemd/system/containerd.service.d/override.conf
|
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Description
I got got a freeze when I am trying to build centos 7 image.
My containerd.io version is:
containerd.io-1.5.11-3.1.fc34.x86_64.rpm
OS: Fedora 34
Kernel:Linux 5.16.15-101.fc34.x86_64
When I am trying to install packages (for example mc) inside the runnning container, yum stuck on transations.
One of my cpu thread at this time is working on 100%
Steps to reproduce the issue
Dockerfile:
FROM centos:7
RUN yum install -y mc
Step 1:
docker build -t test .
Describe the results you received and expected
This is where the docker stuck:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : gpm-libs-1.20.7-6.el7.x86_64 1/31
.......
What version of containerd are you using?
1.5.11
Any other relevant information
runc version 1.0.1
commit: v1.0.1-0-g4144b63
spec: 1.0.2-dev
go: go1.15.14
libseccomp: 2.5.3
uname -a:
Linux *** 5.16.15-101.fc34.x86_64 #1 SMP PREEMPT Thu Mar 17 05:50:00 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Show configuration if it is related to CRI plugin.
No response
The text was updated successfully, but these errors were encountered: