From 648b3b9f768674934c2bbf260bdc75301a63a314 Mon Sep 17 00:00:00 2001 From: Qi Wang Date: Fri, 7 Jan 2022 17:11:18 -0800 Subject: [PATCH] Lower the num_threads in the stress test of test/unit/prof_recent This takes a fair amount of resources. Under high concurrency it was causing resource exhaustion such as pthread_create and mmap failures. --- test/unit/prof_recent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/prof_recent.c b/test/unit/prof_recent.c index c23b01ec..4fb37236 100644 --- a/test/unit/prof_recent.c +++ b/test/unit/prof_recent.c @@ -553,7 +553,7 @@ TEST_END #undef DUMP_ERROR #undef DUMP_OUT_SIZE -#define N_THREADS 16 +#define N_THREADS 8 #define N_PTRS 512 #define N_CTLS 8 #define N_ITERS 2048