Closed
Description
chef-client on linux 5.6 ends up in an loop on
poll([{fd=12, events=POLLOUT}], 1, -1) = 1 ([{fd=12, revents=POLLOUT}])
sendfile(12, 11, NULL, 7) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=12, events=POLLOUT}], 1, -1) = 1 ([{fd=12, revents=POLLOUT}])
sendfile(12, 11, NULL, 7) = -1 EAGAIN (Resource temporarily unavailable)
where
ls -l /proc/995449/fd
total 0
lrwx------ 1 509739008 509739008 64 Jun 16 22:22 0 -> /dev/null
l-wx------ 1 509739008 509739008 64 Jun 16 22:22 1 -> 'pipe:[40105052]'
lrwx------ 1 509739008 509739008 64 Jun 16 22:22 10 -> /var/opt/gitlab/gitlab-rails/.chef-VERSION20200616-26-19ldlsx
lr-x------ 1 509739008 509739008 64 Jun 16 22:22 11 -> /opt/gitlab/embedded/service/gitlab-rails/VERSION
l-wx------ 1 509739008 509739008 64 Jun 16 22:22 12 -> /var/opt/gitlab/gitlab-rails/.chef-VERSION20200616-26-19ldlsx
l-wx------ 1 509739008 509739008 64 Jun 16 22:22 2 -> 'pipe:[40105053]'
lrwx------ 1 509739008 509739008 64 Jun 16 22:22 3 -> 'anon_inode:[eventfd]'
lrwx------ 1 509739008 509739008 64 Jun 16 22:22 4 -> 'anon_inode:[eventfd]'
l-wx------ 1 509739008 509739008 64 Jun 16 22:22 5 -> 'pipe:[40105052]'
lr-x------ 1 509739008 509739008 64 Jun 16 22:22 6 -> 'pipe:[40100375]'
l-wx------ 1 509739008 509739008 64 Jun 16 22:22 7 -> 'pipe:[40100375]'
l-wx------ 1 509739008 509739008 64 Jun 16 22:22 8 -> /var/log/gitlab/reconfigure/1592338634.log
lrwx------ 1 509739008 509739008 64 Jun 16 22:22 9 -> /opt/gitlab/embedded/cookbooks/cache/chef-client-running.pid
so far unverified reproducer:
export GITLAB_HOME=/srv/gitlab
docker run --detach \
--hostname gitlab.example.com \
--publish 443:443 --publish 80:80 --publish 22:22 \
--name gitlab \
--restart always \
--volume $GITLAB_HOME/config:/etc/gitlab \
--volume $GITLAB_HOME/logs:/var/log/gitlab \
--volume $GITLAB_HOME/data:/var/opt/gitlab \
gitlab/gitlab-ce:latest
Metadata
Metadata
Assignees
Labels
No labels