Bug 231258

Summary: ZMD sucks the cpu power at boot-up and during refresh
Product: [openSUSE] openSUSE 10.2 Reporter: Fatih Alabas <f.alabas>
Component: ZenworksAssignee: E-mail List <zlm-code10-bugs>
Status: RESOLVED DUPLICATE QA Contact: Forgotten User YrvzK78Vmi <forgotten_YrvzK78Vmi>
Severity: Major    
Priority: P1 - Urgent CC: aaronw, alberto.passalacqua, forgotten_42maXmOW7B, kkaempf, rashmiranjan.mohanty
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on: 230673    
Bug Blocks:    

Description Fatih Alabas 2007-01-02 11:42:00 UTC
+++ This bug was initially created as a copy of Bug #230673 +++

After a normal boot or when refreshing, zmd tries to find the services and
refreshes the files, that's ok. But, during these operation zmd eats all the
CPU power of my machine and almost does not let another application work. So,
trying  to do some work during the zmd starting/refreshing is fooling. My 1.8
GHz Turion 64 with 1 GByte RAM and 128 MByte ATI collapses.
Comment 1 Alberto Passalacqua 2007-01-27 20:06:04 UTC
I confirm this bug, which is serious and really annoying. The update_status process uses 100% of the CPU for a long time immediately after boot and while refreshing sources.
Comment 2 Alberto Passalacqua 2007-02-06 19:19:33 UTC
No news on this one? At each boot zmd's update-status goes crazy and uses the whole CPU for a lot of time (while it doesn't on SLED!) and it's unacceptable especially on mobile systems!
Comment 3 ferdinand gassauer 2007-03-07 22:42:52 UTC
changing ZMD_BIN to "nice ..."

/etc/init.d/novell-zmd
ZMD_BIN='nice /usr/sbin/zmd'

see https://bugzilla.novell.com/show_bug.cgi?id=243998
Comment 4 Bryce Nesbitt 2007-03-10 03:52:48 UTC
Yeah I see that too...
Comment 5 Iron Bone 2007-03-18 10:08:27 UTC
I confirm this bug. At me, update-status takes 99% CPU for more them 1h after login.
Comment 6 Aaron Williams 2007-08-16 23:19:19 UTC
I see this on my desktop. My 2.7GHz Athlon64 often takes many minutes to do the update operation. I have seen zen take over 20 minutes, especially when additional repositories are added such as the KDE3, KDE community, KDE backports and others.

It is really annoying how slow zen is, even on fast hardware. On slower hardware it is unbearable.

Something is fundamentally wrong given the fact how slow it is.
Comment 7 Rashmi Ranjan Mohanty 2007-10-10 06:56:56 UTC

*** This bug has been marked as a duplicate of bug 219402 ***
Comment 8 Forgotten User 42maXmOW7B 2007-10-10 10:25:40 UTC
When trying to follow this I only get:

 You are not authorized to access bug #219402.

Please do not mark publicly viewable bugs as duplicates of secret ones.
As it stands, I cannot verify whether this is really a duplicate, nor if it is really resolved.
Comment 9 Rashmi Ranjan Mohanty 2007-10-10 11:41:51 UTC
I am sorry for that...

Well to summarize the bug # 219402 ....
zmd uses some helpers called parse-metadata and update-status which take lots of cpu during initialization. So as part of the fix we just re-nice these helpers so that it runs with low priority.

But unfortunately Zenworks is no more part of OpenSuSE ....
But it is still part of SuSE Linux Enterprise(SLE) 10 and the fix will be available only to SLE 10 customers.