1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00

r18585: 50 open searches is still too many for some of the build farm hosts,

which have a ulimit -n of 100. Drop the number of searches to 20.

That should limit the maximum total fd count to about 76, most of
which is all the listening sockets on the various interfaces
(This used to be commit fb5b8c4f8c1ed69e3a813befeeb2a9627e84c454)
This commit is contained in:
Andrew Tridgell 2006-09-16 17:26:55 +00:00 committed by Gerald (Jerry) Carter
parent 655b710204
commit 9bda2c3ff2

View File

@ -1019,7 +1019,7 @@ done:
*/
static BOOL test_many_dirs(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
{
const int num_dirs = 50;
const int num_dirs = 20;
int i, fnum, n;
char *fname, *dname;
BOOL ret = True;