Hi Guys,
We have a problem with /dev/sda1 partition memory issue.
It takes about one week to be filled in 99% without reason. To fix it we just need to reboot server and memory usage back to about 35%.
Total space at this partition is 9.9G.
/dev/sda1 9.9G 9.9G 0 100% /
/dev/sdb 414G 199M 393G 1% /mnt
/dev/sdf 197G 35G 153G 19% /mnt/mysql
/dev/sdg 99G 73G 22G 78% /mnt/solr
none 3.8G 0 3.8G 0% /dev/shm
Please advise,
cheers
-
what's /dev/sda1 used for? If it's for /var or for '/' which holds /var, you might have logs overflowing, or mailboxes not being cleaned out
From dyasny -
Once it has filled, can you, from /, run the command du -h --max-depth=1 This will give you a listing by directory of where the space is being used. Then can you go into the folder which is taking up the most space (/var at a guess) and then do the same. You should be able to figure out where the space is going. I presume this is going to be logs/mail- depending on what the server role is.
From AliGibbs -
You have a file that is being deleted, but not closed by the process that created it. Before you do a reboot, do the following as root:
lsof | grep deletedYou should find some file that is being deleted, but because the process that created it hasn't closed it, the space is still being used.
Trevor Harrison : +1: or /tmp is filling up and a init script empties it during startup.From Kevin M
0 comments:
Post a Comment