dovecot: Use the default fd limit for mail processes.
dovecot at dovecot.org
dovecot at dovecot.org
Sat Sep 15 17:02:40 EEST 2007
details: http://hg.dovecot.org/dovecot/rev/ec5bb5ab7ac2
changeset: 6400:ec5bb5ab7ac2
user: Timo Sirainen <tss at iki.fi>
date: Sat Sep 15 17:01:10 2007 +0300
description:
Use the default fd limit for mail processes.
diffstat:
1 file changed, 3 deletions(-)
src/master/mail-process.c | 3 ---
diffs (20 lines):
diff -r 91db6ee4de5e -r ec5bb5ab7ac2 src/master/mail-process.c
--- a/src/master/mail-process.c Sat Sep 15 17:00:00 2007 +0300
+++ b/src/master/mail-process.c Sat Sep 15 17:01:10 2007 +0300
@@ -27,8 +27,6 @@
# include <sys/resource.h>
#endif
-/* 1024 should be more than enough */
-#define MAIL_PROCESS_FD_LIMIT 1024
/* Timeout chdir() completely after this many seconds */
#define CHDIR_TIMEOUT 30
/* Give a warning about chdir() taking a while if it took longer than this
@@ -826,7 +824,6 @@ create_mail_process(enum process_type pr
if (set->mail_drop_priv_before_exec)
restrict_access_by_env(TRUE);
- restrict_fd_limit(MAIL_PROCESS_FD_LIMIT);
client_process_exec(set->mail_executable, title);
i_fatal_status(FATAL_EXEC, "execv(%s) failed: %m",
More information about the dovecot-cvs
mailing list