[Dovecot] Out of memory after upgrading to dovecot 2.0.21

2013-02-05 Thread Arnaud Abélard
Hello, I've upgraded our servers and now dovecot seems to be running out of memory when accessing my own mailbox (and only mine, which is in a way pretty fortunate): dovecot: imap(abelard-a): Error: mmap() failed with file /vmail/a/b/abelard-a/dovecot.index.cache: Cannot allocate memory

Re: [Dovecot] Out of memory after upgrading to dovecot 2.0.21

2013-02-05 Thread Arnaud Abélard
Hrm... exactly when I pressed sent, dovecot started giving me more information: master: Error: service(imap): child 22324 returned error 83 (Out of memory (service imap { vsz_limit=256 MB }, you may need to increase it)) Is that why the imap processes were running out of memory or is that

Re: [Dovecot] Out of memory after upgrading to dovecot 2.0.21

2013-02-05 Thread Reindl Harald
hard to say without config-details shared prcoess or one per connection? in case of shared 256 MB is really really low Am 05.02.2013 18:38, schrieb Arnaud Abélard: Hrm... exactly when I pressed sent, dovecot started giving me more information: master: Error: service(imap): child 22324

Re: [Dovecot] Out of memory after upgrading to dovecot 2.0.21

2013-02-05 Thread Arnaud Abélard
On 02/05/2013 06:44 PM, Reindl Harald wrote: hard to say without config-details shared prcoess or one per connection? One per connection, around 1000 connections right now. in case of shared 256 MB is really really low I changed the vsz_limit to 512MB and it seems better, but I'm still

Re: [Dovecot] Out of memory after upgrading to dovecot 2.0.21

2013-02-05 Thread Stan Hoeppner
On 2/5/2013 12:15 PM, Arnaud Abélard wrote: I changed the vsz_limit to 512MB and it seems better, but I'm still surprised my mailbox actually hit the memory limit since I doubt it's most used one. According to the wiki, vsz_limit only affects login processes, not IMAP processes, which is odd

Re: [Dovecot] Out of memory after upgrading to dovecot 2.0.21

2013-02-05 Thread Arnaud Abélard
On 02/05/2013 09:25 PM, Stan Hoeppner wrote: On 2/5/2013 12:15 PM, Arnaud Abélard wrote: I changed the vsz_limit to 512MB and it seems better, but I'm still surprised my mailbox actually hit the memory limit since I doubt it's most used one. According to the wiki, vsz_limit only affects

Re: [Dovecot] Out of memory/Managesieve

2012-10-31 Thread Thomas Leuxner
Am 29.10.2012 um 22:58 schrieb Jim Knuth j...@jkart.de: /var/run/dovecot/login/core: Datei oder Verzeichnis nicht gefunden. Error says it all… So not really helpful. smime.p7s Description: S/MIME cryptographic signature

[Dovecot] Out of memory/Managesieve

2012-10-29 Thread Jim Knuth
Hello, I have here a problem with managesieve. With the login about webmail (roundcube) comes here in the log: --snip dovecot: managesieve-login: Fatal: pool_system_realloc(4294967296): Out of memory dovecot: managesieve-login: Fatal: master: service(managesieve-login): child 10157 returned

Re: [Dovecot] Out of memory/Managesieve

2012-10-29 Thread Jim Knuth
am 29.10.12 16:23 schrieb Jim Knuth j...@jkart.de: Hello, I have here a problem with managesieve. With the login about webmail (roundcube) comes here in the log: --snip dovecot: managesieve-login: Fatal: pool_system_realloc(4294967296): Out of memory dovecot: managesieve-login: Fatal: master

Re: [Dovecot] Out of memory/Managesieve

