[Bug 228148] New: 'y2base printer qt' command takes 100% CPU usage
https://bugzilla.novell.com/show_bug.cgi?id=228148 Summary: 'y2base printer qt' command takes 100% CPU usage Product: openSUSE 10.2 Version: RC 5 Platform: i686 OS/Version: UNIX Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: anagappan@novell.com QAContact: jsrain@novell.com 'y2base printer qt' command takes 100% CPU usage. The same system was working fine in Alpha and Beta builds. Reinstalled manufacturer-PPDs, but still no luck.
From /var/log/YaST2/y2log
2006-12-13 11:29:29 <1> nags(17157) [YCP] Printerdb.ycp:340 Checking foomatic database 2006-12-13 11:29:29 <1> nags(17157) [YCP] Printerdb.ycp:343 Database changed 2006-12-13 11:29:29 <1> nags(17157) [agent-ppd] PPDdb.cc(createdbThread):419 CreateDbThread started 2006-12-13 11:29:29 <1> nags(17157) [agent-ppd] PPDdb.cc(loadPrebuiltDatabase):1439 Database file parsed correctly by YCP parser 2006-12-13 11:29:29 <1> nags(17157) [agent-ppd] PPDdb.cc(loadPrebuiltDatabase):1670 Database contents is OK Additional info: Upgraded from OpenSuSE 10.2 Alpha builds to Beta and then to RC. Now having RC5. Checked with gnome-control-center -> Printers: printer icon displayed with configured 'printer name' and also one more string 'paused'. When I checked the printer properties, the status is 'Paused: /usr/lib/cups/backend/socket failed' nags:/var/log/cups # tail error_log I [13/Dec/2006:10:05:13 +0530] Configured for up to 100 clients. I [13/Dec/2006:10:05:13 +0530] Allowing up to 100 client connections per host. I [13/Dec/2006:10:05:13 +0530] Using policy "default" as the default! I [13/Dec/2006:10:05:13 +0530] Full reload is required. I [13/Dec/2006:10:05:14 +0530] Loaded MIME database from '/etc/cups': 36 types, 40 filters... I [13/Dec/2006:10:05:17 +0530] Loading job cache file "/var/cache/cups/job.cache"... I [13/Dec/2006:10:05:18 +0530] Full reload complete. I [13/Dec/2006:10:05:18 +0530] Listening to 127.0.0.1:631 on fd 0... I [13/Dec/2006:10:05:18 +0530] Listening to ::1:631 on fd 2... I [13/Dec/2006:10:05:18 +0530] Listening to /var/run/cups/cups.sock on fd 3... nags:/var/log/cups # tail access_log localhost - - [13/Dec/2006:11:40:50 +0530] "POST / HTTP/1.1" 200 411 Get-Printer-Attributes successful-ok localhost - - [13/Dec/2006:11:40:55 +0530] "POST / HTTP/1.1" 200 112 CUPS-Get-Default successful-ok localhost - - [13/Dec/2006:11:40:55 +0530] "POST / HTTP/1.1" 200 112 CUPS-Get-Printers successful-ok localhost - - [13/Dec/2006:11:40:55 +0530] "POST / HTTP/1.1" 200 411 Get-Printer-Attributes successful-ok localhost - - [13/Dec/2006:11:41:00 +0530] "POST / HTTP/1.1" 200 112 CUPS-Get-Default successful-ok localhost - - [13/Dec/2006:11:41:00 +0530] "POST / HTTP/1.1" 200 112 CUPS-Get-Printers successful-ok localhost - - [13/Dec/2006:11:41:00 +0530] "POST / HTTP/1.1" 200 411 Get-Printer-Attributes successful-ok localhost - - [13/Dec/2006:11:41:05 +0530] "POST / HTTP/1.1" 200 112 CUPS-Get-Default successful-ok localhost - - [13/Dec/2006:11:41:05 +0530] "POST / HTTP/1.1" 200 112 CUPS-Get-Printers successful-ok localhost - - [13/Dec/2006:11:41:05 +0530] "POST / HTTP/1.1" 200 411 Get-Printer-Attributes successful-ok nags:/var/log/cups # tail page_log printer nags 20 [29/Nov/2006:16:08:56 +0530] 3 1 - localhost printer nags 20 [29/Nov/2006:16:08:56 +0530] 4 1 - localhost printer nags 20 [29/Nov/2006:16:08:57 +0530] 5 1 - localhost printer nags 20 [29/Nov/2006:16:08:57 +0530] 6 1 - localhost printer nags 21 [04/Dec/2006:14:34:22 +0530] 1 1 - localhost printer nags 21 [04/Dec/2006:14:34:22 +0530] 2 1 - localhost printer nags 21 [04/Dec/2006:14:34:22 +0530] 3 1 - localhost printer nags 21 [04/Dec/2006:14:34:22 +0530] 4 1 - localhost printer nags 21 [04/Dec/2006:14:34:22 +0530] 5 1 - localhost printer nags 21 [04/Dec/2006:14:34:22 +0530] 6 1 - localhost Any other info shall I provide ? -- 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=228148 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |anagappan@novell.com OS/Version|UNIX Other |SuSE Other ------- Comment #1 from mhorvath@novell.com 2006-12-13 02:20 MST ------- 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. -- 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=228148 ------- Comment #2 from anagappan@novell.com 2006-12-13 03:24 MST ------- 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...' -- 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=228148 anagappan@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|anagappan@novell.com | ------- Comment #3 from anagappan@novell.com 2006-12-13 03:31 MST ------- 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 -- 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=228148 ------- Comment #4 from anagappan@novell.com 2006-12-13 03:38 MST ------- 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 -- 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=228148 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |mzugec@novell.com |screening@forge.provo.novell| |.com | Status|ASSIGNED |NEW -- 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=228148 mzugec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |anagappan@novell.com ------- Comment #5 from mzugec@novell.com 2006-12-14 07:24 MST ------- couldn't reproduce with same network printer provide please /var/lib/YaST2/ppd_db.ycp file please after remove that file it works ok? -- 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=228148 ------- Comment #6 from anagappan@novell.com 2006-12-14 07:35 MST ------- Created an attachment (id=109742) --> (https://bugzilla.novell.com/attachment.cgi?id=109742&action=view) ppd_db.ycp -- 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=228148 anagappan@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|anagappan@novell.com | Resolution| |FIXED ------- Comment #7 from anagappan@novell.com 2006-12-14 07:37 MST ------- After removing the file, the bug is gone ! Closing the 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=228148 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas.hanke@gmx-topmail.de Status|RESOLVED |REOPENED Resolution|FIXED | ------- Comment #8 from andreas.hanke@gmx-topmail.de 2006-12-14 07:45 MST ------- (In reply to comment #7)
After removing the file, the bug is gone ! Closing the bug.
That is a workaround and not a fix. -- 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=228148 ------- Comment #9 from mzugec@novell.com 2006-12-14 07:59 MST ------- You're right, Andreas But I couldn't reproduce it on my machine -- 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=228148 ------- Comment #10 from andreas.hanke@gmx-topmail.de 2006-12-14 08:01 MST ------- In that case it would be a WORKSFORME rather than FIXED ;-) -- 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=228148 ------- Comment #11 from mzugec@novell.com 2006-12-14 08:06 MST ------- 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 ;-) ) -- 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=228148 mzugec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |WORKSFORME ------- Comment #12 from mzugec@novell.com 2006-12-15 11:10 MST ------- Couldn't reproduce on the same architecture as reporter (i586) -- 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=228148 anagappan@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | ------- Comment #13 from anagappan@novell.com 2007-05-14 22:18 MST ------- 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. -- 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=228148 mzugec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |anagappan@novell.com ------- Comment #14 from mzugec@novell.com 2007-05-15 00:19 MST ------- This was already fixed What is your yast2-printer version? -- 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=228148 anagappan@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED Info Provider|anagappan@novell.com | ------- Comment #15 from anagappan@novell.com 2007-05-15 00:34 MST ------- yast2-printer-2.14.15-3 -- 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=228148 mzugec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |DUPLICATE ------- Comment #16 from mzugec@novell.com 2007-05-15 02:30 MST ------- 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 *** -- 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.
participants (1)
-
bugzilla_noreply@novell.com