[OpenAFS-devel] [grand.central.org #87977] MAX_FILESERVER_THREAD vs FD_HANDLE_SETASIDE

Derrick Brashear shadow@gmail.com
Mon, 3 Mar 2008 09:43:58 -0500


On Mon, Mar 3, 2008 at 9:42 AM, Dan Hyde <drh@umich.edu> wrote:
> > Been there, done that: namei-avoid-spurious-emfile-20071126 is the
>  > answer I suppose.
>
>  Thanks for the heads up; I didn't see your fix.  Looking it over, and
>  thinking of a worst-case scenario, if all threads tried to open a file
>  at the same time, they'd all fdCacheSize--, and the end result would be
>  to reduce the fdCacheSize down so all threads could open a file.  I'd
>  rather do the math up front, but doing it when it proves to be a
>  problem certainly works, too.
>
>  I could live with either of these fixes.
>
Given that his fix is already in CVS...