[Bug 241514] New: zmd package management gets slower and slower, and becomes useless
https://bugzilla.novell.com/show_bug.cgi?id=241514 Summary: zmd package management gets slower and slower, and becomes useless Product: openSUSE 10.2 Version: Final Platform: i686 OS/Version: Other Status: NEW Keywords: ZEN Severity: Major Priority: P5 - None Component: Zenworks AssignedTo: zlm-code10-bugs@forge.provo.novell.com ReportedBy: awheeler@royall.com QAContact: sarifulla@novell.com Every time the zmd process awakens from sleep, or is restarted, it gets quite a bit slower, to the point where it cannot be used. A little research reveals that this is an RCE service specific issue. Specifically, the zmd.db file grows with each awakening, or restart. Further research revealed that all the RCE package information was being re-inserted into the sqlite database, resulting in multiple copies. So, after first adding the RCE service, there would be 1 copy. After restarting, there would be 2 copies, and so on. Looking into the code, in the file modules/linux/RCEPackage.cs, the following is written: public RCEPackage () { InDatabase = false; } It seemed this could be the cause. I rebuilt the program, setting this value to true, and the problem disappeared. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241514 visnov@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241514 ------- Comment #1 from larsno1@comhem.se 2007-03-14 03:26 MST ------- I experience the same thing here on two machines (32-bit) with openSUSE 10.2 (the download version). It's rather disturbing to see how the update process takes longer and longer and longer for each and every day -- after a couple of weeks it takes approx. half an hour to update the system, and during that time the CPU usage is at least 50%. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241514 ------- Comment #2 from awheeler@royall.com 2007-03-14 09:33 MST ------- My initial fix of changing the true value to false in the source introduces bigger problems, so I'm using the following workaround instead until this is fixed: 1) Disabling sleep: This seems like a good idea anyway, I don't see the benefit of sleep. In the file /etc/zmd/zmd.conf, in the Server section, I added: sleep-interval=0 2) Editing the startup config file to delete the entire zmd.db file on start. Amazingly, this is considerably faster than waking up zmd from sleep. I added the following line to the start section: rm -f /var/lib/zmd/zmd.db This is not a pretty fix, but it makes zmd a reasonable thing to use. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241514 ------- Comment #3 from larsno1@comhem.se 2007-03-20 07:02 MST ------- I deleted '/var/lib/zmd/zmd.db' and '/var/lib/zmd/zypp-owned-catalogs' and ran YaST - Change Installation Source (sync with Zen) and re-booted and after that it seems to work OK. The update process takes a couple of minutes instead of nearly half an hour. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241514 judas_iscariote@shorewall.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thorsten.staerk@sap.com ------- Comment #4 from judas_iscariote@shorewall.net 2007-03-20 12:26 MST ------- *** Bug 255974 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=241514 Stanislav Visnovsky <visnov@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |visnov@novell.com Priority|P2 - High |P1 - Urgent -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=241514#c5 --- Comment #5 from Thorsten Staerk <thorsten.staerk@sap.com> 2007-09-28 03:01:05 MST --- In Bug 255974, I point out the fact that it is especially sad that updates worked perfectly in earlier versions. This is a regression bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=241514#c6 Rashmi Ranjan Mohanty <mrashmiranjan@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrashmiranjan@novell.com Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #6 from Rashmi Ranjan Mohanty <mrashmiranjan@novell.com> 2007-10-10 03:32:44 MST --- Zenworks is no more part of OpenSUSE ... The database re-insertion problem does not happen in SLE10 SP1. So marking this as resolved. Please re-open if still see the zmd.db growing after each wake up in SLE10 SP1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com