Description of problem: Each time the greeter starts the number of open FDs increase. After each login and logout cycle the number of open FDs is increased by 6. Which over time leads to impossible logins and the message in /var/log/messages is: Jun 12 02:44:24 node3 lightdm[17471]: ** (lightdm:17471): WARNING **: Failed to create pipe to communicate with session process: To...en files Jun 12 02:45:29 node3 lightdm[17471]: ** (lightdm:17471): WARNING **: Failed to create pipes: Too many open files Jun 12 02:47:47 node3 lightdm[17471]: ** (lightdm:17471): WARNING **: Failed to create pipes: Too many open files Version-Release number of selected component (if applicable): Fedora 19 lightdm 1.6.0 How reproducible: always Steps to Reproduce: 1. login on a console and find the pid of main lightdm process then: # lsof -p {lightdm_pid} |grep FIFO |wc -l 26 2. switch to X console and login through lightdm and then logout 3. go back on comsole # lsof -p {lightdm_pid} |grep FIFO |wc -l 32 Actually the number increases when the greeter is started but it never decreases.
Created attachment 760204 [details] Fix for the leaking sockets Here is a patch that fixes the issue reported by me earlier today. It may have several lines offset because we use modified lightdm but it is good for the original version too. regards, Rumen
Sorry I mean Leaking File descriptors :)
Cool, can you submit that patch upstream?
Probably I can, but i do not know how. Can you shed some light how to do so.
Create or search a bug on launchpad [1] and attach your patch [1] https://bugs.launchpad.net/lightdm
lightdm-1.7.17-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/lightdm-1.7.17-2.fc20
Package lightdm-1.7.17-2.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing lightdm-1.7.17-2.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-18432/lightdm-1.7.17-2.fc20 then log in and leave karma (feedback).
lightdm-1.6.3-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/lightdm-1.6.3-2.fc19
Package lightdm-1.7.18-2.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing lightdm-1.7.18-2.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-18432/lightdm-1.7.18-2.fc20 then log in and leave karma (feedback).
lightdm-1.8.0-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/lightdm-1.8.0-2.fc20
lightdm-1.8.0-2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
lightdm-1.6.3-2.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.