From owner-freebsd-fs@freebsd.org Tue Aug 29 15:02:35 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EE657DDDC0B for ; Tue, 29 Aug 2017 15:02:35 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-oi0-f67.google.com (mail-oi0-f67.google.com [209.85.218.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B59A065B9D for ; Tue, 29 Aug 2017 15:02:35 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-oi0-f67.google.com with SMTP id k77so3230906oib.2 for ; Tue, 29 Aug 2017 08:02:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:content-transfer-encoding; bh=0IhF2Ww2P4gbAOPMmSuegEhw59m7HQOKSakMl7qryOo=; b=McYybq64z3lopcdD8WA4XQ9F/aIjn40HKm0mqNCkWxsCpg2R1oHzagvVWVW+EpO1LX 9gOKAjUwiBGyTYrU1Ipw/og8amwH3hAOEENciCmAnoQ2npM946V9LrgQNtNqYaVqBkye 30Z3u2XYEiqvoobnN0Wy2yj/B4WF21jU5SjgOAV6ZAkPKTfOtWSUo6XwYmcDixScO6AJ w45rP78dZW+NRSKMZnTe483+IJMP8O4SbJJ+0k3+TngvKuCnVRcrjJb4yif9U13CklN8 B/o4UI5E9Ro6eBMTOGEddhTk4n/aGd6/0GfNsjlSsIz9KDgTLTkiOPOSTJzi6DYlRu4R r/Gg== X-Gm-Message-State: AHYfb5hlB7nQ1hdSdEpMHTZ4h5fRnVbTNf3VIbK5VbtAXRcQAqqIpTYn pTB/X+KjZjDejJjJ5IE= X-Received: by 10.202.232.84 with SMTP id f81mr629583oih.121.1504018952443; Tue, 29 Aug 2017 08:02:32 -0700 (PDT) Received: from mail-io0-f178.google.com (mail-io0-f178.google.com. [209.85.223.178]) by smtp.gmail.com with ESMTPSA id g12sm3118623oib.6.2017.08.29.08.02.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Aug 2017 08:02:32 -0700 (PDT) Received: by mail-io0-f178.google.com with SMTP id g33so17126686ioj.3 for ; Tue, 29 Aug 2017 08:02:32 -0700 (PDT) X-Received: by 10.36.14.216 with SMTP id 207mr2454021ite.151.1504018951870; Tue, 29 Aug 2017 08:02:31 -0700 (PDT) MIME-Version: 1.0 Reply-To: cem@freebsd.org Received: by 10.2.81.131 with HTTP; Tue, 29 Aug 2017 08:02:31 -0700 (PDT) In-Reply-To: <87o9qyrbs8.fsf@vostro.rath.org> References: <87bmn44ruu.fsf@vostro.rath.org> <87o9qyrbs8.fsf@vostro.rath.org> From: Conrad Meyer Date: Tue, 29 Aug 2017 08:02:31 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: umount() taking minutes for FUSE filesystems To: freebsd-fs@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 15:02:36 -0000 Hey Nikolaus, A first cut debug tactic might be running 'procstat -kk ' to see where it is spending time in the kernel. I haven't had time to try and reproduce this myself, sorry. Best, Conrad On Tue, Aug 29, 2017 at 1:57 AM, Nikolaus Rath wrote: > *ping* > > Anyone able to help? > > Thanks, > -Nikolaus > > On Aug 24 2017, Nikolaus Rath wrote: >> Hello, >> >> It seems that in some situations, the unmount() system call takes >> minutes to unmount fuse filesystems. To reproduce, download a Git >> snapshot of libfuse 3 from https://github.com/libfuse/libfuse and do: >> >> $ md build; cd build >> $ meson .. >> $ mesonconf -D buildtype=3Ddebug # optional >> $ ninja >> >> Then execute examples/printcap. This will take very long, and all the >> time is spent in the unmount(mountpoint, MNT_FORCE) call in >> mount_bsd.c:fuse_kern_unmount(). >> >> Does anyone have an idea what might be causing this and how to fix it? >> >> My hunch is that it has something to do with libfuse no longer >> responding to requests at this point. But I'm at my wits end as to why >> and what to do about it.... >> >> Best, >> -Nikolaus >> >> -- >> GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F >> >> =C2=BBTime flies like an arrow, fruit flies like a Banana.= =C2=AB >> _______________________________________________ >> freebsd-fs@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-fs >> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > > > -- > GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F > > =C2=BBTime flies like an arrow, fruit flies like a Banana.= =C2=AB > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"