Linux NFS development
 help / color / mirror / Atom feed
* nfsd module refcount is out of control....
@ 2008-01-30 14:23 Steve Dickson
  0 siblings, 0 replies; only message in thread
From: Steve Dickson @ 2008-01-30 14:23 UTC (permalink / raw)
  To: NFS list

Has anybody noticed that bring up kNFSD (using a 2.6.24 kernel)
causes 17 modules references on nfsd?

# lsmod | grep nfsd
nfsd                  201584  17 
lockd                  60488  2 nfsd
nfs_acl                 6656  1 nfsd
auth_rpcgss            39360  1 nfsd
exportfs                7936  1 nfsd
sunrpc                157892  10 nfsd,lockd,nfs_acl,auth_rpcgss

It appears one of the culprits is svc_set_num_threads() since
it does a module_get() for every thread, which seems a bit
excessive imho...  What happen to the idea of the first thread 
creating the refcount and the last thread removing the 
refcount?

Anyways, I don't see any routine removing all those 
refcounts. Should something like svc_exit_thread() be
doing the module_put() since svc_set_num_threads did
all those gets? If not, how are all those refcounts
suppose to be removed?  

Also, does anybody have clue as to why auth_rpcgss is 
being insmod-ed when there are no secure exports 
defined?

tia,

steved.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-30 14:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-30 14:23 nfsd module refcount is out of control Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox