Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2019 20:31:38 +0200
From:      Christos Chatzaras <chris@cretaforce.gr>
To:        FreeBSD Questions List <questions@freebsd.org>
Subject:   df shows wrong usage for tmpfs
Message-ID:  <A1F977FB-3B39-4602-9164-EED729CEAA7B@cretaforce.gr>

next in thread | raw e-mail | index | archive | help
Any idea why df shows wrong usage? I restart nginx and mysql and even =
when these services are stopped it still shows wrong usage.

df -h /tmpfs | grep tmpfs
tmpfs         8.0G    1.1G    6.9G    13%    /tmpfs

du -sh /tmpfs
44M    /tmpfs

fstat -f /tmpfs
USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W
www      nginx       8662    5 /tmpfs      224 -rw-r--r--       0  w
www      nginx       2706    5 /tmpfs      224 -rw-r--r--       0  w
www      nginx       2706  126 /tmpfs     1466 -rw-------   51809  r
www      nginx       2706  133 /tmpfs     2869 -rw-------     641  r
root     nginx      99550    5 /tmpfs      224 -rw-r--r--       0  w
mysql    mysqld     68713    5 -             5 -rw-------       0 rw
mysql    mysqld     68713    6 -             6 -rw-------       0 rw
mysql    mysqld     68713    7 -             7 -rw-------       0 rw
mysql    mysqld     68713    8 -             8 -rw-------       0 rw
mysql    mysqld     68713   12 -             9 -rw-------       0 rw
mysql    mysqld     68713   14 /tmpfs       10 -rw-r-----    3109  w



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A1F977FB-3B39-4602-9164-EED729CEAA7B>