aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Massive aMule OOM on exit  (Read 3810 times)

djtm

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
Massive aMule OOM on exit
« on: March 24, 2005, 05:22:41 PM »

Hey,

this is also a linux kernel issue, as the problem massively blocked the entire machine. I couldn't even log in at the console, that's how bad it was.

I exited amule around 17:50 and pretty much immediately the whole system stopped responding and my hd went crazy.

Mar 24 17:17:01 localhost CRON[31851]: PAM pam_putenv: delete non-existent entry; source /etc/alias
Mar 24 17:41:52 localhost -- MARK --
Mar 24 17:51:32 localhost kernel: oom-killer: gfp_mask=0x1d2
Mar 24 17:51:42 localhost kernel: DMA per-cpu:
Mar 24 17:51:48 localhost kernel: cpu 0 hot: low 2, high 6, batch 1
Mar 24 17:51:48 localhost kernel: cpu 0 cold: low 0, high 2, batch 1
Mar 24 17:51:48 localhost kernel: Normal per-cpu:
Mar 24 17:51:48 localhost kernel: cpu 0 hot: low 32, high 96, batch 16
Mar 24 17:51:48 localhost kernel: cpu 0 cold: low 0, high 32, batch 16
Mar 24 17:51:48 localhost kernel: HighMem per-cpu: empty
Mar 24 17:51:48 localhost kernel:
Mar 24 17:51:48 localhost kernel: Free pages:        5188kB (0kB HighMem)
Mar 24 17:51:48 localhost kernel: Active:61335 inactive:61256 dirty:0 writeback:1 unstable:0 free:1297 slab:2795 mapped:122514 pagetables:986
Mar 24 17:51:48 localhost kernel: DMA free:2068kB min:88kB low:108kB high:132kB active:4856kB inactive:4376kB present:16384kB pages_scanned:11001 all_unreclaimable? yes
Mar 24 17:51:48 localhost kernel: lowmem_reserve[]: 0 495 495
Mar 24 17:51:48 localhost kernel: Normal free:3120kB min:2804kB low:3504kB high:4204kB active:240484kB inactive:240648kB present:507840kB pages_scanned:57300 all_unreclaimable? no
Mar 24 17:51:48 localhost kernel: lowmem_reserve[]: 0 0 0
Mar 24 17:51:48 localhost kernel: HighMem free:0kB min:128kB low:160kB high:192kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Mar 24 17:51:48 localhost kernel: lowmem_reserve[]: 0 0 0
Mar 24 17:51:48 localhost kernel: DMA: 1*4kB 0*8kB 1*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 1*2048kB 0*4096kB= 2068kB
Mar 24 17:51:48 localhost kernel: Normal: 74*4kB 3*8kB 5*16kB 3*32kB 1*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 3120kB
Mar 24 17:51:48 localhost kernel: HighMem: empty
Mar 24 17:51:48 localhost kernel: Swap cache: add 131941, delete 131941, find 830/1526, race 0+0
Mar 24 17:51:48 localhost kernel: Free swap  = 0kB
Mar 24 17:51:48 localhost kernel: Total swap = 500432kB
Mar 24 17:51:48 localhost kernel: Out of Memory: Killed process 4737 (klauncher).
Mar 24 17:51:48 localhost kernel: oom-killer: gfp_mask=0x1d2
Mar 24 17:51:48 localhost kernel: DMA per-cpu:
Mar 24 17:51:48 localhost kernel: cpu 0 hot: low 2, high 6, batch 1
Mar 24 17:51:48 localhost kernel: cpu 0 cold: low 0, high 2, batch 1
Mar 24 17:51:48 localhost kernel: Normal per-cpu:
Mar 24 17:51:48 localhost kernel: cpu 0 hot: low 32, high 96, batch 16
Mar 24 17:51:49 localhost kernel: cpu 0 cold: low 0, high 32, batch 16
Mar 24 17:51:49 localhost kernel: HighMem per-cpu: empty
Mar 24 17:51:49 localhost kernel:
Mar 24 17:51:49 localhost kernel: Free pages:        5380kB (0kB HighMem)
Mar 24 17:51:49 localhost kernel: Active:61335 inactive:61120 dirty:0 writeback:0 unstable:0 free:1345 slab:2789 mapped:122494 pagetables:976
Mar 24 17:51:49 localhost kernel: DMA free:2068kB min:88kB low:108kB high:132kB active:4856kB inactive:4376kB present:16384kB pages_scanned:12106 all_unreclaimable? yes
Mar 24 17:51:49 localhost kernel: lowmem_reserve[]: 0 495 495
Mar 24 17:51:49 localhost kernel: Normal free:3312kB min:2804kB low:3504kB high:4204kB active:240484kB inactive:240104kB present:507840kB pages_scanned:555455 all_unreclaimable? yes
Mar 24 17:51:49 localhost kernel: lowmem_reserve[]: 0 0 0
Mar 24 17:51:49 localhost kernel: HighMem free:0kB min:128kB low:160kB high:192kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Mar 24 17:51:49 localhost kernel: lowmem_reserve[]: 0 0 0
Mar 24 17:51:49 localhost kernel: DMA: 1*4kB 0*8kB 1*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 1*2048kB 0*4096kB= 2068kB
Mar 24 17:51:49 localhost kernel: Normal: 112*4kB 8*8kB 5*16kB 3*32kB 1*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 3312kB
Mar 24 17:51:49 localhost kernel: HighMem: empty
Mar 24 17:51:49 localhost kernel: Swap cache: add 133084, delete 133084, find 842/1640, race 0+0
Mar 24 17:51:49 localhost kernel: Free swap  = 0kB
Mar 24 17:51:49 localhost kernel: Total swap = 500432kB
Mar 24 17:51:49 localhost kernel: Out of Memory: Killed process 4753 (kwin).
Mar 24 17:51:49 localhost kernel: oom-killer: gfp_mask=0x1d2
Mar 24 17:51:49 localhost kernel: DMA per-cpu:
Mar 24 17:51:49 localhost kernel: cpu 0 hot: low 2, high 6, batch 1
Mar 24 17:51:49 localhost kernel: cpu 0 cold: low 0, high 2, batch 1
Mar 24 17:51:49 localhost kernel: Normal per-cpu:
Mar 24 17:51:49 localhost kernel: cpu 0 hot: low 32, high 96, batch 16
Mar 24 17:51:49 localhost kernel: cpu 0 cold: low 0, high 32, batch 16
Mar 24 17:51:49 localhost kernel: HighMem per-cpu: empty
Mar 24 17:51:49 localhost kernel:
Mar 24 17:51:49 localhost kernel: Free pages:        6212kB (0kB HighMem)
Mar 24 17:51:49 localhost kernel: Active:61085 inactive:61171 dirty:0 writeback:1 unstable:0 free:1553 slab:2789 mapped:122136 pagetables:964
Mar 24 17:51:49 localhost kernel: DMA free:2068kB min:88kB low:108kB high:132kB active:4716kB inactive:4500kB present:16384kB pages_scanned:12138 all_unreclaimable? yes
Mar 24 17:51:49 localhost kernel: lowmem_reserve[]: 0 495 495
Mar 24 17:51:49 localhost kernel: Normal free:4144kB min:2804kB low:3504kB high:4204kB active:239624kB inactive:240184kB present:507840kB pages_scanned:72819 all_unreclaimable? no
Mar 24 17:51:49 localhost kernel: lowmem_reserve[]: 0 0 0
Mar 24 17:51:49 localhost kernel: HighMem free:0kB min:128kB low:160kB high:192kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Mar 24 17:51:49 localhost kernel: lowmem_reserve[]: 0 0 0
Mar 24 17:51:49 localhost kernel: DMA: 1*4kB 0*8kB 1*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 1*2048kB 0*4096kB= 2068kB
Mar 24 17:51:49 localhost kernel: Normal: 232*4kB 26*8kB 18*16kB 3*32kB 1*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 4144kB
Mar 24 17:51:49 localhost kernel: HighMem: empty
Mar 24 17:51:49 localhost kernel: Swap cache: add 133296, delete 133295, find 842/1642, race 0+0
Mar 24 17:51:49 localhost kernel: Free swap  = 0kB
Mar 24 17:51:49 localhost kernel: Total swap = 500432kB
Mar 24 17:51:49 localhost kernel: Out of Memory: Killed process 4773 (konsole).
Mar 24 17:51:49 localhost kernel: oom-killer: gfp_mask=0x1d2
Mar 24 17:51:49 localhost kernel: DMA per-cpu:
Mar 24 17:51:49 localhost kernel: cpu 0 hot: low 2, high 6, batch 1
Mar 24 17:51:49 localhost kernel: cpu 0 cold: low 0, high 2, batch 1
Mar 24 17:51:49 localhost kernel: Normal per-cpu:
Mar 24 17:51:49 localhost kernel: cpu 0 hot: low 32, high 96, batch 16
Mar 24 17:51:49 localhost kernel: cpu 0 cold: low 0, high 32, batch 16
Mar 24 17:51:49 localhost kernel: HighMem per-cpu: empty
Mar 24 17:51:49 localhost kernel:
Mar 24 17:51:49 localhost kernel: Free pages:        4940kB (0kB HighMem)
Mar 24 17:51:49 localhost kernel: Active:61371 inactive:61278 dirty:0 writeback:0 unstable:0 free:1235 slab:2790 mapped:122489 pagetables:953
Mar 24 17:51:49 localhost kernel: DMA free:2068kB min:88kB low:108kB high:132kB active:4720kB inactive:4512kB present:16384kB pages_scanned:10171 all_unreclaimable? yes
Mar 24 17:51:49 localhost kernel: lowmem_reserve[]: 0 495 495
Mar 24 17:51:49 localhost kernel: Normal free:2872kB min:2804kB low:3504kB high:4204kB active:240764kB inactive:240600kB present:507840kB pages_scanned:30864 all_unreclaimable? no
Mar 24 17:51:49 localhost kernel: lowmem_reserve[]: 0 0 0
Mar 24 17:51:49 localhost kernel: HighMem free:0kB min:128kB low:160kB high:192kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Mar 24 17:51:49 localhost kernel: lowmem_reserve[]: 0 0 0
Mar 24 17:51:49 localhost kernel: DMA: 1*4kB 0*8kB 1*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 1*2048kB 0*4096kB= 2068kB
Mar 24 17:51:49 localhost kernel: Normal: 18*4kB 8*8kB 1*16kB 3*32kB 1*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 2872kB
Mar 24 17:51:49 localhost kernel: HighMem: empty
Mar 24 17:51:49 localhost kernel: Swap cache: add 134620, delete 134620, find 868/1774, race 0+0
Mar 24 17:51:49 localhost kernel: Free swap  = 0kB
Mar 24 17:51:49 localhost kernel: Total swap = 500432kB
Mar 24 17:51:49 localhost kernel: Out of Memory: Killed process 4791 (konqueror).
Mar 24 17:52:52 localhost kernel: oom-killer: gfp_mask=0x1d2
Mar 24 17:52:55 localhost kernel: DMA per-cpu:
Mar 24 17:52:56 localhost kernel: cpu 0 hot: low 2, high 6, batch 1
Mar 24 17:52:56 localhost kernel: cpu 0 cold: low 0, high 2, batch 1
Mar 24 17:52:56 localhost kernel: Normal per-cpu:
Mar 24 17:52:56 localhost kernel: cpu 0 hot: low 32, high 96, batch 16
Mar 24 17:52:56 localhost kernel: cpu 0 cold: low 0, high 32, batch 16
Mar 24 17:52:56 localhost kernel: HighMem per-cpu: empty
Mar 24 17:52:56 localhost kernel:
Mar 24 17:52:56 localhost kernel: Free pages:        5996kB (0kB HighMem)
Mar 24 17:52:56 localhost kernel: Active:61309 inactive:61304 dirty:0 writeback:0 unstable:0 free:1499 slab:2663 mapped:122744 pagetables:793
Mar 24 17:52:56 localhost kernel: DMA free:2068kB min:88kB low:108kB high:132kB active:4736kB inactive:4640kB present:16384kB pages_scanned:10417 all_unreclaimable? yes
Mar 24 17:52:56 localhost kernel: lowmem_reserve[]: 0 495 495
Mar 24 17:52:56 localhost kernel: Normal free:3928kB min:2804kB low:3504kB high:4204kB active:240500kB inactive:240576kB present:507840kB pages_scanned:584773 all_unreclaimable? no
Mar 24 17:52:56 localhost kernel: lowmem_reserve[]: 0 0 0
Mar 24 17:52:56 localhost kernel: HighMem free:0kB min:128kB low:160kB high:192kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Mar 24 17:52:56 localhost kernel: lowmem_reserve[]: 0 0 0
Mar 24 17:52:56 localhost kernel: DMA: 1*4kB 0*8kB 1*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 1*2048kB 0*4096kB= 2068kB
Mar 24 17:52:56 localhost kernel: Normal: 286*4kB 2*8kB 7*16kB 1*32kB 1*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 3928kB
Mar 24 17:52:56 localhost kernel: HighMem: empty
Mar 24 17:52:56 localhost kernel: Swap cache: add 148533, delete 148533, find 2199/4128, race 0+26
Mar 24 17:52:56 localhost kernel: Free swap  = 0kB
Mar 24 17:52:56 localhost kernel: Total swap = 500432kB
Mar 24 17:52:56 localhost kernel: Out of Memory: Killed process 22975 (konqueror).
Mar 24 17:54:56 localhost kernel: oom-killer: gfp_mask=0x1d2
Mar 24 17:55:00 localhost kernel: DMA per-cpu:
Mar 24 17:55:01 localhost kernel: cpu 0 hot: low 2, high 6, batch 1
Mar 24 17:55:01 localhost kernel: cpu 0 cold: low 0, high 2, batch 1
Mar 24 17:55:01 localhost kernel: Normal per-cpu:
Mar 24 17:55:01 localhost kernel: cpu 0 hot: low 32, high 96, batch 16
Mar 24 17:55:01 localhost kernel: cpu 0 cold: low 0, high 32, batch 16
Mar 24 17:55:01 localhost kernel: HighMem per-cpu: empty
Mar 24 17:55:01 localhost kernel:
Mar 24 17:55:01 localhost kernel: Free pages:        6044kB (0kB HighMem)
Mar 24 17:55:01 localhost kernel: Active:61323 inactive:61354 dirty:0 writeback:0 unstable:0 free:1511 slab:2606 mapped:122713 pagetables:754
Mar 24 17:55:01 localhost kernel: DMA free:2100kB min:88kB low:108kB high:132kB active:4476kB inactive:4768kB present:16384kB pages_scanned:9572 all_unreclaimable? yes
Mar 24 17:55:01 localhost kernel: lowmem_reserve[]: 0 495 495
Mar 24 17:55:01 localhost kernel: Normal free:3944kB min:2804kB low:3504kB high:4204kB active:240816kB inactive:240648kB present:507840kB pages_scanned:0 all_unreclaimable? no
Mar 24 17:55:01 localhost kernel: lowmem_reserve[]: 0 0 0
Mar 24 17:55:01 localhost kernel: HighMem free:0kB min:128kB low:160kB high:192kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Mar 24 17:55:01 localhost kernel: lowmem_reserve[]: 0 0 0
Mar 24 17:55:01 localhost kernel: DMA: 9*4kB 0*8kB 1*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 1*2048kB 0*4096kB= 2100kB
Mar 24 17:55:01 localhost kernel: Normal: 270*4kB 10*8kB 0*16kB 5*32kB 1*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 3944kB
Mar 24 17:55:01 localhost kernel: HighMem: empty
Mar 24 17:55:01 localhost kernel: Swap cache: add 155370, delete 155370, find 2380/4925, race 0+26
Mar 24 17:55:01 localhost kernel: Free swap  = 0kB
Mar 24 17:55:01 localhost kernel: Total swap = 500432kB
Mar 24 17:55:01 localhost kernel: Out of Memory: Killed process 31603 (kwrite).
Mar 24 18:12:08 localhost shutdown[31941]: shutting down for system reboot
Mar 24 18:12:24 localhost init: Switching to runlevel: 6
Mar 24 18:12:32 localhost kernel: oom-killer: gfp_mask=0x1d2
Mar 24 18:12:34 localhost kernel: DMA per-cpu:
Mar 24 18:12:34 localhost kernel: cpu 0 hot: low 2, high 6, batch 1
Mar 24 18:12:34 localhost kernel: cpu 0 cold: low 0, high 2, batch 1
Mar 24 18:12:34 localhost kernel: Normal per-cpu:
Mar 24 18:12:34 localhost kernel: cpu 0 hot: low 32, high 96, batch 16
Mar 24 18:12:34 localhost kernel: cpu 0 cold: low 0, high 32, batch 16
Mar 24 18:12:34 localhost kernel: HighMem per-cpu: empty
Mar 24 18:12:34 localhost kernel:
Mar 24 18:12:34 localhost kernel: Free pages:        4964kB (0kB HighMem)
Mar 24 18:12:34 localhost kernel: Active:61777 inactive:61314 dirty:0 writeback:1 unstable:0 free:1241 slab:2610 mapped:122839 pagetables:762
Mar 24 18:12:34 localhost kernel: DMA free:2068kB min:88kB low:108kB high:132kB active:4692kB inactive:4616kB present:16384kB pages_scanned:3675 all_unreclaimable? no
Mar 24 18:12:34 localhost kernel: lowmem_reserve[]: 0 495 495
Mar 24 18:12:34 localhost udev[31954]: removing device node '/dev/vcs2'
Mar 24 18:12:34 localhost udev[31955]: removing device node '/dev/vcsa2'
Mar 24 18:12:34 localhost udev[31956]: removing device node '/dev/vcs3'
Mar 24 18:12:34 localhost udev[31957]: removing device node '/dev/vcsa3'
Mar 24 18:12:34 localhost udev[31959]: removing device node '/dev/vcsa4'
Mar 24 18:12:34 localhost udev[31962]: removing device node '/dev/vcs6'
Mar 24 18:12:34 localhost udev[31963]: removing device node '/dev/vcsa6'
Mar 24 18:12:34 localhost udev[31960]: removing device node '/dev/vcs5'
Mar 24 18:12:34 localhost udev[31958]: removing device node '/dev/vcs4'
Mar 24 18:12:34 localhost udev[31961]: removing device node '/dev/vcsa5'
Mar 24 18:12:34 localhost kernel: Normal free:2896kB min:2804kB low:3504kB high:4204kB active:242416kB inactive:240640kB present:507840kB pages_scanned:969 all_unreclaimable? no
Mar 24 18:12:34 localhost kernel: lowmem_reserve[]: 0 0 0
Mar 24 18:12:34 localhost kernel: HighMem free:0kB min:128kB low:160kB high:192kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Mar 24 18:12:34 localhost kernel: lowmem_reserve[]: 0 0 0
Mar 24 18:12:34 localhost kernel: DMA: 1*4kB 0*8kB 1*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 1*2048kB 0*4096kB= 2068kB
Mar 24 18:12:34 localhost kernel: Normal: 36*4kB 6*8kB 1*16kB 2*32kB 1*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 2896kB
Mar 24 18:12:35 localhost kernel: HighMem: empty
Mar 24 18:12:35 localhost kernel: Swap cache: add 181071, delete 181070, find 4065/9633, race 0+50
Mar 24 18:12:35 localhost kernel: Free swap  = 0kB
Mar 24 18:12:35 localhost kernel: Total swap = 500432kB
Mar 24 18:12:35 localhost kernel: Out of Memory: Killed process 31695 (amule).
Mar 24 18:12:37 localhost hald[4076]: Timed out waiting for hotplug event 1054. Rebasing to 1056
Mar 24 18:12:45 localhost lircd 0.7.1pre2[4053]: removed client
Mar 24 18:12:45 localhost lircd 0.7.1pre2[4053]: closing '/dev/input/event0'

