On Fri, Jun 20, 2014 at 11:37:07PM -0500, Edgar Pettijohn wrote: > On 06/20/2014 11:20 PM, Edgar Pettijohn wrote: > > On 06/20/2014 10:58 PM, Mike Bregg wrote: > >> On 2014-06-20 21:14, Edgar Pettijohn wrote: > >>> On 06/20/2014 10:05 PM, Mike Bregg wrote: > >>>> On 2014-06-20 20:48, Edgar Pettijohn wrote: > >>>>> I'm trying to setup dovecot with opensmtpd and I'm getting the > >>>>> following > >>>>> errors for dovecot. > >>>>> > >>>>> Jun 20 21:41:04 auth-worker(10932): Fatal: > >>>>> pool_system_realloc(268435456): Out of memory > >>>>> Jun 20 21:41:04 auth-worker(10932): Fatal: master: > >>>>> service(auth-worker): > >>>>> child 10932 returned error 83 (Out of memory (service auth-worker { > >>>>> vsz_limit=256 MB }, you may need to increase it) - set CORE_OUTOFMEM=1 > >>>>> environment to get core dump) > >>>>> Jun 20 21:41:04 auth: Error: auth worker: Aborted request: Worker > >>>>> process died unexpectedly > >>>>> Jun 20 21:41:10 auth-worker(12071): Fatal: > >>>>> pool_system_realloc(268435456): Out of memory > >>>>> Jun 20 21:41:10 auth: Error: auth worker: Aborted request: Worker > >>>>> process died unexpectedly > >>>>> Jun 20 21:41:10 auth-worker(12071): Fatal: master: > >>>>> service(auth-worker): > >>>>> child 12071 returned error 83 (Out of memory (service auth-worker { > >>>>> vsz_limit=256 MB }, you may need to increase it) - set CORE_OUTOFMEM=1 > >>>>> environment to get core dump) > >>>> You could try increasing vsz_limit to something like 512 MB. Do you > >>> have mailboxes with a large quantity of emails (as in thousands) that > >>> 256 MB isn't enough? > >>>> Mike > >>>> > >>> I felt like that was a clue, but have no idea how to set vsz_limit, > >>> however there is no mail on the system. I got those errors just testing > >>> imap login from mutt. > >> Have a look through the config files in /etc/dovecot/conf.d > >> > >> Mike > >> > > Yeah I found it hiding out in 10-master.conf upped it to 512MB as > > suggested with no luck. Then just for fun I upped it to 5000M and still > > no luck. > > > > Edgar > > > I just noticed in the log even after raising vsz_limit the error remains > the same claiming vsz_limit=256MB
This is a know bug. If an unknown user tries to log in, the login code goes into a loop expanding a buffer until it runs out of mem. The cause of the bug is also known, but nobody (including myself) came up with a diff yet. The login process gets rsstarted, so there is no immediate functional problem, apart from the log being filled. -Otto