[Dctrl-tools-devel] Bug#508953: dctrl-tools: when greping through source packages, tbl-control can't list Files

Gerfried Fuchs rhonda at debian.at
Tue Dec 16 22:09:41 UTC 2008


Package: dctrl-tools
Version: 2.13.0
Severity: normal

#v+
$> cat /var/lib/apt/lists/*_source_Sources | grep-dctrl . \
   -sPackage,Version,Directory,Files | \
   tbl-dctrl -c Package -c Version -c Directory
#v-

 That returns data quite fast and well. Adding a -c Files to tbl-dctrl
and it starts to consume immense computing time:

#v+
$> cat /var/lib/apt/lists/*_source_Sources | grep-dctrl . \
   -sPackage,Version,Directory,Files | \
   tbl-dctrl -c Package -c Version -c Directory -c Files
#v-

 From doing an strace of it it does strange things with memory:

     0.124650 mremap(0x48272000, 266240, 528384, MREMAP_MAYMOVE) = 0x48272000
     0.256864 mremap(0x48272000, 528384, 1052672, MREMAP_MAYMOVE) = 0x48272000
     0.468495 mremap(0x48272000, 1052672, 2101248, MREMAP_MAYMOVE) = 0x48272000
     0.906908 mremap(0x48272000, 2101248, 4198400, MREMAP_MAYMOVE) = 0x48272000
     1.829721 mremap(0x48272000, 4198400, 8392704, MREMAP_MAYMOVE) = 0x49a54000
     4.028572 mremap(0x49a54000, 8392704, 16781312, MREMAP_MAYMOVE) = 0x49a54000
     7.264582 mremap(0x49a54000, 16781312, 33558528, MREMAP_MAYMOVE) = 0x49a54000
    14.832580 mremap(0x49a54000, 33558528, 67112960, MREMAP_MAYMOVE) = 0x49a54000

 The waiting time between these mremap syscalls seems to be doubling.
Maybe that is some kind of help/hint to find the problem? At least I
notice that it really likes to consume a _lot_ of memory, too.

 So long. :)
Rhonda

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.27-1-powerpc
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dctrl-tools depends on:
ii  libc6                         2.7-16     GNU C Library: Shared libraries

dctrl-tools recommends no packages.

Versions of packages dctrl-tools suggests:
ii  apt                           0.7.19     Advanced front-end for dpkg
ii  debtags                       1.7.7      Enables support for package tags

-- no debconf information





More information about the Dctrl-tools-devel mailing list