From owner-freebsd-questions@freebsd.org Wed Feb 20 18:31:51 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 86B7114FBA66 for ; Wed, 20 Feb 2019 18:31:51 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 023C88CFA9 for ; Wed, 20 Feb 2019 18:31:51 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: by mailman.ysv.freebsd.org (Postfix) id B6F5714FBA62; Wed, 20 Feb 2019 18:31:50 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A44AB14FBA61 for ; Wed, 20 Feb 2019 18:31:50 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from smtp2.cretaforce.gr (smtp2.cretaforce.gr [159.69.244.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8FCE98CFA5 for ; Wed, 20 Feb 2019 18:31:49 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from server1.cretaforce.gr (server1.cretaforce.gr [138.201.248.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL RSA CA 2018" (verified OK)) by smtp2.cretaforce.gr (Postfix) with ESMTPS id 17F411FA1B for ; Wed, 20 Feb 2019 20:31:40 +0200 (EET) Received: from [192.168.2.6] (athedsl-127389.home.otenet.gr [85.75.73.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id CD8E42732E for ; Wed, 20 Feb 2019 20:31:39 +0200 (EET) From: Christos Chatzaras Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: df shows wrong usage for tmpfs Message-Id: Date: Wed, 20 Feb 2019 20:31:38 +0200 To: FreeBSD Questions List X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 8FCE98CFA5 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of chris@cretaforce.gr designates 159.69.244.42 as permitted sender) smtp.mailfrom=chris@cretaforce.gr X-Spamd-Result: default: False [-3.61 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:159.69.244.42]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; DMARC_NA(0.00)[cretaforce.gr]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-0.72)[ipnet: 159.69.0.0/16(-1.38), asn: 24940(-2.23), country: DE(-0.01)]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[mail.cretaforce.gr]; NEURAL_HAM_SHORT(-0.98)[-0.983,0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[42.244.69.159.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2019 18:31:51 -0000 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