MariaDB Restarting with When Disk Quotas Enabled

Staff

I have a problem with my server with virtualmin installed.

I configured the disk quotas for the user and when a user’s quota is reaching the limit the mariadb keeps restarting and changing from the active(running) status to the activating(auto-restart) status.

I saw that when running the service mariadb status command I have a preallocating error but I realize that this only occurs when the user of a site is reaching the quota limit and affecting the service.

I tried to enclose a /etc/systemd/system/mariadb.service.d/foo.conf file with the following lines:

[Service]
Restart=on-failure
RestartSec=30s

But without success.

The mariadb log files and screenshots are attached.

Can you help me understand and solve this please



not to be insulting, but why not just increase the quota?

Because each user needs to have their quota and even increasing it I would probably have to free up more and more space and I would always find mariadb stopped for everyone because of 1.