Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2014 17:24:16 -0400 (EDT)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        Marc Fournier <scrappy@hub.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: FreeBSD 10.x + LiquidSoap + NFS == Server Hang
Message-ID:  <1556852489.7469008.1404509056767.JavaMail.root@uoguelph.ca>
In-Reply-To: <440AEF44-E1E9-4857-86B5-CACE902AD2DE@hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Marc Fournier wrote:
>=20
> On Jul 4, 2014, at 5:10 AM, Rick Macklem <rmacklem@uoguelph.ca>
> wrote:
>=20
> > Marc Founier wrote:
> >>=20
> >> k, just found
> >> http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-on=
line-ddb.html
> >> and setup KDB/DDB and just tested that using the =E2=80=98sysctl=E2=80=
=99 works to
> >> get me to the KDB prompt =E2=80=A6 hopefully this will allow me to pro=
vide
> >> more useful information, if someone can let me know what exactly
> >> that would be for next time it hangs? :)
> >>=20
> >>=20
> >> thx
> >>=20
> >>=20
> >> On Jul 3, 2014, at 9:26 PM, Marc Fournier <scrappy@hub.org> wrote:
> >>=20
> >>>=20
> >>> Oh, on the remote console, last two lines I see are:
> >>>=20
> >>> =3D=3D
> >>> nfs_getpages: error 4
> >>> vm_fault: pager read error, pid 2957 (liquid soap)
> >>> =3D=3D
> > 4 is EINTR. That would suggest you might have the "intr" option on
> > the mount?
> >=20
> > If so, try taking out the "intr" option on the mount, if you are
> > using it.
>=20
> I did =E2=80=A6 just rebooted with changes, now have it set as:
>=20
> 192.168.1.253:/vol/vol1 /vm     nfs     rw,soft,nolockd  0       0
>=20
Try getting rid of "soft" too. It is actually far more likely to be the
cause (all it takes is a slow response from the server when under heavy
load to cause the nfs_getpages() to timeout and fail). Personally, I would
never use "soft" on an NFS mount.

rick

>=20
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to
> "freebsd-stable-unsubscribe@freebsd.org"
>=20



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1556852489.7469008.1404509056767.JavaMail.root>