On Wed, Mar 20, 2013 at 7:49 AM, Dan Thomas <godders@gmail.com> wrote:
Not all of our servers are leaking space, it's only the more recently-installed systems. Here's a quick breakdown of versions:
FWIW, I do not observe this behavior. My database has very heavy write load, and old data is purged after it is aged about 7 months, so I do get lots of fragmentation. However, I do not have any disk space "phantom" loss.
How long does it take for you to accumulate this "leak"? My first instinct is that you have unlinked files still referenced by some application. That is really the only way you get these discrepancies. lsof *should* have showed them to you. Try fstat in case there's some bug in lsof.
Also, your tunefs output seems to be not from FreeBSD 9.1. Specifically, it is not emitting this line:
tunefs: soft update journaling: (-j) disabled
It is a very useful option to turn on for large file systems. I can recover a 6TB file system in about 5 seconds on a crash reboot with that on.
[root@d04]# ps axuw34214
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND