← Back to team overview

desktop-packages team mailing list archive

[Bug 1190344] Re: lightdm is leaking FDs -fix

 

** Changed in: lightdm/1.2
       Status: Triaged => Fix Released

** Changed in: lightdm/1.12
       Status: Triaged => Fix Released

** Changed in: lightdm/1.10
       Status: Triaged => Fix Released

** Changed in: lightdm
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1190344

Title:
  lightdm is leaking FDs -fix

Status in Light Display Manager:
  Fix Released
Status in Light Display Manager 1.10 series:
  Fix Released
Status in Light Display Manager 1.12 series:
  Fix Released
Status in Light Display Manager 1.2 series:
  Fix Released
Status in “lightdm” package in Ubuntu:
  Triaged
Status in “lightdm” source package in Precise:
  Triaged
Status in “lightdm” source package in Trusty:
  Triaged
Status in “lightdm” source package in Utopic:
  Triaged
Status in “lightdm” source package in Vivid:
  Triaged
Status in Fedora:
  Unknown

Bug description:
  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. 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

  
  Tested on:
  Fedora 19 and Ubuntu 13.04 - lightdm 1.6.0

  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

  Here is a patch that fixes the issue. It may have several lines offset
  because we use modified lightdm but it is good for the original
  version too.

  regards,
  Rumen

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1190344/+subscriptions