|
Bugzilla – Full Text Bug Listing |
| Summary: | 'y2base printer qt' command takes 100% CPU usage | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.2 | Reporter: | A Nagappan <anagappan> |
| Component: | YaST2 | Assignee: | Michal Zugec <mzugec> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | andreas.hanke |
| Version: | RC 5 | ||
| Target Milestone: | --- | ||
| Hardware: | i686 | ||
| OS: | SUSE Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | ppd_db.ycp | ||
|
Description
A Nagappan
2006-12-13 06:07:39 UTC
Yes, please attach all the yast logs (http://en.opensuse.org/Bugs/YaST), the /var/log/messages, output of the 'hwinfo --printer' and if possible, try to run 'top' while executing the 'y2base printer qt' and find a process with the most CPU usage. Thank you. Printer is a network printer.
nags:/var/lib/YaST2 # cat printers
$[
"cups_usb_devices" : `always,
"drivers_were_installed" : true,
"printers" : [
$[
"ff" : false,
"name" : "printer",
"raw" : false,
"uri" : "socket://164.99.152.7:9100"
]
],
"version" : 523
]
When 'y2base printer qt' is invoked, in the GUI I could see the following...
'Checking database of printers...' it stops at 40 % and pops up a new dialog and that stops at 4% with the following message.
'The list of installed drivers has changed.
Building database of drivers...'
Top shows: 22902 root 15 0 81688 31m 17m S 97.5 1.5 10:19.69 y2base 22848 ? Sl 0:00 gnomesu -- /sbin/yast2 22853 ? S 0:00 /opt/gnome/lib/libgnomesu/gnomesu-pam-backend 20 19 root /sbin/yast2 22859 ? S 0:00 /bin/bash /sbin/yast2 22879 ? S 0:00 /usr/lib/YaST2/bin/y2controlcenter 22881 ? S 0:00 /bin/bash /sbin/yast2 printer 22902 ? Sl 12:40 /usr/lib/YaST2/bin/y2base printer qt 22932 ? S 0:00 /bin/bash /usr/lib/YaST2/servers_non_y2/ag_initscripts Unable to attach the YaST2 log as the file size is 6.0 MB. Uploaded to http://people.freedesktop.org/~nagappan/y2logs.tgz nags:/var/lib/YaST2 # top top - 16:00:04 up 5:55, 5 users, load average: 1.38, 1.12, 0.70 Tasks: 129 total, 3 running, 125 sleeping, 0 stopped, 1 zombie Cpu(s): 76.3%us, 23.7%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 2068180k total, 1961676k used, 106504k free, 362456k buffers Swap: 2096440k total, 0k used, 2096440k free, 724348k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 22902 root 15 0 81688 31m 17m S 97.5 1.5 10:19.69 y2base greped output from 'ps ax' 22848 ? Sl 0:00 gnomesu -- /sbin/yast2 22853 ? S 0:00 /opt/gnome/lib/libgnomesu/gnomesu-pam-backend 20 19 root /sbin/yast2 22859 ? S 0:00 /bin/bash /sbin/yast2 22879 ? S 0:00 /usr/lib/YaST2/bin/y2controlcenter 22881 ? S 0:00 /bin/bash /sbin/yast2 printer 22902 ? Sl 12:40 /usr/lib/YaST2/bin/y2base printer qt 22932 ? S 0:00 /bin/bash /usr/lib/YaST2/servers_non_y2/ag_initscripts couldn't reproduce with same network printer provide please /var/lib/YaST2/ppd_db.ycp file please after remove that file it works ok? Created attachment 109742 [details]
ppd_db.ycp
After removing the file, the bug is gone ! Closing the bug. (In reply to comment #7) > After removing the file, the bug is gone ! Closing the bug. That is a workaround and not a fix. You're right, Andreas But I couldn't reproduce it on my machine In that case it would be a WORKSFORME rather than FIXED ;-) That is because A Nagapaan close it, not me. And I'm waiting for his answer about HW configuration (proabably some x86_64 related bug or something) via IM (I know, I know - bugzilla is for that purpose, but this is much faster ;-) ) Couldn't reproduce on the same architecture as reporter (i586) Whenever the driver database changed (on package upgrade) and on opening YaST2 printer interface, CPU goes to 100% and I have to manually remove the file /var/lib/YaST2/ppd_db.ycp. On restarting the YaST2 printer service, things work fine. Hence reopening the bug. This was already fixed What is your yast2-printer version? yast2-printer-2.14.15-3 This is already fixed for trunk and there was online update for 10.2 I see 2.14.20 available via online update *** This bug has been marked as a duplicate of bug 229231 *** |