Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213851 - net-mail/dovecot-1.0.13-r1 fails to start on 64-bit arch
Summary: net-mail/dovecot-1.0.13-r1 fails to start on 64-bit arch
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Wolfram Schlich (RETIRED)
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-18 17:38 UTC by Emil Wojak
Modified: 2008-03-18 22:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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...