#define DONTPANIC 0
#define PANIC 1
-#define MAX_FILESERVER_THREAD 128 /* max number of threads in fileserver, subject to system limits */
+#define MAX_FILESERVER_THREAD 128 /* max number of threads in fileserver, subject to system limits. match to FD_HANDLE_SETASIDE */
#define FILESERVER_HELPER_THREADS 7 /* Listner, IOMGR, FiveMinute,
* HostCheck, Signal, min 2 for RXSTATS */
#define STREAM_HANDLE_MALLOCSIZE 1
/* Number of file descriptors needed for non-cached I/O */
-#define FD_HANDLE_SETASIDE 64
+#define FD_HANDLE_SETASIDE 128 /* Match to MAX_FILESERVER_THREAD */
/* Don't try to have more than 256 files open at once if you are planning
* to use fopen or fdopen. The FILE structure has an eight bit field for