← Back to team overview

desktop-packages team mailing list archive

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

 

This looks to be fixed:
------------
mpt@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 Desktop
Packages, 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