Dovecot - RHEL/Centos 5.1 x86_64

1 post / 0 new
#1 Sat, 06/14/2008 - 17:55

Dovecot - RHEL/Centos 5.1 x86_64

While tracking down another random issue, I noticed the following error message in my maillog:

Jun 14 19:49:21 server3 dovecot: imap-login: imap-login: error while loading shared libraries: failed to map segment from shared object: Cannot allocate memory

Some quick research led me to this page.

Essentially, if you're getting this message, you need to open up your dovecot configuration file and find this section:

# Set max. process size in megabytes. If you don't use # login_process_per_connection you might need to grow this. #login_process_size = 32

Uncomment the last line, and change it to:

login_process_size = 64

That should resolve the problem.

Joe, do you think there's any way to make this default in the configuration?