Winbindd limited by select

Michael Steffens michael.steffens at hp.com
Sat Feb 15 12:38:43 GMT 2003


David Collier-Brown -- Customer Engineering wrote:
> Ken Cross wrote:
> 
>>> #define FD_SETSIZE 2048  /* Max # of winbindd connections */
>>>
>>>must occur before the first invocation of <sys/types>.
>>>
>>>This could be a build option, but it might be much simpler to hard-code
>>>it in local.h, which is what I did to fix it.
>>>
>>>Can somebody check the implications of this on Solaris, HPUX, etc.?
> 
>  
> 	On Solaris, compiled as a 32-bit app, the limit
> 	applies.  Compiled as a 64-bit app, you can have 
> 	as many FDs as you want.
> 
> 	However, there is currently no good reason to build
> 	Samba as a 64-bit app: it doesn't need a bigger
> 	address space.

I'm wondering, basically concerning all platforms, whether this
is about the size of fd_set, or about the number of FDs the
kernel will actually assign to a process.

If the latter one is not limited, wouldn't a single excessive FD
consumer impact other processes?

Cheers!
Michael



More information about the samba-technical mailing list