Displaying 1 result from an estimated 1 matches for "config_binary".
2015 Jan 22
2
[PATCH] increase fd_limit to max_client_limit automatically
...settings.c Thu Jan 22 13:39:41 2015 +0200
@@ -18,6 +18,7 @@
#include <unistd.h>
#include <sys/stat.h>
#include <sys/wait.h>
+#include <sys/resource.h>
static bool master_settings_verify(void *_set, pool_t pool,
const char **error_r);
@@ -418,7 +419,7 @@
#ifdef CONFIG_BINARY
const struct service_settings *default_service;
#else
- rlim_t fd_limit;
+ struct rlimit fd_limit;
const char *max_client_limit_source = "default_client_limit";
unsigned int max_client_limit = set->default_client_limit;
#endif
@@ -591,12 +592,18 @@
client_limit, max_anvil...