touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #28143
[Bug 1198180] Re: possible leak in upstart 1.5
pmap -x 1
1: /sbin/init
Address Kbytes RSS Dirty Mode Mapping
00007f9799767000 0 16 0 r-x-- libnss_files-2.15.so
00007f9799773000 0 0 0 ----- libnss_files-2.15.so
00007f9799972000 0 4 4 r---- libnss_files-2.15.so
00007f9799973000 0 4 4 rw--- libnss_files-2.15.so
00007f9799974000 0 20 0 r-x-- libnss_nis-2.15.so
00007f979997e000 0 0 0 ----- libnss_nis-2.15.so
00007f9799b7e000 0 4 4 r---- libnss_nis-2.15.so
00007f9799b7f000 0 4 4 rw--- libnss_nis-2.15.so
00007f9799b80000 0 24 0 r-x-- libnsl-2.15.so
00007f9799b97000 0 0 0 ----- libnsl-2.15.so
00007f9799d96000 0 4 4 r---- libnsl-2.15.so
00007f9799d97000 0 4 4 rw--- libnsl-2.15.so
00007f9799d98000 0 0 0 rw--- [ anon ]
00007f9799d9a000 0 24 0 r-x-- libnss_compat-2.15.so
00007f9799da2000 0 0 0 ----- libnss_compat-2.15.so
00007f9799fa1000 0 4 4 r---- libnss_compat-2.15.so
00007f9799fa2000 0 4 4 rw--- libnss_compat-2.15.so
00007f9799fa3000 0 620 0 r-x-- libc-2.15.so
00007f979a158000 0 0 0 ----- libc-2.15.so
00007f979a357000 0 16 16 r---- libc-2.15.so
00007f979a35b000 0 8 8 rw--- libc-2.15.so
00007f979a35d000 0 20 20 rw--- [ anon ]
00007f979a362000 0 20 0 r-x-- librt-2.15.so
00007f979a369000 0 0 0 ----- librt-2.15.so
00007f979a568000 0 4 4 r---- librt-2.15.so
00007f979a569000 0 4 4 rw--- librt-2.15.so
00007f979a56a000 0 48 0 r-x-- libpthread-2.15.so
00007f979a582000 0 0 0 ----- libpthread-2.15.so
00007f979a781000 0 4 4 r---- libpthread-2.15.so
00007f979a782000 0 4 4 rw--- libpthread-2.15.so
00007f979a783000 0 4 4 rw--- [ anon ]
00007f979a787000 0 212 0 r-x-- libdbus-1.so.3.5.8
00007f979a7c9000 0 0 0 ----- libdbus-1.so.3.5.8
00007f979a9c9000 0 4 4 r---- libdbus-1.so.3.5.8
00007f979a9ca000 0 4 4 rw--- libdbus-1.so.3.5.8
00007f979a9cb000 0 32 0 r-x-- libnih-dbus.so.1.0.0
00007f979a9d3000 0 0 0 ----- libnih-dbus.so.1.0.0
00007f979abd3000 0 4 4 r---- libnih-dbus.so.1.0.0
00007f979abd4000 0 4 4 rw--- libnih-dbus.so.1.0.0
00007f979abd5000 0 76 0 r-x-- libnih.so.1.0.0
00007f979abeb000 0 0 0 ----- libnih.so.1.0.0
00007f979adeb000 0 4 4 r---- libnih.so.1.0.0
00007f979adec000 0 4 4 rw--- libnih.so.1.0.0
00007f979aded000 0 112 0 r-x-- ld-2.15.so
00007f979b003000 0 20 20 rw--- [ anon ]
00007f979b00d000 0 8 8 rw--- [ anon ]
00007f979b00f000 0 4 4 r---- ld-2.15.so
00007f979b010000 0 8 8 rw--- ld-2.15.so
00007f979b012000 0 140 0 r-x-- init
00007f979b238000 0 8 8 r---- init
00007f979b23a000 0 4 4 rw--- init
00007f979c573000 0 24612 24612 rw--- [ anon ]
00007fff80d5a000 0 28 28 rw--- [ stack ]
00007fff80dfe000 0 4 0 r-x-- [ anon ]
ffffffffff600000 0 0 0 r-x-- [ anon ]
---------------- ------ ------ ------
total kB 48244 26160 24812
There are 71 entries which are regular system entries in initctl list.
All others look like "network-interface-security (network-interface/vethc425e55) start/running" and there were ~7400 such entries.
The upstart tests are also allocating memory which is only getting
released when the tests exit.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1198180
Title:
possible leak in upstart 1.5
Status in “upstart” package in Ubuntu:
Confirmed
Bug description:
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Package: 1.5-0ubuntu7.2
Kernel: Linux XXX 3.8.0-23-generic #34~precise1-Ubuntu SMP Wed May 29 21:12:31 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
We're starting lxc containers on demand, so there's lots and lots of
network interfaces going up and down. Udev emits signal, that goes to
upstart-udev-bridge, and next to the upstart itself. After about 40K
containers created/destroyed, upstart takes about 250MB or RAM, and it
grows with every event received/send. Not only RAM is beeing used, but
also init spends more time for every new event on the socket.
What happens:
init uses more RAM and more CPU during lifetime, when lots of network interfaces are beeing created/destroyed
What is expected:
init work should not change depending on number of events served
technical detail:
# pmap -x 1
00007f446f865000 0 237036 237036 rw--- [ anon ]
00007fffc694d000 0 24 24 rw--- [ stack ]
00007fffc69fe000 0 4 0 r-x-- [ anon ]
ffffffffff600000 0 0 0 r-x-- [ anon ]
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1198180/+subscriptions