Blame SOURCES/libdb-limit-cpu.patch

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