1 --- cyrus-imapd-2.1.16/master/master.c.getrlimit 2003-12-28 17:32:46.000000000 +0100
2 +++ cyrus-imapd-2.1.16/master/master.c 2003-12-28 17:43:56.000000000 +0100
3 @@ -1208,12 +1208,10 @@
6 if (setrlimit(RLIMIT_NUMFDS, &rl) < 0) {
7 - syslog(LOG_ERR, "setrlimit: Unable to set file descriptors limit to %ld: %m", x);
11 if (!getrlimit(RLIMIT_NUMFDS, &rl)) {
12 - syslog(LOG_ERR, "retrying with %ld (current max)", rl.rlim_max);
13 rl.rlim_cur = rl.rlim_max;
14 if (setrlimit(RLIMIT_NUMFDS, &rl) < 0) {
15 syslog(LOG_ERR, "setrlimit: Unable to set file descriptors limit to %ld: %m", x);
20 + syslog(LOG_ERR, "setrlimit: Unable to set file descriptors limit to %ld: %m", x);
22 #endif /* HAVE_GETRLIMIT */