Urgent: removed database but not get disk quota

MindServer

Well-Known Member
Mar 18, 2020
246
32
28
Spain
cPanel Access Level
Root Administrator
Hi,

I have a server with disk quota problem, I removed old databases but when use command "df -h" not appear the new free disk quota.

-Before remove database: df -h / -> 94%
-After remove database (I calculated should get 2.5%): df -h / -> 94% too

Why happened?.

Too I used the command "lsof -n | grep deleted", I attached a image with information, the server have more than 30 times this lines.

I have CloudLinux + WHM/cPanel, and removed database since cPanel account.

Thank you very much.
 

Attachments

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
Exactly what @ffeingol noted, usually this wouldn't happen right away if MySQL was still holding those files in memory, the only way to drop them is to restart the service holding them open.
 
  • Like
Reactions: MindServer