apport-gtk spends a lot of time calling lsb_release
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
I've had some stability problems with compiz, so I see apport-gtk run a fair amount on my system. I've noticed that apport-gtk is pretty slow, and top reports that lsb_release is often running and using up 1-5% of the CPU while apport-gtk is running. Watching the PIDs in top, I see that lsb_release is spawned a lot - dozens or hundreds of times for each instance of apport-gtk when collecting data about compiz.
Can lsb_release data be cached so that it's retrieved once rather than repeatedly for each instance of apport? Is there some tight loop in the collector for compiz and its dependencies that shouldn't be there?
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: apport-gtk 2.9.2-0ubuntu5
ProcVersionSign
Uname: Linux 3.8.0-16-generic x86_64
NonfreeKernelMo
ApportVersion: 2.9.2-0ubuntu5
Architecture: amd64
Date: Thu Apr 4 17:58:22 2013
InstallationDate: Installed on 2010-09-17 (930 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
MarkForUpload: True
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: apport
UpgradeStatus: Upgraded to raring on 2013-01-25 (69 days ago)
Related branches
Changed in apport (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Martin Pitt (pitti) |
Fixed in trunk r2676.