Just upgraded a box at home to new hardware with embedded Intel graphics (i5 Haswell), did a clean install of Fedora 21, and while poking around trying to fix a few issues while rebuilding my config spotted something I've not noticed before. With KDE running "lsof" lists over a thousand entries like this:
Xorg.bin 659 662 root DEL REG 0,4 16016 /drm mm object Xorg.bin 659 662 root DEL REG 0,4 16011 /drm mm object kwin 964 zocalo DEL REG 0,4 38725 /drm mm object kwin 964 zocalo DEL REG 0,4 19275 /drm mm object QProcessM 964 986 zocalo DEL REG 0,4 19277 /drm mm object QProcessM 964 986 zocalo DEL REG 0,4 47240 /drm mm object
These are the only three processes that appear to own these files, and the number of entries appears to fluctuate as windows are opened/closed, and other GUI events happen.
A Google search comes up with a bunch of stuff about memory leaks from a few years ago, plus some documention on Kernel memory management, but I couldn't find anything that explains what these "/drm mm object" entries are, whether this is normal behaviour, or if there is potentially a problem.
Any ideas?
On 31 January 2015 at 23:53, Tom Horsley horsley1953@gmail.com wrote:
No ideas, but I see bazillions of them as well, not using KDE, but am running intel graphics.
Thanks for the pointer, Tom. I was KDE with Nvidia graphics before, so was already looking suspiciously at the Intel driver (which is why I mentioned it originally). I've also managed to find an entry in one of the older bug reports (from 2009) that sheds some light on this:
"Those files are where your pixmaps and other graphics objects are stored. They do not consume fds, but they are open files. We have longer lifetimes on these objects than we should, but there shouldn't be any actual leaks -- you'll reach a steady state at some point."
Source: https://bugs.freedesktop.org/show_bug.cgi?id=20404
So it looks like it's possibly just normal operating practice for the Intel driver, albeit somewhat messy for tools like lsof.