2012-10-29 Thread Timo Sirainen
commands manually? --snip dovecot: managesieve-login: Fatal: pool_system_realloc(4294967296): Out of memory dovecot: managesieve-login: Fatal: master: service(managesieve-login): child 10157 returned error 83 (Out of memory (service managesieve-login { vsz_limit=1024 MB }, you may need

Re: [Dovecot] Out of memory/Managesieve

2012-10-29 Thread Jim Knuth
Roundcube and Dovecot and reproduce it by sending those same commands manually? --snip dovecot: managesieve-login: Fatal: pool_system_realloc(4294967296): Out of memory dovecot: managesieve-login: Fatal: master: service(managesieve-login): child 10157 returned error 83 (Out of memory (service

Re: [Dovecot] Out of memory/Managesieve

2012-10-29 Thread Timo Sirainen
On 29.10.2012, at 23.43, Jim Knuth wrote: ~# gdb /usr/lib/dovecot/managesieve-login /var/run/dovecot/login/core /var/run/dovecot/login/core: Datei oder Verzeichnis nicht gefunden. You'll of course need to have the core file first. Instead of: dovecot: managesieve-login: Fatal: master:

Re: [Dovecot] Out of memory/Managesieve

2012-10-29 Thread Jim Knuth
am 29.10.12 22:46 schrieb Timo Sirainen t...@iki.fi: On 29.10.2012, at 23.43, Jim Knuth wrote: ~# gdb /usr/lib/dovecot/managesieve-login /var/run/dovecot/login/core /var/run/dovecot/login/core: Datei oder Verzeichnis nicht gefunden. You'll of course need to have the core file first.

Re: [Dovecot] Out of memory

2009-01-15 Thread Uldis Pakuls
Timo Sirainen wrote: On Tue, 2009-01-13 at 20:12 +0200, Uldis Pakuls wrote: dovecot 1.0.17 There is no such version. What version are you really using? Sorry - mistyped this 1.0.15. Complied from source: http://www.dovecot.org/releases/1.0/dovecot-1.0.15.tar.gz

Re: [Dovecot] Out of memory

2009-01-15 Thread Timo Sirainen
On Thu, 2009-01-15 at 18:14 +0200, Uldis Pakuls wrote: Timo Sirainen wrote: On Tue, 2009-01-13 at 20:12 +0200, Uldis Pakuls wrote: dovecot 1.0.17 There is no such version. What version are you really using? Sorry - mistyped this 1.0.15. Complied from source:

Re: [Dovecot] Out of memory

2009-01-14 Thread Timo Sirainen
On Tue, 2009-01-13 at 20:12 +0200, Uldis Pakuls wrote: dovecot 1.0.17 There is no such version. What version are you really using? signature.asc Description: This is a digitally signed message part

[Dovecot] Out of memory

2009-01-13 Thread Uldis Pakuls
For large mailboxes (64k + messages) using maildir I got random out of memory errors. [mail addresses hidden] dovecot: Dec 05 18:25:27 Error: IMAP(*...@): block_alloc(): Out of memory dovecot: Dec 05 18:25:27 Error: child 14142 (imap) returned error 83 (Out of memory) dovecot: Dec 05 18

[Dovecot] Out of memory

2009-01-13 Thread Uldis Pakuls
Sorry for previous post with incorrect referrals/thread. For large mailboxes (64k + messages) using maildir I got random out of memory errors. [mail addresses hidden] dovecot: Dec 05 18:25:27 Error: IMAP(*...@): block_alloc(): Out of memory dovecot: Dec 05 18:25:27 Error: child 14142

Re: [Dovecot] Out of memory

2009-01-13 Thread Timo Sirainen
(): Out of memory dovecot: Dec 05 18:25:27 Error: child 14142 (imap) returned error 83 (Out of memory) Increase mail_process_size setting in dovecot.conf or just set it to 0 to disable the limits. Although only 64k messages shouldn't normally use up the default 256 MB limit.. How large

Re: [Dovecot] Out of memory

2009-01-13 Thread Uldis Pakuls
Timo Sirainen wrote: How large is the dovecot.index.cache file for those mailboxes? mmaping that file is usually what takes most of the memory. ~ 10-15 MB mail file size 2-8k dovecot: Dec 05 18:27:29 Error: IMAP(*...@): file maildir-uidlist.c: line 1117

Re: [Dovecot] Out of memory [repost as a new thread]

2008-01-24 Thread Wolfram Schlich
* Timo Sirainen [EMAIL PROTECTED] [2008-01-23 16:46]: On Wed, 2008-01-23 at 15:29 +0100, Wolfram Schlich wrote: I tried your patch and compiled dovecot with --enable-debug, There's no need for --enable-debug. It's mainly useful for developers when developing new code. Ok.

Re: [Dovecot] Out of memory [repost as a new thread]

2008-01-24 Thread Timo Sirainen
On Thu, 2008-01-24 at 11:47 +0100, Wolfram Schlich wrote: No symbol table info available. #1 0x1a2a88f1 in ?? () No symbol table info available. #2 0xb136ec5f in ?? () No symbol table info available. #3 0x0001 in ?? () No symbol table info available. #4 0x in ?? () No

Re: [Dovecot] Out of memory [repost as a new thread]

2008-01-24 Thread Wolfram Schlich
* Timo Sirainen [EMAIL PROTECTED] [2008-01-24 13:50]: On Thu, 2008-01-24 at 11:47 +0100, Wolfram Schlich wrote: I have to say this machine is a Gentoo Hardened machine using a PaX kernel and PIE/SSP userland... I remember I stopped using PaX a few years ago because I had trouble with gdb,

Re: [Dovecot] Out of memory [repost as a new thread]

2008-01-23 Thread Wolfram Schlich
* Timo Sirainen [EMAIL PROTECTED] [2008-01-20 08:49]: On Tue, 2008-01-15 at 14:51 +0100, Wolfram Schlich wrote: this happens since a few days on a Gentoo hardened system using a grsecurity enabled kernel running Dovecot 1.0.10, only to 2 of 10 users though: --8-- kernel: grsec:

Re: [Dovecot] Out of memory [repost as a new thread]

2008-01-23 Thread Timo Sirainen
On Wed, 2008-01-23 at 15:29 +0100, Wolfram Schlich wrote: I tried your patch and compiled dovecot with --enable-debug, There's no need for --enable-debug. It's mainly useful for developers when developing new code. /usr/libexec/dovecot/imap: ELF 32-bit LSB shared object, Intel 80386, version

Re: [Dovecot] Out of memory [repost as a new thread]

2008-01-19 Thread Timo Sirainen
On Tue, 2008-01-15 at 14:51 +0100, Wolfram Schlich wrote: this happens since a few days on a Gentoo hardened system using a grsecurity enabled kernel running Dovecot 1.0.10, only to 2 of 10 users though: --8-- kernel: grsec: From 192.168.0.1: denied resource overstep by \

Re: [Dovecot] Out of memory

2008-01-15 Thread Wolfram Schlich
Argh, I broke threading by forgetting to remove the In-Reply-To: header which was set automatically by mutt because I was using list-reply in order to circumvent having to type the dovecot mailing list address in by hand. Sorry :) -- Regards, Wolfram Schlich [EMAIL PROTECTED] Gentoo Linux *

[Dovecot] Out of memory

2008-01-15 Thread Wolfram Schlich
for RLIMIT_AS against limit 536870912 \ for /usr/libexec/dovecot/imap[imap:15708] uid/euid:30010/30010 \ gid/egid:30006/30006, parent /usr/sbin/dovecot[dovecot:15574] \ uid/euid:0/0 gid/egid:0/0 dovecot: IMAP(info): block_alloc(): Out of memory dovecot: child 15708 (imap) returned