landsape package reporter takes up too much cpu and memory resources
Bug #675577 reported by
anirudhs
This bug affects 9 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Invalid
|
Undecided
|
Unassigned | ||
landscape-client (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi,
I logged into my server today to find that landscape package reporter has been taking up a very very large portion of system resources - so much that I could barely even enter any commands into SSH. I have removed the landscape-client package. I will be able to provide any diagnostic information. All I have right now is a screenshot of htop running on the server.
tags: | added: quantal |
To post a comment you must log in.
Hi, what version of landscape-client was that? And which version of Ubuntu?
The package reporter runs once an hour, and everytime there are package activities sent from the Landscape server by an administrator.
If it has been running for a long time, then there might be something wrong. It usually takes about the same amount of time than a run of "sudo apt-get update" and then it dies. You can see if there is something interesting in its log file at /var/log/ landscape/ .
That being said, it will consume more memory than apt because it uses psyco to try to speed things up. If you want to try, you can disable psyco which will make it consume less memory:
sudo /usr/share/ smart/smart config --set psyco=0