Server is going down because of jbd2/dm process consuming all I/O

mlopez

Well-Known Member
Dec 17, 2020
75
13
8
Maldonado - Uruguay
cPanel Access Level
Root Administrator
Twitter
My web/email server is going down several times a day because of the process [jbd2/md1-8] which is using 99.99% IO according to iotop.

I've realized that MySQL (MariaDB 10.3.28) has something to do with it: the problem seems to be caused on database reading/writing.

I benchmarked the HD and it's ok, even better than others servers with no performance issues.
This server has just a few accounts (12 users, and a couple of them just use mail server, not mysql)

The specs are as follows:

CentOS Linux 7 (Core) x86_64
Kernel: 3.10.0-1160.15.2.el7.x86_64
CPU: Intel (Broadwell, IBRS) (4) @ 3.599GHz
Memory: 2439MiB / 14030MiB

How can I get rid of this io consumming process?

Thank you for your help.
 
Last edited by a moderator:

ZenHostingTravis

Well-Known Member
PartnerNOC
May 22, 2020
273
92
28
Australia
cPanel Access Level
Root Administrator
  • Like
Reactions: cPRex

lakimens

Registered
Feb 25, 2020
4
0
1
Macedonia
cPanel Access Level
Reseller Owner
Sorry to bump and old thread. While this is informative and now I am aware that the flushing is causing the issue, how should it be resolved? I've read about some risky options such as disable journaling, or trade off resilience for speed in MySQL configuration, but what is the best fix for this? I am running it on an NVME Drive, and sometimes it's writing for hours at 70-90% IO usage.