Michael Steffens wrote:
Ken Cross wrote:
There is pretty much a one-to-one correspondence between the number of
smbd processes open (i.e. connected users) and winbindd file descriptors
(per fstat).
Hmm, it may be platform specific. smbd connects winbindd both directly
and via NSS. On HP-UX
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
, 2003 7:39 AM
To: David Collier-Brown -- Customer Engineering
Cc: [EMAIL PROTECTED]; Ken Cross; 'Multiple recipients of list
SAMBA-TECHNICAL'
Subject: Re: Winbindd limited by select
David Collier-Brown -- Customer Engineering wrote:
Ken Cross wrote:
#define FD_SETSIZE 2048 /* Max # of winbindd
Ken Cross wrote:
My $0.02...
Mike Sweet wrote:
Sooo, my recommendations are as follows:
1. Provide a configure option (--with-maxfiles or similar)
to configure the upper limit you want to support in SAMBA.
2. Provide a smb.conf option to control the max number of
file
Michael Steffens wrote:
Mike Sweet wrote:
Sooo, my recommendations are as follows:
1. Provide a configure option (--with-maxfiles or similar)
to configure the upper limit you want to support in SAMBA.
2. Provide a smb.conf option to control the max number of
file
'; 'Multiple recipients of list SAMBA-TECHNICAL'
Subject: Re: Winbindd limited by select
Ken Cross wrote:
My $0.02...
Mike Sweet wrote:
Sooo, my recommendations are as follows:
1. Provide a configure option (--with-maxfiles or similar)
to configure the upper limit you want
Ken Cross wrote:
My $0.02...
Mike Sweet wrote:
Sooo, my recommendations are as follows:
1. Provide a configure option (--with-maxfiles or similar)
to configure the upper limit you want to support in SAMBA.
2. Provide a smb.conf option to control the max number of
file
Ken Cross wrote:
I was suggesting the other way around -- the number of winbindd fd's
shouldn't be more than the max # of smbd's (well, maybe a *few* more).
But if you are having a system hard limit of 1024 FDs per process,
for example, which you can't raise via setrlimit, you could only
]
-Original Message-
From: Michael Steffens [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 15, 2003 11:46 AM
To: Ken Cross
Cc: 'Mike Sweet'; 'Multiple recipients of list SAMBA-TECHNICAL'
Subject: Re: Winbindd limited by select
Ken Cross wrote:
I was suggesting the other way around
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
On HP-UX 11.x, the default is 2048 for FD_SETSIZE. You can also (according
to man page
for select()) handle this dynamically, if you are concerned for memory
footprint for
your application. An example from the man page:
The user can also allocate the space for fd_set structure
Hi Ken,
Ken Cross wrote:
I've run into a problem with winbindd in both 2.2.x and 3.0 where it
just locks up after a while on large, busy networks.
We finally tracked down the problem to the fact that the C library
select function is limited by default to 256 file descriptors in
NetBSD (1024 in
On Wed, Feb 12, 2003 at 07:36:19AM -0500, Ken Cross wrote:
Samba-folk:
I've run into a problem with winbindd in both 2.2.x and 3.0 where it
just locks up after a while on large, busy networks.
We finally tracked down the problem to the fact that the C library
select function is limited by
On Wed, 12 Feb 2003 07:36:19 -0500
Ken Cross [EMAIL PROTECTED] wrote:
I've run into a problem with winbindd in both 2.2.x and 3.0 where it
just locks up after a while on large, busy networks.
We finally tracked down the problem to the fact that the C library
select function is limited by
Storage Solutions
Phone 865.675.4070 ext 31
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
On Behalf Of Michael B. Allen
Sent: Wednesday, February 12, 2003 4:26 PM
To: Ken Cross
Cc: [EMAIL PROTECTED]
Subject: Re: Winbindd limited by select
On Wed
On Wed, Feb 12, 2003 at 04:26:21PM -0500, Michael B. Allen wrote:
This is set at compile-time, not run-time. This line:
#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
On Wed, Feb 12, 2003 at 10:23:14PM +, [EMAIL PROTECTED] wrote:
Better still why not use poll() instead of select() in the winbindd
main loop?
Because not everyone has poll() :-(. Some have poll build on select.
Some people have poll() and it doesn't work So many bugs, so
little
On 12 Feb 2003, Michael Steffens [EMAIL PROTECTED] wrote:
It's 60 by default after installation, but is tunable (with reboot).
Maybe hp should sell per-fd licences :-/
The solution (and this should also work on other platforms) was to
have winbindd housekeep its client connections by
'
Subject: Re: Winbindd limited by select
On 12 Feb 2003, Michael Steffens [EMAIL PROTECTED] wrote:
It's 60 by default after installation, but is tunable (with reboot).
Maybe hp should sell per-fd licences :-/
The solution (and this should also work on other platforms) was to
have
19 matches
Mail list logo