After amule was killed the system seemed to be responding much better again.

Well, I have no backtrace, as it didn't crash and everything was unresponsive.
It could (possibly) have something to do with the systray, but the only thing that points to that is that the icon disappeared, but the space wasn't closed.
It could be that I quit aMule during the final hashing of a completely downloaded file. I'm not sure about that.

Everything GPL on my computer though ;)

Hope you'll find that really _nasty_ memory leak or whatever was causing this.

Should I post this on the kernel list? After all it took over 10 minutes for the kernel OOM to react.
Logged
"If you laid all of our laws end to end, there would be no end."
Mark Twain
"Linux is like a wigwam: No Gates, no Windows, but Apache inside!"

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5822
Re: Massive aMule OOM on exit
« Reply #1 on: March 24, 2005, 05:46:24 PM »

Not really.
Logged

djtm

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
Re: Massive aMule OOM on exit
« Reply #2 on: March 24, 2005, 05:57:40 PM »

Huh?

by the way
aMule CVS using wxGTK2 v2.5.3 (Unicoded) (Snapshot: Wed Mar 16 07:01:26 CET 2005) (OS: Linux)
debian testing
Logged
"If you laid all of our laws end to end, there would be no end."
Mark Twain
"Linux is like a wigwam: No Gates, no Windows, but Apache inside!"

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2505
  • The last shadow you'll ever see
