Messages in this thread | | | Date | Mon, 13 Jul 2009 12:11:06 +0400 | From | Alexey Vlasov <> | Subject | Counters in df, du |
| |
Hi.
Periodically there is an overflow on /tmp on my boxes, and I can't find the reaason why. May be it isn't a bug in tmpfs and you can help me find the reason, and if it is an error, I hope you will help me to eliminate it.
I know that df, du can show different values if some files were deleted, but the processes which opened these files are still acting.
Well now I see this picture on one of my boxes. Below I post the results of how I was trying to find what was /tmp full of.
# df -h /tmp Filesystem Size Used Avail Use% Mounted on tmpfs 4.1G 3.3G 762M 82% /tmp
# du -hs /tmp 518M /tmp
# lsof /tmp | awk '{if ($7 != 0) print$0}' (in attach)
I still don't see any files taking 3G. Now I know only one solution mount/remount /tmp.
-- BRGDS. Alexey Vlasov. # lsof /tmp | awk '{if ($7 != 0) print$0}' COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME authdaemo 6555 root 5u unix 0xffff81030b8c2840 281375180 /var/lib/courier/authdaemon/socket.tmp authdaemo 6558 root 5u unix 0xffff81030b8c2840 281375180 /var/lib/courier/authdaemon/socket.tmp authdaemo 6559 root 5u unix 0xffff81030b8c2840 281375180 /var/lib/courier/authdaemon/socket.tmp authdaemo 6560 root 5u unix 0xffff81030b8c2840 281375180 /var/lib/courier/authdaemon/socket.tmp authdaemo 6561 root 5u unix 0xffff81030b8c2840 281375180 /var/lib/courier/authdaemon/socket.tmp authdaemo 6562 root 5u unix 0xffff81030b8c2840 281375180 /var/lib/courier/authdaemon/socket.tmp mysqld 22905 mysql 6u REG 0,13 20 663938322 /tmp/ib1oZTSZ (deleted) mysqld 22905 mysql 8u REG 0,13 84773 663938424 /tmp/ibRcarbD (deleted)
| |