So I recently realized my /var directory was growing but couldn't find anything using du, then find out about lsof and found the following:
lsof -nP | grep '(deleted)' mongod 23184 23205 mongodb 5w REG 202,1 10765518018 284593 /var/log/mongodb.asd/mongod.log (deleted)
Quite a few lines of those, but I understand they won't just dissapear until the mongod process is restarted?
Anything I can do about it?
This is under Ubuntu 16.04 and MongoDB 3.6.13.