Skip to content
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

One core 100% used constantly #55

Closed
module0x90 opened this issue Jun 29, 2021 · 2 comments
Closed

One core 100% used constantly #55

module0x90 opened this issue Jun 29, 2021 · 2 comments

Comments

@module0x90
Copy link

module0x90 commented Jun 29, 2021

Since an earlier version, couple of months back I have this container using 1 core only. I am using Nextcloud and that doesn't work as it can't talk to the DB.

Inside the container (RPi 4B) I can see

Mem: 5508532K used, 2555748K free, 301724K shrd, 159588K buff, 4897740K cached
CPU: 2% usr 24% sys 0% nic 73% idle 0% io 0% irq 0% sirq
Load average: 1.01 1.56 1.69 2/359 16
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
1 0 root R 30368 0% 3 25% /usr/bin/mysqld --user=mysql --console --skip-name-resolve --skip-networking=0 --transaction-isolation=READ-COMMITTED --binlog-format=ROW
9 0 root S 1744 0% 2 0% /bin/sh
16 9 root R 1708 0% 1 0% top

Outside - it is shown as 100% CPU.

When I do an strace outside the container of the process inside as root:

syscall_0x193(0x6, 0xbea169d0, 0x6, 0xe40e7c, 0xc91521a4, 0) = -1 EPERM (Operation not permitted)
syscall_0x193(0x6, 0xbea169d0, 0x6, 0xe40e7c, 0, 0) = -1 EPERM (Operation not permitted)
syscall_0x193(0x6, 0xbea169d0, 0x6, 0xe40e7c, 0xc91521a4, 0) = -1 EPERM (Operation not permitted)
syscall_0x193(0x6, 0xbea169d0, 0x6, 0xe40e7c, 0, 0) = -1 EPERM (Operation not permitted)

Seems to be related with
https://forum.armbian.com/topic/13737-focal-continously-changing-system-time/
Mailu/Mailu#1752

This container was working just fine at some point... suddenly it was always on 100% and never responds.

Linux docker 5.10.17-v7l+ #1421 SMP Thu May 27 14:00:13 BST 2021 armv7l GNU/Linux
Raspbian Buster, up2date, no updates outstanding.

Any thoughts?

@module0x90 module0x90 changed the title Using 1 core only One core 100% cused constantly. Jun 29, 2021
@module0x90 module0x90 changed the title One core 100% cused constantly. One core 100% used constantly Jun 29, 2021
@dominictayloruk
Copy link
Member

32bit kernel on Raspberry Pi 4??

Linux docker 5.10.17-v7l+ #1421 SMP Thu May 27 14:00:13 BST 2021 armv7l GNU/Linux

Use a 64bit kernel. Problem solved

@dominictayloruk
Copy link
Member

See here #47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants