login
Header Space

 
 

Re: dfbsd nfs client - file descriptor leak

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <kernel@...>
Date: Wednesday, April 23, 2008 - 2:32 pm

>    Well, NFSv3 is a stateless protocol, meaning that it shouldn't be

Yep. When I took a quick look at FreeBSD7 sources, the "openfiles" is
incremented by falloc(). It isn't called anywhere within the nfs code,
but is called for socket descriptors, which was why I thought it might
be ticking up due to lots of TCP connections being created. (A quick test
using my server code running in FreeBSD7 shows that openfiles only gets
incremented by 1 for each TCP connection and doesn't seem to change at all
otherwise.)

But, since he reports that isn't the case, I have no idea what would make
"openfiles" get incremented by the nfs server. I do agree that it is most
likely a server bug (fortunately not the server code I'm maintaining these
days:-).

rick
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: dfbsd nfs client - file descriptor leak, Rick Macklem, (Wed Apr 23, 2:32 pm)
speck-geostationary