[PATCH] Fix fd leaks.

James Hunt james.hunt at ubuntu.com
Mon Oct 10 07:54:16 PDT 2011


Patch to correct fd starvation issue resulting from sending "too many" commands to plymouthd.
Example debug output from such a scenario:


--------------------------------------------------------------------------------
[ply-boot-splash.c]                               remove_displays:Removing 112x35 text display
[ply-boot-splash.c]                               remove_displays:Removing node
[./plugin.c]                                destroy_plugin:destroying plugin
[main.c]                          show_detailed_splash:Showing detailed splash screen
[main.c]                             start_boot_splash:Loading boot splash theme
'/lib/plymouth/themes/details/details.plymouth'


[ply-key-file.c]                        ply_key_file_open_file:Failed to open key file
/lib/plymouth/themes/details/details.plymouth: Too many open files


[ply-boot-splash.c]                          ply_boot_splash_free:freeing splash
[ply-boot-splash.c]                               remove_displays:removing pixel displays
[ply-boot-splash.c]                               remove_displays:removing text displays
[main.c]                          show_detailed_splash:Could not start detailed splash screen, exiting
--------------------------------------------------------------------------------

--
James Hunt




More information about the plymouth mailing list