[Dovecot] out of memory on dovecot alpha5
Hello
Once a day i have these errors in doveecot.log:
dovecot: Dec 16 14:06:04 Error: auth-worker(default): .Out of memory (Needed 52 bytes) dovecot: Dec 16 14:06:04 Error: auth-worker(default): sql(login,<ip>): Password query failed: MySQL client ran out of memory dovecot: Dec 16 14:06:06 Info: imap-login: Disconnected: user=<login>, method=PLAIN, rip=<ip>, lip=<ip2> dovecot: Dec 16 14:06:06 Error: auth-worker(default): pool_system_malloc(): Out of memory dovecot: Dec 16 14:06:06 Error: child 23022 (auth-worker) returned error 83 (Out of memory)
And after that nobody can login
I do /etc/init.d/dovecot restart and then it's working for a day
Before upgrade to alpha5 i was used 0.99.x series without eny errros on this server
What can i do to debug this?
-- Pavel
Am 16.12.2005 um 14:29 Uhr +0300 schrieb Pavel Volkovitskiy:
[Out of memory errors]
And after that nobody can login
I do /etc/init.d/dovecot restart and then it's working for a day
Before upgrade to alpha5 i was used 0.99.x series without eny errros on this server
What can i do to debug this?
You probably need to bump the shell limit on per-process memory; search man sh(1) for 'ulimit'.
hauke
-- /~\ The ASCII Ribbon Campaign Hauke Fath \ / No HTML/RTF in email Institut für Nachrichtentechnik X No Word docs in email TU Darmstadt / \ Respect for open standards Ruf +49-6151-16-3281
Am 16.12.2005 um 14:29 Uhr +0300 schrieb Pavel Volkovitskiy:
[Out of memory errors]
And after that nobody can login
I do /etc/init.d/dovecot restart and then it's working for a day
Before upgrade to alpha5 i was used 0.99.x series without eny errros on this server
What can i do to debug this?
You probably need to bump the shell limit on per-process memory; search man sh(1) for 'ulimit'. i've checked ulimit -a output:
core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited
Hauke Fath wrote: pending signals (-i) 8191 max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 8191 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited
it seems there is no limits for memory
-- Pavel
On Fri, 2005-12-16 at 14:29 +0300, Pavel Volkovitskiy wrote:
Once a day i have these errors in doveecot.log:
dovecot: Dec 16 14:06:04 Error: auth-worker(default): .Out of memory (Needed 52 bytes)
Maybe increase this setting:
auth_process_size = 256
Although I would have thought 256MB is enough. Maybe it's leaking memory..
And after that nobody can login
It should be restarted automatically, and that works with me. If you kill all "dovecot-auth -w" processes and try to log in, do logins work anymore?
participants (3)
-
Hauke Fath
-
Pavel Volkovitskiy
-
Timo Sirainen