You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2005/06/02 06:18:36 UTC

[Bug 4346] sa-learn: massive memory usage on large messages

http://bugzilla.spamassassin.org/show_bug.cgi?id=4346





------- Additional Comments From cmt-spamassassin@someone.dhs.org  2005-06-01 21:18 -------
Also possibly related:

I started a script to learn about 20,000 messages spread out over about 10 maildir folders.  I got an 
OOM in my kernel log:

=-=-=-=-=-=-=
Jun  1 19:38:12 ns1 kernel: oom-killer: gfp_mask=0x1d2
Jun  1 19:38:14 ns1 kernel: DMA per-cpu:
Jun  1 19:38:14 ns1 kernel: cpu 0 hot: low 2, high 6, batch 1
Jun  1 19:38:14 ns1 kernel: cpu 0 cold: low 0, high 2, batch 1
Jun  1 19:38:14 ns1 kernel: Normal per-cpu:
Jun  1 19:38:14 ns1 kernel: cpu 0 hot: low 32, high 96, batch 16
Jun  1 19:38:14 ns1 kernel: cpu 0 cold: low 0, high 32, batch 16
Jun  1 19:38:14 ns1 kernel: HighMem per-cpu: empty
Jun  1 19:38:14 ns1 kernel:
Jun  1 19:38:14 ns1 kernel: Free pages:        2896kB (0kB HighMem)
Jun  1 19:38:14 ns1 kernel: Active:61907 inactive:61204 dirty:0 writeback:1 unstable:0 free:724 slab:
3226 mapped:123035 pagetables:629
Jun  1 19:38:14 ns1 kernel: DMA free:1440kB min:20kB low:40kB high:60kB active:6264kB inactive:
5556kB present:16384kB
Jun  1 19:38:14 ns1 kernel: protections[]: 10 360 360
Jun  1 19:38:14 ns1 kernel: Normal free:1456kB min:700kB low:1400kB high:2100kB active:241364kB 
inactive:239260kB present:507904kB
Jun  1 19:38:14 ns1 kernel: protections[]: 0 350 350
Jun  1 19:38:14 ns1 kernel: HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:
0kB present:0kB
Jun  1 19:38:14 ns1 kernel: protections[]: 0 0 0
Jun  1 19:38:14 ns1 kernel: DMA: 0*4kB 0*8kB 0*16kB 1*32kB 2*64kB 0*128kB 1*256kB 0*512kB 
1*1024kB 0*2048kB 0*4096kB = 1440kB
Jun  1 19:38:14 ns1 kernel: Normal: 0*4kB 2*8kB 0*16kB 3*32kB 3*64kB 1*128kB 0*256kB 0*512kB 
1*1024kB 0*2048kB 0*4096kB = 1456kB
Jun  1 19:38:14 ns1 kernel: HighMem: empty
Jun  1 19:38:14 ns1 kernel: Swap cache: add 361742, delete 361734, find 3350756/3380150, race 0
+0
Jun  1 19:38:14 ns1 kernel: Out of Memory: Killed process 27989 (sa-learn).


I'm re-running the script (which should skip already-learned messages) and will report if the OOM 
occurs again.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.