On Mon, 2003-03-31 at 22:11, Sebastian Pachuta wrote:
I have some odd problem with running dovecot. Program dies with message in maillog:
Mar 31 21:04:04 test-box dovecot: execv(imap-login) failed: Resource temporarily unavailable
System is redhat6.2 (with all updates), kernel is 2.2.25 (with openwall patch). Under rh7.3 dovecot launches fine.
It's probably because of the openwall patch. Would this patch help? diff -u -r1.38 login-process.c --- src/master/login-process.c 4 Mar 2003 22:38:08 -0000 1.38 +++ src/master/login-process.c 31 Mar 2003 19:31:50 -0000 @@ -474,7 +474,7 @@ i_fatal("chdir(%s) failed: %m", set->login_dir); } - restrict_process_size(group->set->process_size, 0); + restrict_process_size(group->set->process_size, 1); /* make sure we don't leak syslog fd, but do it last so that any errors above will be logged */