[Bug 307183] Re: poldek leaks fds with packages.ndir.dscr.gz

Elan Ruusamäe 307183 at bugs.launchpad.net
Fri Sep 28 14:04:07 CEST 2012


can't install packages, poldek  --upa  won't help too, need to poldek
--clean-whole to be able resume using this poldek


# poldek --up

Retrieving dsl-[cut]::packages.ndir.md...
dsl-delfi is up to date

Retrieving dsl-[cut]::packages.ndir.md...
Retrieving dsl-[cut]::packages.ndir.diff.toc.gz...
.............................. 100.0% [24.5K (24.5K/s)]                   

Loading [pndir]dsl-[cut]...
Applying packages.ndir.2011.12.22-13.51.00.gz...

Applying packages.ndir.2011.12.27-15.05.36.gz...

Applying packages.ndir.2012.01.02-13.16.14.gz...

Applying packages.ndir.2012.01.04-10.36.46.gz...

Applying packages.ndir.2012.01.04-13.06.57.gz...

Applying packages.ndir.2012.01.04-13.14.00.gz...

Applying packages.ndir.2012.01.04-13.42.48.gz...

Applying packages.ndir.2012.01.05-09.23.47.gz...

Applying packages.ndir.2012.01.06-08.12.06.gz...

....
Applying packages.ndir.2012.08.13-13.06.36.gz...

Applying packages.ndir.2012.08.13-15.32.22.gz...

Applying packages.ndir.2012.08.15-08.09.10.gz...

Applying packages.ndir.2012.08.15-08.17.35.gz...

Applying packages.ndir.2012.08.16-09.49.57.gz...

Applying packages.ndir.2012.08.16-11.23.47.gz...

Applying packages.ndir.2012.08.16-11.31.37.gz...

Applying packages.ndir.2012.08.16-14.22.52.gz...

Applying packages.ndir.2012.08.17-09.10.21.gz...

Applying packages.ndir.2012.08.17-13.31.19.gz...

Applying packages.ndir.2012.08.17-13.55.20.gz...

Applying packages.ndir.2012.08.21-11.45.17.gz...

Applying packages.ndir.2012.08.21-12.40.07.gz...

Applying packages.ndir.2012.08.21-13.40.47.gz...

Applying packages.ndir.2012.08.22-09.24.02.gz...

Applying packages.ndir.2012.08.22-09.46.36.gz...

Applying packages.ndir.2012.08.22-10.00.59.gz...

Applying packages.ndir.2012.08.22-10.18.59.gz...

Applying packages.ndir.2012.08.22-13.10.58.gz...

Applying packages.ndir.2012.08.23-07.23.01.gz...

Applying packages.ndir.2012.08.23-09.53.32.gz...

Applying packages.ndir.2012.08.23-12.29.03.gz...

Applying packages.ndir.2012.08.23-15.31.00.gz...

Applying packages.ndir.2012.08.23-17.38.03.gz...

Applying packages.ndir.2012.08.23-17.40.20.gz...

Applying packages.ndir.2012.08.24-09.51.16.gz...

Applying packages.ndir.2012.08.26-07.35.22.gz...

Applying packages.ndir.2012.08.27-10.12.59.gz...

Applying packages.ndir.2012.08.27-14.11.14.gz...

Applying packages.ndir.2012.08.28-07.46.22.gz...

Applying packages.ndir.2012.08.28-07.54.39.gz...

Applying packages.ndir.2012.08.28-08.25.30.gz...

Applying packages.ndir.2012.08.28-09.08.08.gz...

Applying packages.ndir.2012.08.29-09.54.12.gz...

Applying packages.ndir.2012.08.29-10.58.18.gz...

Applying packages.ndir.2012.08.29-11.44.54.gz...

Applying packages.ndir.2012.08.29-13.05.16.gz...

Applying packages.ndir.2012.08.29-14.02.09.gz...

Applying packages.ndir.2012.08.29-14.37.14.gz...

Applying packages.ndir.2012.08.29-21.26.39.gz...

Applying packages.ndir.2012.08.30-08.57.31.gz...

Applying packages.ndir.2012.08.30-08.58.27.gz...

Applying packages.ndir.2012.08.30-09.26.15.gz...

Applying packages.ndir.2012.08.30-09.34.58.gz...

Applying packages.ndir.2012.08.31-10.55.40.gz...

Applying packages.ndir.2012.08.31-10.58.17.gz...

Applying packages.ndir.2012.09.02-09.20.32.gz...

Applying packages.ndir.2012.09.03-08.08.50.gz...

Applying packages.ndir.2012.09.03-08.53.15.gz...

Applying packages.ndir.2012.09.03-10.14.31.gz...

Applying packages.ndir.2012.09.03-10.27.20.gz...

Applying packages.ndir.2012.09.03-10.59.58.gz...

Applying packages.ndir.2012.09.03-14.19.54.gz...

Applying packages.ndir.2012.09.03-14.26.29.gz...

Applying packages.ndir.2012.09.03-14.38.49.gz...

Applying packages.ndir.2012.09.04-08.48.27.gz...

Applying packages.ndir.2012.09.04-09.09.19.gz...

Applying packages.ndir.2012.09.04-12.21.56.gz...

Applying packages.ndir.2012.09.04-12.30.30.gz...

Applying packages.ndir.2012.09.04-13.49.25.gz...

Applying packages.ndir.2012.09.05-06.04.46.gz...

Applying packages.ndir.2012.09.05-07.59.27.gz...

Applying packages.ndir.2012.09.05-08.41.49.gz...

Applying packages.ndir.2012.09.05-10.25.02.gz...

Applying packages.ndir.2012.09.05-11.30.06.gz...

Applying packages.ndir.2012.09.05-11.37.58.gz...

error: open /root/.poldek-cache/http_[cut]/.vflock__root..poldek-cache.http.[cut].packages.i: Too many open files
error: /root/.poldek-cache/http_[cut].packages.i: unable to obtain lock

-- 
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/307183

Title:
  poldek leaks fds with packages.ndir.dscr.gz

Status in poldek:
  New
Status in PLD Linux Distribution:
  New

Bug description:
  attached obfuscated output of:
  $ valgrind --track-fds=yes poldek --up

  additionally poldek should close fds before invoking subprocess.
  such wrapper could be useful all over the code:

  16:34:10 @jbj>     fdno = open(path, flags, mode);
  16:34:10 @jbj>     if (fdno < 0) return NULL;
  16:34:10 @jbj>     if (fcntl(fdno, F_SETFD, FD_CLOEXEC)) {
  16:34:10 @jbj>         (void) close(fdno);
  16:34:11 @jbj>         return NULL;
  16:34:11 @jbj>     }

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


More information about the pld-bugs mailing list