base: tracelib: reduce kevent batch size We don't need to process up to 1024 requests at the same time. Increasing this number increases memory usage and the risk of file descriptor exhaustion. Reducing it just causes more iterations of the kevent loop.
--- trunk/base/src/pextlib1.0/tracelib.c 2015-09-28 21:22:19 UTC (rev 140641)
+++ trunk/base/src/pextlib1.0/tracelib.c 2015-09-28 21:24:05 UTC (rev 140642)
@@ -268,7 +268,7 @@
}
#endif /* defined(HAVE_PEERPID_LIST) */
-#define MAX_SOCKETS (1024)
+#define MAX_SOCKETS (64)
#define BUFSIZE (4096)
/**