FreeBSD 10.x + LiquidSoap + NFS == Server Hang

Rick Macklem rmacklem at uoguelph.ca
Fri Jul 4 21:24:19 UTC 2014


Marc Fournier wrote:
> 
> On Jul 4, 2014, at 5:10 AM, Rick Macklem <rmacklem at uoguelph.ca>
> wrote:
> 
> > Marc Founier wrote:
> >> 
> >> k, just found
> >> http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-online-ddb.html
> >> and setup KDB/DDB and just tested that using the ‘sysctl’ works to
> >> get me to the KDB prompt … hopefully this will allow me to provide
> >> more useful information, if someone can let me know what exactly
> >> that would be for next time it hangs? :)
> >> 
> >> 
> >> thx
> >> 
> >> 
> >> On Jul 3, 2014, at 9:26 PM, Marc Fournier <scrappy at hub.org> wrote:
> >> 
> >>> 
> >>> Oh, on the remote console, last two lines I see are:
> >>> 
> >>> ==
> >>> nfs_getpages: error 4
> >>> vm_fault: pager read error, pid 2957 (liquid soap)
> >>> ==
> > 4 is EINTR. That would suggest you might have the "intr" option on
> > the mount?
> > 
> > If so, try taking out the "intr" option on the mount, if you are
> > using it.
> 
> I did … just rebooted with changes, now have it set as:
> 
> 192.168.1.253:/vol/vol1 /vm     nfs     rw,soft,nolockd  0       0
> 
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

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


More information about the freebsd-stable mailing list