GNOME Bugzilla – Bug 707764
Rygel not discoverable anymore after long runtime
Last modified: 2018-05-22 12:41:53 UTC
After a long runtime, any service stopped being discoverable, attaching to the process showed that it was idle.
Sep 08 01:53:03 nas wrap-dbus[12902]: ** (rygel:12902): WARNING **: Unable to map file /home/rygel/.config/Rygel/Playbin-v1.xml: Failed to open file '/home/rygel/.config/Rygel/Play bin-v1.xml': open() failed: Too many open files Sep 08 01:53:03 nas wrap-dbus[12902]: ** (rygel:12902): WARNING **: Unable to map file /usr/share/rygel/xml/ContentDirectory.xml: Failed to open file '/usr/share/rygel/xml/ContentD irectory.xml': open() failed: Too many open files Sep 08 01:53:04 nas wrap-dbus[12902]: ** (rygel:12902): WARNING **: Unable to map file /home/rygel/.config/Rygel/Playbin-v1.xml: Failed to open file '/home/rygel/.config/Rygel/Playbin-v1.xml': open() failed: Too many open files Sep 08 01:53:04 nas wrap-dbus[12902]: ** (rygel:12902): WARNING **: Unable to map file /usr/share/rygel/xml/ConnectionManager.xml: Failed to open file '/usr/share/rygel/xml/ConnectionManager.xml': open() failed: Too many open files Sep 08 01:53:07 nas wrap-dbus[12902]: ** (rygel:12902): WARNING **: Unable to map file /home/rygel/.config/Rygel/Playbin-v1.xml: Failed to open file '/home/rygel/.config/Rygel/Playbin-v1.xml': open() failed: Too many open files Sep 08 01:53:07 nas wrap-dbus[12902]: ** (rygel:12902): WARNING **: Unable to map file /usr/share/rygel/xml/ContentDirectory.xml: Failed to open file '/usr/share/rygel/xml/ContentDirectory.xml': open() failed: Too many open files
so there's still a file descriptor leak in 0.18.4 :-/
After a week of running it has 576 open file descriptors.
most of which are open sockets caused by a windows 7 computer...
The windows 7 computer does not list those connections. apparently they're kind-of stale.
Mhm, a day later it's 614.
Did some debugging, the connections in question do not come from the default handler in GUPnP
It's the device description document and a device icon. I suspect it's not WMP but Windows 7 network device panel. Probably related to the HTTP 1.1 upgrade?
Mostly the connections for the icons are leaked. The icons are downloaded by WMP
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/rygel/issues/53.