Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 11th July 2008
NathanL NathanL is offline
New User
Join Date: Jul 2008
Posts: 2
Default rpc.nfsd threads, how do i change them?

I've been investigating some nfs retransmits on a cluster of machines that i've got running, and i found a related article that suggests upping the rcp.nfsd threads. The article was based on linux though, and not BSD, so it offered no help other than the theory.

Is there a way to modify this setting on FreeBSD? All machines involved are running FreeBSD 6.2.

Reply With Quote
  #2   (View Single Post)  
Old 11th July 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
Join Date: May 2008
Posts: 696

When in doubt, head to the man pages. $ man -k nfs is a good place to start. It lists (amongst other things) nfsd(8). Reading that man pages shows the -n option. As system services are started by rc.conf(5), and /etc/defaults/rc.conf lists pretty much everything that one can use, a quick grep for nfsd gives
nfs_server_flags="-u -t -n 4"   # Flags to nfsd (if enabled).
Just add that line to /etc/rc.conf and set as needed. Finally, restart nfsd using the script in /etc/rc.d/

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #3   (View Single Post)  
Old 11th July 2008
NathanL NathanL is offline
New User
Join Date: Jul 2008
Posts: 2

I actually had come across that -n option, and we gave it a shot. We tried increasing it to 10, as a start, and it actually made the nfs server unavailable after an nfs restart. Once we realized it wasnt working, we quickly changed it back, as this is a production environment.

Not really sure what happened to make it fail...

We're in the process of building a failover nfs server. Once we get that running, we'll continue our testing on that machine.

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash player threads Carpetsmoker FreeBSD General 0 22nd October 2008 12:45 PM
change ttl value ecnalbya OpenBSD Security 18 23rd August 2008 12:46 PM
disappearing threads crayoxide Feedback and Suggestions 9 13th August 2008 01:07 AM
Zero-reply threads anomie Feedback and Suggestions 5 22nd May 2008 02:54 PM

All times are GMT. The time now is 03:25 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick