hp system tray pegs processor at over 50%

Asked by frrobert

this is more of an fyi then a request
I am running Ubuntu 8.10 with Adam's custom kernel for the eee pc on an 1000ha. I am running HPLIP 2.8.7 from the Ubuntu repositories. Everything works fine but the hplip system tray icon seems to use a large amount of resources under certain conditions.
The condition does not occur in Gnome but will occur occasionally in LXDE and most of the time in fluxbox.
The condtion is
When the hp system tray auto loads the icon will not show in the system tray but the process is running.
 If it is running the cpu usage will be be about 60% if I do not load it usage in the same situation without it running is less then 10%.

My workaround
I just disable it from running at startup and load it manually. When I load it manually the icon always appears and the process does not consume a large amount of cpu.

My thought is in fluxbox it is that the hp system tray icon is loading before the system tray is loaded by fluxbox by loading it manually after the system tray is up everything functions properly.

Thanks,

Fr. Robert Bower

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#1

We have a patch for another hp systray issue. Can you apply it and see if it corrects your problem?

The hplip-3.9.2-high_cpu_utilization_logout.patch file fixes the following issue.

1. Qt4 version 3.9.2 doesn't close from a switch user and uses high CPU.

How to apply the patch:
cd hplip-3.9.2
patch -p1 <
hplip-3.9.2-high_cpu_utilization_logout.patch
./configure --prefix=/usr
make clean
make
make install

Download:

http://sourceforge.net/project/showfiles.php?group_id=149981&package_id=165777&release_id=662527

Thanks.

Aaron

Revision history for this message
frrobert (frrobert) said :
#2

Quick question about the patch. I am running 2.8.7, will the patch work, since I am not running 3.9.2? Do I need to remove 2.8.7 and install 3.9.2? If I install 3.9.2 from the website will I need to apply the patch or does the source from the website already include the patch?

Thanks for all your help

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#3

Sorry I sorta missed that you where using 2.8.7 on fluxbox. My bad.

We don't actively test on fluxbox...but if it's possible could you try with 3.9.2?

If you download from the website you'll need to apply the patch before installing--this fix will be released a the next release of HPLIP.

Thanks.

A

Revision history for this message
frrobert (frrobert) said :
#4

The problem still exist with 3.9.2 with the patch.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#5

I haven't been able to reproduce this.

What I did:

Installed Ubuntu 8.10
Did an apt-get update, apt-get upgrade
installed fluxbox fluxconf fbpager fbdesk
rebooted, changed my session to fluxbox
downloaded HPLIP 3.9.2 and installed using the automatic installer.
Configure the printer (a network printer)
Ran hp-toolbox so that the systray is running and working.
Printed several hp-testpages to the printer while watching htop.
the hp-systray didn't take any more CPU time than I was expecting.
I also then ran ps ax | grep hp to make sure that the systray processes are running and indeed they are.

So I'm not sure if this helps but it might give you some hints. As a side note I haven't used Fluxbox before but I like it thanks.

Hope this helps..

Aaron

Can you help with this problem?

Provide an answer of your own, or ask frrobert for more information if necessary.

To post a message you must log in.