[MDEV-23932] 100% usage of a single core with an idle database Created: 2020-10-10 Updated: 2020-10-10 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.5.6 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Jose | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Alpine Linux (LXC container), mariadb-10.5.6-r0 |
||
| Description |
|
I have a tiny 250MB database dedicated to a personal nextcloud instance and running inside LXC container. It's been running w/o for months but recently I noted increased temperatures and it got my attention. It was a bit of a surprise to find out that even with a database totally idle (application is shutdown) one of two CPU cores is 100 % busy with mariadb process.
lldb is not available in repositories and neither are debugging symbols mariadb. This is output of strace on one (and only) busy thread, run for approx. 10 seconds:
|