[arale] Software clients can rapidly cause a Mir server to exhaust all fd handles
Bug #1498806 reported by
Daniel van Vugt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Won't Fix
|
High
|
Unassigned | ||
mir-android-platform |
New
|
Undecided
|
Unassigned |
Bug Description
[arale] Software clients can rapidly cause a Mir server to exhaust all fd handles.
On arale, start a Mir server and run client: mir_demo_
Now monitoring /proc/`pidof mr_demo_server`/fd/ you will find the server quickly exhausts all fds. It peaks at 1024.
Interestingly once you kill a client, it stays on screen and the fd count slowly decreases. When the fd count gets close to the original level then the client finally vanishes.
You will also notice corruption but that's bug 1406725.
summary: |
- [arale] Software clients can rapidly cause a Mir server to use exhaust - all fd handles + [arale] Software clients can rapidly cause a Mir server to exhaust all + fd handles |
description: | updated |
To post a comment you must log in.
The problem only happens with high framerate software clients (flicker and fingerpaint). Given bug 1406725, it appears that Mir might be producing frames (and sync_fence fds) much faster than the display can consume them. So the backlog grows without bounds, until such time as the client slows down or is stopped.