[Evolution] Memory leak in evo-data-server on Calendar Purge



Using Evolution 2.0.1 on Fedora Core 3 Test 3

I have a large calendar file and I wanted to Purge the old events to
improve performance.  I selected the Purge menu option and told it to
"Purge events older than" 365 days.

It starts processing the request, and as it runs the memory usage of
evolution-data-server grows by about 1MB per second.  Eventually it is
killed:

Oct 14 09:14:21 il0015bobh2 kernel: oom-killer: gfp_mask=0x1d2
Oct 14 09:14:22 il0015bobh2 kernel: DMA per-cpu:
Oct 14 09:14:22 il0015bobh2 kernel: cpu 0 hot: low 2, high 6, batch 1
Oct 14 09:14:22 il0015bobh2 kernel: cpu 0 cold: low 0, high 2, batch 1
Oct 14 09:14:22 il0015bobh2 kernel: Normal per-cpu:
Oct 14 09:14:22 il0015bobh2 kernel: cpu 0 hot: low 32, high 96, batch 16
Oct 14 09:14:22 il0015bobh2 kernel: cpu 0 cold: low 0, high 32, batch 16
Oct 14 09:14:22 il0015bobh2 kernel: HighMem per-cpu: empty
Oct 14 09:14:22 il0015bobh2 kernel:
Oct 14 09:14:22 il0015bobh2 kernel: Free pages:         568kB (0kB HighMem)
Oct 14 09:14:22 il0015bobh2 kernel: Active:49048 inactive:42292 dirty:0 writeback:0 unstable:0 free:142 
slab:3055 mapped:90543 pagetables:772
Oct 14 09:14:22 il0015bobh2 kernel: DMA free:24kB min:24kB low:48kB high:72kB active:6160kB inactive:6168kB 
present:16384kB
Oct 14 09:14:25 il0015bobh2 kernel: protections[]: 0 0 0
Oct 14 09:14:25 il0015bobh2 kernel: Normal free:544kB min:596kB low:1192kB high:1788kB active:190032kB 
inactive:163000kB present:376440kB
Oct 14 09:14:25 il0015bobh2 kernel: protections[]: 0 0 0
Oct 14 09:14:25 il0015bobh2 kernel: HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:0kB 
present:0kB
Oct 14 09:14:25 il0015bobh2 kernel: protections[]: 0 0 0
Oct 14 09:14:25 il0015bobh2 kernel: DMA: 0*4kB 1*8kB 1*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 
0*2048kB 0*4096kB = 24kB
Oct 14 09:14:25 il0015bobh2 kernel: Normal: 0*4kB 0*8kB 0*16kB 1*32kB 0*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 
0*2048kB 0*4096kB = 544kB
Oct 14 09:14:25 il0015bobh2 kernel: HighMem: empty
Oct 14 09:14:25 il0015bobh2 kernel: Swap cache: add 300203, delete 300203, find 60266/76033, race 0+0
Oct 14 09:14:25 il0015bobh2 kernel: Out of Memory: Killed process 29141 (evolution-data-).
Oct 14 09:14:25 il0015bobh2 kernel: oom-killer: gfp_mask=0xd0
Oct 14 09:14:26 il0015bobh2 kernel: DMA per-cpu:
Oct 14 09:14:26 il0015bobh2 kernel: cpu 0 hot: low 2, high 6, batch 1
Oct 14 09:14:26 il0015bobh2 kernel: cpu 0 cold: low 0, high 2, batch 1
Oct 14 09:14:26 il0015bobh2 kernel: Normal per-cpu:
Oct 14 09:14:26 il0015bobh2 kernel: cpu 0 hot: low 32, high 96, batch 16
Oct 14 09:14:26 il0015bobh2 kernel: cpu 0 cold: low 0, high 32, batch 16
Oct 14 09:14:26 il0015bobh2 kernel: HighMem per-cpu: empty
Oct 14 09:14:26 il0015bobh2 kernel:
Oct 14 09:14:26 il0015bobh2 kernel: Free pages:         568kB (0kB HighMem)
Oct 14 09:14:26 il0015bobh2 kernel: Active:50516 inactive:40867 dirty:0 writeback:0 unstable:0 free:142 
slab:3036 mapped:90533 pagetables:772
Oct 14 09:14:26 il0015bobh2 kernel: DMA free:24kB min:24kB low:48kB high:72kB active:6148kB inactive:6128kB 
present:16384kB
Oct 14 09:14:26 il0015bobh2 kernel: protections[]: 0 0 0
Oct 14 09:14:26 il0015bobh2 kernel: Normal free:544kB min:596kB low:1192kB high:1788kB active:195916kB 
inactive:157340kB present:376440kB
Oct 14 09:14:26 il0015bobh2 kernel: protections[]: 0 0 0
Oct 14 09:14:26 il0015bobh2 kernel: HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:0kB 
present:0kB
Oct 14 09:14:26 il0015bobh2 kernel: protections[]: 0 0 0
Oct 14 09:14:26 il0015bobh2 kernel: DMA: 0*4kB 1*8kB 1*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 
0*2048kB 0*4096kB = 24kB
Oct 14 09:14:26 il0015bobh2 kernel: Normal: 0*4kB 0*8kB 0*16kB 1*32kB 0*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 
0*2048kB 0*4096kB = 544kB
Oct 14 09:14:26 il0015bobh2 kernel: HighMem: empty
Oct 14 09:14:26 il0015bobh2 kernel: Swap cache: add 300203, delete 300203, find 60266/76035, race 0+0
Oct 14 09:14:26 il0015bobh2 kernel: Out of Memory: Killed process 29163 (evolution-data-).
Oct 14 09:14:26 il0015bobh2 kernel: oom-killer: gfp_mask=0x1d2
Oct 14 09:14:27 il0015bobh2 kernel: DMA per-cpu:
Oct 14 09:14:27 il0015bobh2 kernel: cpu 0 hot: low 2, high 6, batch 1
Oct 14 09:14:27 il0015bobh2 kernel: cpu 0 cold: low 0, high 2, batch 1
Oct 14 09:14:27 il0015bobh2 kernel: Normal per-cpu:
Oct 14 09:14:27 il0015bobh2 kernel: cpu 0 hot: low 32, high 96, batch 16
Oct 14 09:14:27 il0015bobh2 kernel: cpu 0 cold: low 0, high 32, batch 16
Oct 14 09:14:27 il0015bobh2 kernel: HighMem per-cpu: empty
Oct 14 09:14:27 il0015bobh2 kernel:
Oct 14 09:14:27 il0015bobh2 kernel: Free pages:         568kB (0kB HighMem)
Oct 14 09:14:27 il0015bobh2 kernel: Active:57280 inactive:34103 dirty:0 writeback:0 unstable:0 free:142 
slab:3017 mapped:90533 pagetables:772
Oct 14 09:14:27 il0015bobh2 kernel: DMA free:24kB min:24kB low:48kB high:72kB active:6940kB inactive:5336kB 
present:16384kB
Oct 14 09:14:27 il0015bobh2 kernel: protections[]: 0 0 0
Oct 14 09:14:27 il0015bobh2 kernel: Normal free:544kB min:596kB low:1192kB high:1788kB active:222180kB 
inactive:131076kB present:376440kB
Oct 14 09:14:27 il0015bobh2 kernel: protections[]: 0 0 0
Oct 14 09:14:27 il0015bobh2 kernel: HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:0kB 
present:0kB
Oct 14 09:14:28 il0015bobh2 kernel: protections[]: 0 0 0
Oct 14 09:14:28 il0015bobh2 kernel: DMA: 0*4kB 1*8kB 1*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 
0*2048kB 0*4096kB = 24kB
Oct 14 09:14:28 il0015bobh2 kernel: Normal: 0*4kB 0*8kB 0*16kB 1*32kB 0*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 
0*2048kB 0*4096kB = 544kB
Oct 14 09:14:28 il0015bobh2 kernel: HighMem: empty
Oct 14 09:14:28 il0015bobh2 kernel: Swap cache: add 300203, delete 300203, find 60266/76035, race 0+0
Oct 14 09:14:28 il0015bobh2 kernel: Out of Memory: Killed process 31340 (evolution-data-).
Oct 14 09:14:28 il0015bobh2 kernel: oom-killer: gfp_mask=0x1d2
Oct 14 09:14:28 il0015bobh2 kernel: DMA per-cpu:
Oct 14 09:14:28 il0015bobh2 kernel: cpu 0 hot: low 2, high 6, batch 1
Oct 14 09:14:28 il0015bobh2 kernel: cpu 0 cold: low 0, high 2, batch 1
Oct 14 09:14:28 il0015bobh2 kernel: Normal per-cpu:
Oct 14 09:14:28 il0015bobh2 kernel: cpu 0 hot: low 32, high 96, batch 16
Oct 14 09:14:28 il0015bobh2 kernel: cpu 0 cold: low 0, high 32, batch 16
Oct 14 09:14:28 il0015bobh2 kernel: HighMem per-cpu: empty
Oct 14 09:14:28 il0015bobh2 kernel:
Oct 14 09:14:28 il0015bobh2 kernel: Free pages:         568kB (0kB HighMem)
Oct 14 09:14:28 il0015bobh2 kernel: Active:43266 inactive:47363 dirty:0 writeback:0 unstable:0 free:142 
slab:3005 mapped:90516 pagetables:772
Oct 14 09:14:28 il0015bobh2 kernel: DMA free:24kB min:24kB low:48kB high:72kB active:6076kB inactive:6196kB 
present:16384kB
Oct 14 09:14:28 il0015bobh2 kernel: protections[]: 0 0 0
Oct 14 09:14:29 il0015bobh2 kernel: Normal free:544kB min:596kB low:1192kB high:1788kB active:166988kB 
inactive:183256kB present:376440kB
Oct 14 09:14:29 il0015bobh2 kernel: protections[]: 0 0 0
Oct 14 09:14:29 il0015bobh2 kernel: HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:0kB 
present:0kB
Oct 14 09:14:29 il0015bobh2 kernel: protections[]: 0 0 0
Oct 14 09:14:29 il0015bobh2 kernel: DMA: 0*4kB 1*8kB 1*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 
0*2048kB 0*4096kB = 24kB
Oct 14 09:14:29 il0015bobh2 kernel: Normal: 0*4kB 0*8kB 0*16kB 1*32kB 0*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 
0*2048kB 0*4096kB = 544kB
Oct 14 09:14:29 il0015bobh2 kernel: HighMem: empty
Oct 14 09:14:29 il0015bobh2 kernel: Swap cache: add 300203, delete 300203, find 60266/76035, race 0+0
Oct 14 09:14:29 il0015bobh2 kernel: Out of Memory: Killed process 29139 (evolution).

This is reproducible every time.

I'll take a look at the relevant code if someone can point me in the
right direction, or I can just file a bug.

Thanks

-- 
Bob Haddleton
bobh lucent com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]