I've got CentOS Linux release 7.8.2003 (Core) running PHP & MySQL and it has been doing fine until last week (I ran yum update and took all updates, maybe related?). Suddenly the primary partition has been filling up rapidly, according to df. Once df reports full, it is unwritable - I've mounted new block storage devices and move the larger stuff off the main partition but it is still filling up - it has jumped from 85% to 100% in 24 hours, ~12GB which is nothing like the sort of amounts of data usually generated):
Code: Select all
# df -ihT
Filesystem Type Inodes IUsed IFree IUse% Mounted on
devtmpfs devtmpfs 246K 388 246K 1% /dev
tmpfs tmpfs 249K 1 249K 1% /dev/shm
tmpfs tmpfs 249K 781 248K 1% /run
tmpfs tmpfs 249K 16 249K 1% /sys/fs/cgroup
/dev/mapper/centos-root xfs 2.3M 194K 2.1M 9% /
/dev/sdb1 ext4 1.3M 18K 1.3M 2% /mnt/block/prod1
/dev/sdc1 ext4 2.5M 492 2.5M 1% /mnt/block/prod2
/dev/sda1 xfs 500K 353 500K 1% /boot
tmpfs tmpfs 249K 1 249K 1% /run/user/0
Code: Select all
# du --max-depth=1 -h -x /
39M /etc
183M /root
8.0K /tmp
1.8G /var
5.4G /usr
27M /home
0 /media
70G /mnt
188M /opt
0 /srv
0 /tmp2
77G /
Code: Select all
sw-engine 1103 root 3u REG 253,1 0 100759151 /tmp/.ZendSem.FmsMQx (deleted)
tuned 1106 root DEL REG 253,1 100862106 /tmp/#100862106
tuned 1106 root 8u REG 253,1 4096 100862106 /tmp/#100862106 (deleted)
gmain 1106 1346 root DEL REG 253,1 100862106 /tmp/#100862106
gmain 1106 1346 root 8u REG 253,1 4096 100862106 /tmp/#100862106 (deleted)
tuned 1106 1347 root DEL REG 253,1 100862106 /tmp/#100862106
tuned 1106 1347 root 8u REG 253,1 4096 100862106 /tmp/#100862106 (deleted)
tuned 1106 1389 root DEL REG 253,1 100862106 /tmp/#100862106
tuned 1106 1389 root 8u REG 253,1 4096 100862106 /tmp/#100862106 (deleted)
tuned 1106 1406 root DEL REG 253,1 100862106 /tmp/#100862106
tuned 1106 1406 root 8u REG 253,1 4096 100862106 /tmp/#100862106 (deleted)
I've recently mounted 2 block storage devices under /mnt/block/prod1 & /mnt/block/prod2. One of those is for files output by the webserver and the other is now the mysql data directory. I commented these out in /etc/fstab, and rebooted to check that files weren't being hidden "under" the mounts but they were empty.
/mnt/nfs has been mounted for a long while and receives hourly file & db backups via a cron. I've forgotten how this is mounted TBH! But it isn't in /etc/fstab.
installonly_limit=5 in /etc/yum.conf
I've read viewtopic.php?t=61945 and several other posts and (I think) elimated the obvious issues.
Help!