touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #102597
[Bug 1495871] Re: unity8 leaks file descriptors
As mentioned in the description, one way to leak fds is just opening and
closing an app. It leaks an fd of type 'anon_inode:[eventfd]' per app
connection. I am attaching a simple script I used to reproduce this and
track it over multiple app invocations.
Sample output from a run (omitting the lsof and /proc/*/fd information)
is:
#### Starting at 2015-09-15T08:10:55+0000 ####
# Before fds: 119
# During fds: 131
# After fds: 120
#### Starting at 2015-09-15T08:11:02+0000 ####
# Before fds: 120
# During fds: 133
# After fds: 121
#### Starting at 2015-09-15T08:11:09+0000 ####
# Before fds: 121
# During fds: 134
# After fds: 122
#### Starting at 2015-09-15T08:11:16+0000 ####
# Before fds: 122
# During fds: 135
# After fds: 123
...
You can clearly see unity8 leaking one fd every time the app connects
and disconnects.
** Attachment added: "start_stop_app.sh"
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1495871/+attachment/4464861/+files/start_stop_app.sh
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1495871
Title:
unity8 leaks file descriptors
Status in unity8 package in Ubuntu:
Confirmed
Bug description:
unity8 leaks file descriptors in various cases, causing the process to
eventually fail (hang and/or restart). These leaks were first
discovered during investigations of https://bugs.launchpad.net
/canonical-devices-system-image/+bug/1491566 , but it's not clear yet
if they are indeed responsible for that particular bug. In any case,
this is a critical problem, and should be addressed independently.
The fds are leaked in various scenarios, including:
* opening/closing apps
* switching between apps
* locking the screen
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1495871/+subscriptions
References