From eccdd13dd3c812b8f0b3d046ef9d8738df00562a Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 25 Sep 2013 21:45:38 +0200 Subject: IRC. --- open_issues/exec_memory_leaks.mdwn | 54 +++++++++++++++++++++++++++++++++++--- 1 file changed, 51 insertions(+), 3 deletions(-) (limited to 'open_issues/exec_memory_leaks.mdwn') diff --git a/open_issues/exec_memory_leaks.mdwn b/open_issues/exec_memory_leaks.mdwn index d504c4f0..67281bdc 100644 --- a/open_issues/exec_memory_leaks.mdwn +++ b/open_issues/exec_memory_leaks.mdwn @@ -1,4 +1,4 @@ -[[!meta copyright="Copyright © 2012 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2012, 2013 Free Software Foundation, Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable id="license" text="Permission is granted to copy, distribute and/or modify this @@ -12,8 +12,56 @@ License|/fdl]]."]]"""]] There are is some memory leak in [[`exec`|hurd/translator/exec]]. +[[!toc]] -# I + +# IRC, freenode, #hurd, 2012-08-11 + + the exec servers seems to leak a lot + server* + exec now uses 109M on darnassus + it really leaks a lot + only 109mb? few months ago, exec on exodar was taking more than + 200mb after few days of uptime with builds done + i wonder how much it takes on the buildds + + +## IRC, freenode, #hurd, 2012-08-17 + + the exec leak is tricky + bddebian: btw, look at the TODO file in the hurd source code + bddebian: there is a not from thomas bushnell about that + "*** Handle dead name notifications on execserver ports. ! + not sure it's still a todo item, but it might be worth checking + braunr: diskfs_execboot_class = ports_create_class (0, 0); + This is what would need to change right? It should call some cleanup + routine in the first argument? + Would be ideal if it could just use deadboot() from exec. + bddebian: possible + bddebian: hum execboot, i'm not so sure + Execboot is the exec task, no? + i don't know what execboot is + It's from libdiskfs + but "diskfs_execboot_class" looks like a class of ports used at + startup only + ah + then it's something run in the diskfs users ? + yes + the leak is in exec + if clients misbehave, it shouldn't affect that server + That's a different issue, this was about the TODO thing + ah + i don't know + Me either :) + For the leak I'm still focusing on do-bunzip2 but I am baffled + at my results.. + ? + Where my counters are zero if I always increment on different + vars but wild freaking numbers if I increment on malloc and decrement on + free + + +# 2012-11-25 After twelve hours worth of `fork/exec` ([[GCC]]'s `check-c` part of the testsuite), we got: @@ -29,7 +77,7 @@ quite noticeable. In comparison: 276 0 3 1 1 344 442M 28.2M 0.6 48:09.36 91min /hurd/ext2fs /dev/hd2s5 -# II +# 2012-12-20 After running the libtool testsuite for some time: -- cgit v1.2.3