Ramdisk full but du reports free space

I'm running FreeBSD on a Soekris box with /var mounted on a 46M ramdisk.
df reports that I'm using all the available space whilst du says I'm only using about 10%, Any ideas what's going on?

Code:
# df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/md0        46M     46M   -3.7M   109%    /var

# du -hs /var
4.6M	/var
 
Back
Top