Re: Massive aMule OOM on exit
« Reply #3 on: March 25, 2005, 03:33:47 AM »

djtm,

One option is to try wx-2.5.4 or wx-cvs. There were some mem leak fixes already. Anyway, aMule with gtk2 + unicode is known to leak a lot. This might not be aMule issue, but we dont know yet. Tell me, how long was aMule running before this happened? And how much memory do you have in your machine? Were you doing something particularly different before this happened?

Btw, I don't think this is a kernel issue. Make sure it is not aMule or any other program related before posting to lkml. People are not very patient around there.

Cheers!
Logged

djtm

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
Re: Massive aMule OOM on exit
« Reply #4 on: March 25, 2005, 10:08:03 AM »

Okay,

it has been running a couple hours (2-4) before. I didn't do anything special. Opened it from systray, say that the download's finished, and clicked on the close button in the upper right corner.
Gradually after that the memory(512MB) went full, then the swap(512MB) was also filled and the system stopped responding almost completely.
It seemed to have just finished, but I think the hashing was done, and it said finished and the download bar was uhm green or orange, showing it was done.

Well, Im on vacation the next week, maybe I can't respond till then.
Logged
"If you laid all of our laws end to end, there would be no end."
Mark Twain
"Linux is like a wigwam: No Gates, no Windows, but Apache inside!"

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2505
  • The last shadow you'll ever see
