summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-16 17:26:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:52 -0500
commit9bda2c3ff27ee5c692bc4b1f19e2ed0f53e30860 (patch)
treea32e5d905cda05f6c17d0e783ec8372d4eb44a50 /source4/torture
parent655b710204e7a7d8e486da7ba675fcbeed116fea (diff)
downloadsamba-9bda2c3ff27ee5c692bc4b1f19e2ed0f53e30860.tar.gz
samba-9bda2c3ff27ee5c692bc4b1f19e2ed0f53e30860.tar.bz2
samba-9bda2c3ff27ee5c692bc4b1f19e2ed0f53e30860.zip
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)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/raw/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/raw/search.c b/source4/torture/raw/search.c
index 822039d830..26b542c27a 100644
--- a/source4/torture/raw/search.c
+++ b/source4/torture/raw/search.c
@@ -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;