[Dovecot] Out of memory/Managesieve

Jim Knuth jk at jkart.de
Mon Oct 29 23:58:42 EET 2012


am 29.10.12 22:46 schrieb Timo Sirainen <tss at 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. Instead of:
>
>>> dovecot: managesieve-login: Fatal: master: service(managesieve-login): child 9777 killed with signal 6 (core dumps disabled)
>
> It should say (core dumped). Besides the executable change, you'll need to run "ulimit -c unlimited" just before dovecot binary.
>

If I run "ulimit -c unlimited" no problems more with Managesieve
Login over Roundcube:

Oct 29 22:50:46 srv1 dovecot: managesieve-login: Login: user=<web1p1>, 
method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=9354, secured, 
session=<kCVwqTnNngB/AAAB>
Oct 29 22:50:46 srv1 dovecot: managesieve(web1p1): Disconnected: 
Logged out bytes=120/177
Oct 29 22:53:16 srv1 dovecot: managesieve-login: Login: user=<web1p1>, 
method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=9418, secured, 
session=<Oc5osjnNZwB/AAAB>
Oct 29 22:53:16 srv1 dovecot: managesieve(web1p1): Disconnected: 
Logged out bytes=44/145

But the same:

srv1:~# gdb /usr/lib/dovecot/managesieve-login /var/run/dovecot/login/core
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/lib/dovecot/managesieve-login...Reading 
symbols from /usr/lib/debug/usr/lib/dovecot/managesieve-login...done.
(no debugging symbols found)...done.
/var/run/dovecot/login/core: Datei oder Verzeichnis nicht gefunden.
(gdb) bt full
No stack.
(gdb) q


-- 
Mit freundlichen Grüßen,
with kind regards,
Jim Knuth
---------

Ein Tag an dem Du nicht lächelst, ist ein
verlorener Tag. (Charly Chaplin)


More information about the dovecot mailing list