[Bug 697650] Re: sudo update-software-center causes excessive stat()ing

Matthew Paul Thomas mpt at canonical.com
Thu Sep 15 18:20:22 UTC 2011


This looks to be fixed:
------------
mpt at zephyr:~/hacking/software-center$ time sudo strace update-software-center 2>&1 | grep -c '^stat64.*app-install-data.mo'
[sudo] password for mpt: 
[sudo] password for mpt: 
0

real	1m47.475s
user	0m33.500s
sys	0m31.550s
------------

Please reopen if it's still happening for you.

** Changed in: software-center (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/697650

Title:
  sudo update-software-center causes excessive stat()ing

Status in “software-center” package in Ubuntu:
  Fix Released

Bug description:
  Forwarded from bug #605048.

  Running "sudo update-software-center" causes an excessive amount of
  re-stat()ing for a single translation-related file: it is stat()ing
  for 'app-install-data.mo' a quarter of a million times during the two-
  minute run:

    $ time sudo strace update-software-center 2>&1 | grep -c '^stat64.*app-install-data.mo'
    271169

    real 2m1.576s
    user 1m9.032s
    sys 0m49.031s

  It is likely that this is indicative of an inefficiency somewhere in
  the process and that a good deal of the reported 'sys' time is
  probably spend handling those calls.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/697650/+subscriptions




More information about the foundations-bugs mailing list