Package: chewmail
Version: 1.2-1
Severity: normal

Hello,

again, thanks for chewmail.

While archiving a very large mail folder, chewmail has managed to eat up
all the memory and swap, until oom-killer killed it:

[...]
WARNING: Illegal character in field name =D0=C9=D3=D8=CD=CF =F7=C1=D3 
=CE=C1=D0=D2=C1=D3=CE=CF=20
WARNING: Different messages with id [EMAIL PROTECTED]
bin/daily_mail_archive: line 73:  6121 Killed                  chewmail 
--days=14 --output-box=$OUTDIR/$i".archived-%Y%m" ~/Maildir/.$i/

And in dmesg:

oom-killer: gfp_mask=0x201d2, order=0
[...]
Out of memory: Killed process 6121 (chewmail).

I managed to finally archive that folder, by creating a temporary swap
file.  chewmail used something like 900Mb of ram.  I assume that it is
processing the entire folder in ram, which of course can have explosive
results.

At the end of the processing, chewmail archived the folder in two files,
39'338'996 and 8'942'802 bytes, and left a 52Mb mail folder.  It looks
like it used 900Mb of memory to process about 100Mb of mail.  The
figures are scary, I hope I'm getting something wrong.


Cheers,

Enrico

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)

Versions of packages chewmail depends on:
ii  libmail-box-perl            2.068-1      Manage a message-folder
ii  perl                        5.8.8-7etch3 Larry Wall's Practical Extraction 

chewmail recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to