'smart' process load cpu on 100%

Bug #878529 reported by Vitaliy Kulikov
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
smart (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

after upgrade to 11.10, process 'smart' always load CPU to 100% =(.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: python-smartpm 1.4-1ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Thu Oct 20 00:40:16 2011
ExecutablePath: /usr/share/smart/smart
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
InterpreterPath: /usr/bin/python2.7
ProcEnviron: PATH=(custom, no user)
SourcePackage: smart
UpgradeStatus: Upgraded to oneiric on 2011-10-14 (5 days ago)

Revision history for this message
Vitaliy Kulikov (slonua) wrote :
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Can you please try this workaround:

sudo smart config --set pycurl=0

If you have running smart processes you might have to kill them before this works. Then you can try to update again:

sudo /usr/share/smart/smart update

See how the cpu usage goes.

Changed in smart (Ubuntu):
status: New → Incomplete
Revision history for this message
Vitaliy Kulikov (slonua) wrote :

thanks. now everything is working fine.

Revision history for this message
Brent Fox (brent-s-fox) wrote :

I'm seeing this behavior as well. I can use the workaround, but I would prefer a more permanent fix. Should I expect this to be addressed in a bugfix update?

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

I have also observed this on my desktop PC. I have tried the steps on comment #2 and these have stopped the CPU getting pegged for now.

Changed in smart (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Jeff Lane ξƒΏ (bladernr) wrote :

Seeing this also on my system... to the point where it actually slows down my quad core i7 sometimes... I've killed the process for now, but I'll try the workaround when it kicks up next time.

Revision history for this message
Jeff Lane ξƒΏ (bladernr) wrote :

Hrmm... so I'm seeing this when smart is called by Landscape... I can't run the workaround...

bladernr@klaatu:~/offline$ sudo smart config --set pycurl=0
sudo: smart: command not found
bladernr@klaatu:~/offline$ sudo /usr/share/smart/smart config --set pycurl=0
error: Configuration is in readonly mode.

I don't know much at all about smart, and no time to really debug this, I have work to do :( any hints on how to get this to work?

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

If you get the message "configuration is in read-only mode", it means another smart process is running. Wait for it to finish or, since most likely it's the one using up the cpu, just kill it, and then change the configuration again.

Revision history for this message
Jim Noble (jnoble-gmail) wrote :

How can we set this so that it executes on every boot?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.