From owner-freebsd-questions@freebsd.org Sat Nov 30 21:15:14 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C14251B8EF5 for ; Sat, 30 Nov 2019 21:15:14 +0000 (UTC) (envelope-from news@mips.inka.de) Received: from mail.inka.de (mail.inka.de [IPv6:2a04:c9c7:0:1073:217:a4ff:fe3b:e77c]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47QPKZ019rz4XQ1 for ; Sat, 30 Nov 2019 21:15:13 +0000 (UTC) (envelope-from news@mips.inka.de) Received: from mips.inka.de (news@[127.0.0.1]) by mail.inka.de with uucp (rmailwrap 0.5) id 1ibA53-0005OG-B8; Sat, 30 Nov 2019 22:15:05 +0100 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.15.2/8.15.2) with ESMTP id xAULDw6f091964 for ; Sat, 30 Nov 2019 22:13:58 +0100 (CET) (envelope-from news@lorvorc.mips.inka.de) Received: (from news@localhost) by lorvorc.mips.inka.de (8.15.2/8.15.2/Submit) id xAULDwqn091963 for freebsd-questions@freebsd.org; Sat, 30 Nov 2019 22:13:58 +0100 (CET) (envelope-from news) To: freebsd-questions@freebsd.org From: Christian Weisgerber Newsgroups: list.freebsd.questions Subject: Firefox keeps downloaded files open? Date: Sat, 30 Nov 2019 21:13:58 -0000 (UTC) Message-ID: User-Agent: slrn/1.0.3 (FreeBSD) X-Rspamd-Queue-Id: 47QPKZ019rz4XQ1 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of news@mips.inka.de has no SPF policy when checking 2a04:c9c7:0:1073:217:a4ff:fe3b:e77c) smtp.mailfrom=news@mips.inka.de X-Spamd-Result: default: False [4.00 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(0.52)[ip: (1.38), ipnet: 2a04:c9c7::/32(0.69), asn: 202113(0.55), country: DE(-0.01)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+]; NEURAL_SPAM_MEDIUM(0.29)[0.287,0]; NEURAL_SPAM_LONG(0.99)[0.994,0]; DMARC_NA(0.00)[inka.de]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[naddy@mips.inka.de,news@mips.inka.de]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:202113, ipnet:2a04:c9c7::/32, country:DE]; FROM_NEQ_ENVFROM(0.00)[naddy@mips.inka.de,news@mips.inka.de]; RCVD_TLS_LAST(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: Sat, 30 Nov 2019 21:15:14 -0000 Lately I've been downloading some large files with Firefox. Once the download has successfully finished, I "Clear Downloads" in the Firefox download library window, so Firefox should forget about the files. I then copy them to a different filesystem and rm the original. _Sometimes_ the disk space is not freed. Obviously Firefox is still keeping a file descriptor open, because quitting Firefox then immediately frees the disk space. Is anybody else seeing this? It only happens intermittently. Sometimes the disk space is freed immediately following the rm, sometimes it isn't. I've started noticing this in recent weeks, but that may simply be due to my usage pattern. FreeBSD 12-STABLE with whatever the lastest www/firefox port is, currently 71.0. -- Christian "naddy" Weisgerber naddy@mips.inka.de