Blame SOURCES/libdb-limit-cpu.patch

93d352
diff -Naurp db_old/src/os/os_cpu.c db_new/src/os/os_cpu.c
93d352
--- db_old/src/os/os_cpu.c	2012-05-11 12:57:54.000000000 -0500
93d352
+++ db_new/src/os/os_cpu.c	2015-08-12 14:00:37.232498880 -0500
93d352
@@ -40,6 +40,8 @@ __os_cpu_count()
93d352
 	long nproc;
93d352
 
93d352
 	nproc = sysconf(_SC_NPROCESSORS_ONLN);
93d352
+	if (nproc > 1024)
93d352
+		nproc = 1024;
93d352
 	return ((u_int32_t)(nproc > 1 ? nproc : 1));
93d352
 #else
93d352
 	return (1);