Re: Massive aMule OOM on exit
« Reply #5 on: March 25, 2005, 11:42:20 AM »

Do you mean you have the same amount of memory as you have swap? I dont think this is a good thing, IIRC, you should have at least the double to avoid swap storms.

Maybe the leak is deterministic, if we could complete a lot of files then maybe we could leak faster and catch it in say, valgrind. I will see if I can set up a test.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 65
  • Offline Offline
  • Posts: 1522
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Massive aMule OOM on exit
« Reply #6 on: March 25, 2005, 12:27:49 PM »

I had the same prob 2 hours ago. I decided to wait till it solves itself, but 5 minutes ago I decided to do a hardware reset, because nothing reactet (it took 7 minutes till the numlock status got changed). I don't think that the systray could cause this prob, because I don't use it. The last thing I saw, was that top said amule used 99.9% cpu, and 83.4% mem.
It ran since yesterday morning.
Logged
Homefucking is killing prostitution

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2505
  • The last shadow you'll ever see
Re: Massive aMule OOM on exit
« Reply #7 on: March 25, 2005, 01:37:38 PM »

Hum, pretty strange, I run aMule here for 3 or 4 days before gtk2 leaks enough for me to consider it is time to exit aMule. And even then I can do it gracefully. And I have about 500 files in my download queue and a lot of shares.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 65
  • Offline Offline
  • Posts: 1522
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Massive aMule OOM on exit
« Reply #8 on: March 25, 2005, 01:48:20 PM »

I didn't leak before I tried to exit amule. I just exitet to update. That's the real strange thing.
« Last Edit: March 25, 2005, 01:48:49 PM by Vollstrecker »
Logged
Homefucking is killing prostitution