Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 213851

Summary: net-mail/dovecot-1.0.13-r1 fails to start on 64-bit arch
Product: Gentoo Linux Reporter: Emil Wojak <korionis>
Component: [OLD] ServerAssignee: Wolfram Schlich (RETIRED) <wschlich>
Status: RESOLVED INVALID    
Severity: normal CC: net-mail+disabled
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: https://bugzilla.redhat.com/show_bug.cgi?id=253363
Whiteboard:
Package list:
Runtime testing required: ---

Description Emil Wojak 2008-03-18 17:38:58 UTC
Trying to start dovecot with the default configuration fails. It only happens on 64-bit architectures.

Reproducible: Always

Steps to Reproduce:
1. emerge dovecot
2. /etc/init.d/dovecot start
Actual Results:  
After issuing /etc/init.d/dovecot start with the default configuration, it fails leaving the following in logs:
dovecot: Dovecot v1.0.13 starting up
dovecot: Auth process died too early - shutting down
dovecot: auth(default): dovecot-auth: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory
dovecot: child 32460 (auth) returned error 127


This can be fixed by changing the memory limit on auth process to at least 64 MB, ie. edit /etc/dovecot/dovecot.conf and set auth_process_size=64
Comment 1 Wolfram Schlich (RETIRED) gentoo-dev 2008-03-18 22:05:02 UTC
Huh?!

Here are the defaults process sizes:

auth_process_size: 256
login_process_size: 64
mail_process_size: 256

The referenced RedHat bug is about login_process_size==32,
which is NOT the default anymore. =net-mail/dovecot-1.0.13-r1
definitely has login_process_size==64.

In contrast, you are talking about auth_process_size.
But that one is 256 by default...