[Dovecot] memory issues with 1.1.rc4 (now it's PAM)

Timo Sirainen tss at iki.fi
Fri Apr 11 14:04:37 EEST 2008


On Apr 10, 2008, at 3:21 PM, Wolfram Schlich wrote:
> mail.info; dovecot: auth-worker(default):  
> pam(XXXXXXXXXXXX,NNN.NN.NNN.NN): lookup service=imap
> kern.alert; kernel: grsec: From NN.NN.NN.NN: denied resource  
> overstep by requesting 134242304 for RLIMIT_AS against limit  
> 134217728 for /us
> authpriv.err; dovecot-auth: PAM unable to dlopen(/lib/security/ 
> pam_unix.so)
> authpriv.err; dovecot-auth: PAM [error: /lib/security/pam_unix.so:  
> failed to map segment from shared object: Cannot allocate memory]
> authpriv.err; dovecot-auth: PAM adding faulty module: /lib/security/ 
> pam_unix.so
> mail.err; dovecot: auth-worker(default):  
> pam(XXXXXXXXXXXX,NNN.NN.NNN.NN): pam_authenticate() failed:  
> Authentication failure

I guess your PAM plugins are leaking memory. This should help:

# Number of auth requests to handle before destroying the process.  
This may
# be useful if PAM plugins leak memory.
#auth_worker_max_request_count = 0

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080411/af3fdff4/attachment.bin 


More information about the dovecot mailing list