Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 2015 09:43:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 200784] Slow shutdown on r283297 amd64
Message-ID:  <bug-200784-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200784

            Bug ID: 200784
           Summary: Slow shutdown on r283297 amd64
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: 214748mv@gmail.com

Created attachment 157630
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D157630&action=
=3Dedit
FreeBSD 11-CURRENT shutdown.patch

The slow shutdown is caused by some remote smbfs shares mounted via openvpn:
the remote drives are unmounted after the openvpn daemon termination, this
induces some long timeouts. The solution is to unmount the smbfs shares in a
shutdown script before the openvpn daemon termination. I have discovered th=
is
issue with this =E2=80=98dirty=E2=80=99 patch that displays  the unmounted =
fs at shutdown.

For testing the the patch apply it in /sys/kern, rebuild and install the
kernel.

Set the new OID:

# sysctl kern.shutdown.show_umountfs=3D1

Halt the system:

# shutdown -h now

The full history at:
https://lists.freebsd.org/pipermail/freebsd-current/2015-June/056174.html

Regards,
Maurizio

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200784-8>