summaryrefslogtreecommitdiff
path: root/open_issues/exec_memory_leaks.mdwn
blob: 1a73ce9a0e4e3af820aedd3230d09a11768ebc7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[[!meta copyright="Copyright © 2012 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
document under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no Invariant
Sections, no Front-Cover Texts, and no Back-Cover Texts.  A copy of the license
is included in the section entitled [[GNU Free Documentation
License|/fdl]]."]]"""]]

[[!tag open_issue_hurd]]

There are is some memory leak in [[`exec`|hurd/translator/exec]].  After twelve
hours worth of `fork/exec` ([[GCC]]'s `check-c` part of the testsuite), we got:

      PID  UID  PPID  PGrp  Sess TH  Vmem   RSS %CPU     User   System Args
        4    0     3     1     1 10  392M  262M  0.0  2:18.29     2hrs /hurd/exec

The *RSS* seems a tad high.  Also the system part of CPU time consumption is
quite noticeable.  In comparison:

        0    0     1     1     1 19  131M 1.14M  0.0  3:30.25  9:17.79 /hurd/proc
        3    0     1     1     1 224 405M 12.6M  0.2 42:20.25    67min ext2fs --readonly --multiboot-command-line=root=device:hd0s6 --host-priv-port=1 --device-master-port=2 --exec-server-task=3 -T typed device:hd0s6
      276    0     3     1     1 344 442M 28.2M  0.6 48:09.36    91min /hurd/ext2fs /dev/hd2s5