linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kernel freeze when running docker
@ 2018-08-20  9:35 Vignesh Raman
       [not found] ` <20180821012731.GB8562@jcartwri.amer.corp.natinst.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Vignesh Raman @ 2018-08-20  9:35 UTC (permalink / raw)
  To: linux-rt-users

Hi,

I'm seeing a kernel freeze (and systemd reboots after few seconds)
when docker running kubernetes with debian 4.9 RT kernel
(4.9.0-6-rt-amd64).
This was tested with 4.14 -rt kernel and the issue was still seen.
kdump is not capturing the coredump in this case so I'm unable to
check the crash logs.
The system crash logs are not available in /sys/fs/pstore.

When manual crash is triggered with sysrq the kdump captures the crash
logs. But this does not work always.
Sometimes the system does not reboot when manual crash (sysrq) is
triggered and a freeze happens.
Maybe the capture kernel itself hangs while taking coredump.

When manual crash is triggered with sysrq the crash logs are available
in /sys/fs/pstore.

I'm able to reproduce a similar freeze/reset issue with the steps
mentioned here https://github.com/moby/moby/issues/19758.
Run "for f in $(seq 1 1000);do docker run -it --rm ubuntu echo $f;
done" concurrently in 3 terminals.
But I'm unable to confirm if both these issues are related due to
unavailability of crash logs.

Enabled CPUAccounting/MemoryAccounting in docker.service but the
system freeze was still seen.,
sudo systemctl set-property docker.service MemoryAccounting=yes
sudo systemctl set-property docker.service CPUAccounting=yes

I was thinking to enable CONFIG_RT_GROUP_SCHED (allocate real CPU
bandwidth to task groups). But this is disabled if PREEMPT_RT_FULL is
enabled.

I'm unable to root cause the reason for freeze/crash because crash
logs are not available.
Is there any other way to capture the crashdump? Any pointers will be
helpful. Thanks.

Regards,
Vignesh

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-08-27 17:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-20  9:35 kernel freeze when running docker Vignesh Raman
     [not found] ` <20180821012731.GB8562@jcartwri.amer.corp.natinst.com>
     [not found]   ` <CAH3OF50F26ywGHZ2Rfa7v-SeoZ6KccSPt+1uNq65eBNTqom=-A@mail.gmail.com>
2018-08-21 13:42     ` Julia Cartwright
2018-08-22  8:08       ` Vignesh Raman
     [not found]         ` <20180822164235.GR1123@jcartwri.amer.corp.natinst.com>
2018-08-24  6:41           ` Vignesh Raman
2018-08-27 13:43             ` Vignesh Raman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).