r18585: 50 open searches is still too many for some of the build farm hosts,
authorAndrew Tridgell <tridge@samba.org>
Sat, 16 Sep 2006 17:26:55 +0000 (17:26 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:18:52 +0000 (14:18 -0500)
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)

source4/torture/raw/search.c

index 822039d830ee2440db07d4243ef62f1e083c9fba..26b542c27afb1a4a883ea0e60fe4379096724e46 100644 (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;