Blame SOURCES/libdb-limit-cpu.patch

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