[Gnome] Cups ralenti tout mon système (abandon)

Xorg, Compiz, KDE / Gnome / Xfce / Fluxbox / e17 / fvwm ... GDM/KDM/XDM...
Avatar de l’utilisateur
Ichigo-Roku
yeomen
Messages : 259
Inscription : jeu. 04 févr. 2010, 19:15

[Gnome] Cups ralenti tout mon système (abandon)

Message par Ichigo-Roku »

Bonjour,

J'ai un gros souci, lorsque je rentre mon mot de passe Gnome met au moins une minute pour m'afficher mon bureau. Il met presque deux autres minutes pour m'afficher mon wallpaper.

Sur Firefox ou d'autres logiciels je n'ai pas de souci mais dans les settings de Gnome c'est lent... Dans la console lorsque je me connecte ou déconnecte de root, c'est lent.

Tout ceci vient de Cups, mais pourquoi ?

Merci d'avance.

PS : Sûrement à déplacer dans la bonne section, au départ je ne savais pas que ça venait de Cups, je pensais que ça venais de Gnome.
Dernière modification par Ichigo-Roku le dim. 16 déc. 2012, 22:37, modifié 1 fois.
Macbook Pro Retina 13" late-2014 (Archlinux + OS X Yosemite)
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [Gnome] Cups ralenti tout mon système

Message par FoolEcho »

Salut,

À voir si tu trouves des choses intéressantes dans les différents journaux (systemctl status cups, journalctl ou log de session).
Le problème survient aussi après démarrage de cups pendant ta session ?
«The following statement is not true. The previous statement is true.» :nage:
Avatar de l’utilisateur
Ichigo-Roku
yeomen
Messages : 259
Inscription : jeu. 04 févr. 2010, 19:15

Re: [Gnome] Cups ralenti tout mon système

Message par Ichigo-Roku »

Il y a l'air d'y avoir quelques soucis :

Code : Tout sélectionner

systemctl status cups
cups.service - CUPS Printing Service
	  Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
	  Active: failed (Result: start-limit) since Sat, 2012-12-15 10:38:00 CET; 2s ago
	 Process: 1023 ExecStart=/usr/sbin/cupsd -f (code=dumped, signal=ABRT)
	  CGroup: name=systemd:/system/cups.service

Dec 15 10:37:59 archlinux systemd[1]: cups.service: main process exited, code=dumped, status=6/ABRT
Dec 15 10:37:59 archlinux systemd[1]: Unit cups.service entered failed state
Dec 15 10:37:59 archlinux systemd[1]: Starting CUPS Printing Service...
Dec 15 10:37:59 archlinux systemd[1]: Started CUPS Printing Service.
Dec 15 10:37:59 archlinux systemd-coredump[1017]: Process 1015 (cupsd) dumped core.
Dec 15 10:37:59 archlinux systemd[1]: cups.service: main process exited, code=dumped, status=6/ABRT
Dec 15 10:37:59 archlinux systemd[1]: Unit cups.service entered failed state
Dec 15 10:37:59 archlinux systemd[1]: Starting CUPS Printing Service...
Dec 15 10:37:59 archlinux systemd[1]: Started CUPS Printing Service.
Dec 15 10:37:59 archlinux systemd-coredump[1021]: Process 1019 (cupsd) dumped core.
Dec 15 10:37:59 archlinux systemd[1]: cups.service: main process exited, code=dumped, status=6/ABRT
Dans journalctl j'ai une ligne qui se répète pas mal de fois, au moins 50 fois toutes les dix secondes :

Code : Tout sélectionner

Dec 14 23:09:04 archlinux systemd[1]: cups.service start request repeated too quickly, refusing to start.
Si je démarre cups après être connecté non pas de problème. Par contre quand je l'active automatiquement il active deux autres trucs :

Code : Tout sélectionner

systemctl enable cups
ln -s '/usr/lib/systemd/system/cups.service' '/etc/systemd/system/printer.target.wants/cups.service'
ln -s '/usr/lib/systemd/system/cups.socket' '/etc/systemd/system/sockets.target.wants/cups.socket'
ln -s '/usr/lib/systemd/system/cups.path' '/etc/systemd/system/multi-user.target.wants/cups.path'
Quand j'ai installé cups pas de problème car j'ai imprimé une page de test et là il devient un peu fou...
Macbook Pro Retina 13" late-2014 (Archlinux + OS X Yosemite)
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [Gnome] Cups ralenti tout mon système

Message par FoolEcho »

Et dans les logs propres à cups ? (/var/log/cups/)
«The following statement is not true. The previous statement is true.» :nage:
Avatar de l’utilisateur
Ichigo-Roku
yeomen
Messages : 259
Inscription : jeu. 04 févr. 2010, 19:15

Re: [Gnome] Cups ralenti tout mon système

Message par Ichigo-Roku »

Code : Tout sélectionner

cat /var/log/cups/error_log
W [15/Dec/2012:10:53:14 +0100] AddProfile failed: org.freedesktop.DBus.Error.UnknownMethod:No such interface `org.freedesktop.ColorManager' on object at path /org/freedesktop/ColorManager/devices/cups_HP_Photosmart_C3100_series
E [15/Dec/2012:10:53:14 +0100] Unable to communicate with avahi-daemon: Daemon not running
W [15/Dec/2012:10:53:14 +0100] AddProfile failed: org.freedesktop.DBus.Error.UnknownMethod:No such interface `org.freedesktop.ColorManager' on object at path /org/freedesktop/ColorManager/devices/cups_HP_Photosmart_C3100_series
W [15/Dec/2012:10:53:14 +0100] AddProfile failed: org.freedesktop.DBus.Error.UnknownMethod:No such interface `org.freedesktop.ColorManager' on object at path /org/freedesktop/ColorManager/devices/cups_HP_Photosmart_C3100_series
E [15/Dec/2012:10:53:23 +0100] Unable to communicate with avahi-daemon: Daemon not running

Code : Tout sélectionner

cat /var/log/cups/access_log 
localhost - - [14/Dec/2012:21:57:19 +0100] "POST /admin/ HTTP/1.1" 200 60 - -
localhost - - [14/Dec/2012:21:57:19 +0100] "POST / HTTP/1.1" 401 91 CUPS-Get-Devices successful-ok
localhost - - [14/Dec/2012:21:57:19 +0100] "POST /admin/ HTTP/1.1" 401 60 - -
localhost - - [14/Dec/2012:21:57:19 +0100] "POST /admin/ HTTP/1.1" 200 60 - -
localhost - root [14/Dec/2012:21:57:24 +0100] "POST /admin/ HTTP/1.1" 200 60 - -
localhost - - [14/Dec/2012:21:57:24 +0100] "POST / HTTP/1.1" 401 91 CUPS-Get-Devices successful-ok
localhost - root [14/Dec/2012:21:57:24 +0100] "POST / HTTP/1.1" 200 2336 CUPS-Get-Devices -
localhost - root [14/Dec/2012:21:57:24 +0100] "POST /admin/ HTTP/1.1" 200 3463 - -
localhost - - [14/Dec/2012:21:57:30 +0100] "POST /admin HTTP/1.1" 200 191 - -
localhost - - [14/Dec/2012:21:57:30 +0100] "POST /admin HTTP/1.1" 200 3557 - -
localhost - - [14/Dec/2012:21:57:35 +0100] "POST /admin HTTP/1.1" 200 356 - -
localhost - - [14/Dec/2012:21:57:35 +0100] "POST / HTTP/1.1" 200 1541339 CUPS-Get-PPDs -
localhost - - [14/Dec/2012:21:57:35 +0100] "POST /admin HTTP/1.1" 200 403781 - -
localhost - - [14/Dec/2012:21:57:54 +0100] "POST /admin HTTP/1.1" 200 2103 - -
localhost - - [14/Dec/2012:21:57:54 +0100] "POST /admin/ HTTP/1.1" 401 437 CUPS-Add-Modify-Printer successful-ok
localhost - - [14/Dec/2012:21:57:54 +0100] "POST /admin HTTP/1.1" 401 2103 - -
localhost - - [14/Dec/2012:21:57:54 +0100] "POST /admin HTTP/1.1" 200 2103 - -
localhost - root [14/Dec/2012:21:57:54 +0100] "POST /admin HTTP/1.1" 200 2103 - -
localhost - - [14/Dec/2012:21:57:54 +0100] "POST /admin/ HTTP/1.1" 401 437 CUPS-Add-Modify-Printer successful-ok
localhost - root [14/Dec/2012:21:57:54 +0100] "POST /admin/ HTTP/1.1" 200 437 CUPS-Add-Modify-Printer successful-ok
localhost - root [14/Dec/2012:21:57:54 +0100] "POST /admin HTTP/1.1" 200 12640 - -
localhost - root [14/Dec/2012:21:57:56 +0100] "POST /admin HTTP/1.1" 200 367 - -
localhost - - [14/Dec/2012:21:57:56 +0100] "POST /admin/ HTTP/1.1" 401 24025 CUPS-Add-Modify-Printer successful-ok
localhost - root [14/Dec/2012:21:57:56 +0100] "POST /admin/ HTTP/1.1" 200 24025 CUPS-Add-Modify-Printer successful-ok
localhost - root [14/Dec/2012:21:57:56 +0100] "POST /admin HTTP/1.1" 200 2403 - -
localhost - - [14/Dec/2012:21:58:26 +0100] "POST /printers/HP_Photosmart_C3100_series HTTP/1.1" 200 11448 Print-Job successful-ok
localhost - - [14/Dec/2012:22:16:38 +0100] "POST / HTTP/1.1" 200 190 Renew-Subscription client-error-not-found
localhost - - [14/Dec/2012:22:16:38 +0100] "POST / HTTP/1.1" 200 351 Create-Printer-Subscription successful-ok
localhost - - [14/Dec/2012:22:16:38 +0100] "POST / HTTP/1.1" 200 3592682 CUPS-Get-PPDs -
localhost - - [14/Dec/2012:22:16:57 +0100] "POST / HTTP/1.1" 200 159 Cancel-Subscription successful-ok
localhost - - [14/Dec/2012:22:16:57 +0100] "POST / HTTP/1.1" 200 159 Cancel-Subscription client-error-not-found
localhost - - [14/Dec/2012:22:29:33 +0100] "POST / HTTP/1.1" 200 367 Create-Printer-Subscription successful-ok
localhost - - [14/Dec/2012:22:50:51 +0100] "POST / HTTP/1.1" 200 190 Renew-Subscription client-error-not-found
localhost - - [14/Dec/2012:22:50:51 +0100] "POST / HTTP/1.1" 200 351 Create-Printer-Subscription successful-ok
localhost - - [14/Dec/2012:22:50:51 +0100] "POST / HTTP/1.1" 200 3592682 CUPS-Get-PPDs -
localhost - - [14/Dec/2012:22:51:18 +0100] "POST / HTTP/1.1" 200 159 Cancel-Subscription successful-ok
localhost - - [14/Dec/2012:22:51:18 +0100] "POST / HTTP/1.1" 200 159 Cancel-Subscription client-error-not-found
localhost - - [14/Dec/2012:23:03:47 +0100] "POST /admin HTTP/1.1" 200 111 - -
localhost - - [14/Dec/2012:23:03:47 +0100] "PUT /admin/conf/cupsd.conf HTTP/1.1" 401 0 - -
localhost - - [14/Dec/2012:23:03:47 +0100] "POST /admin HTTP/1.1" 401 111 - -
localhost - - [14/Dec/2012:23:03:47 +0100] "POST /admin HTTP/1.1" 200 111 - -
localhost - root [14/Dec/2012:23:03:52 +0100] "POST /admin HTTP/1.1" 200 111 - -
localhost - - [14/Dec/2012:23:03:52 +0100] "PUT /admin/conf/cupsd.conf HTTP/1.1" 401 0 - -
localhost - root [14/Dec/2012:23:03:52 +0100] "PUT /admin/conf/cupsd.conf HTTP/1.1" 201 3181 - -
localhost - root [14/Dec/2012:23:03:52 +0100] "POST /admin HTTP/1.1" 200 2069 - -
Il manque peut-être avahi-daemon ?
Macbook Pro Retina 13" late-2014 (Archlinux + OS X Yosemite)
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [Gnome] Cups ralenti tout mon système

Message par FoolEcho »

Pas besoin d'avahi à moins qu'une imprimante réseau.
... ça me paraît étrange cependant qu'il y fasse référence... :|

Par contre, a priori, c'est lié à ça:
Ichigo-Roku a écrit :

Code : Tout sélectionner

localhost - - [14/Dec/2012:22:16:38 +0100] "POST / HTTP/1.1" 200 3592682 CUPS-Get-PPDs -
localhost - - [14/Dec/2012:22:16:57 +0100] "POST / HTTP/1.1" 200 159 Cancel-Subscription successful-ok
localhost - - [14/Dec/2012:22:16:57 +0100] "POST / HTTP/1.1" 200 159 Cancel-Subscription client-error-not-found
localhost - - [14/Dec/2012:22:29:33 +0100] "POST / HTTP/1.1" 200 367 Create-Printer-Subscription successful-ok
localhost - - [14/Dec/2012:22:50:51 +0100] "POST / HTTP/1.1" 200 190 Renew-Subscription client-error-not-found
localhost - - [14/Dec/2012:22:50:51 +0100] "POST / HTTP/1.1" 200 351 Create-Printer-Subscription successful-ok
As-tu essayé de réinstaller ton imprimante ou de recompiler ses pilotes/ppds si tu en as besoin.
«The following statement is not true. The previous statement is true.» :nage:
Avatar de l’utilisateur
Ichigo-Roku
yeomen
Messages : 259
Inscription : jeu. 04 févr. 2010, 19:15

Re: [Gnome] Cups ralenti tout mon système

Message par Ichigo-Roku »

Non, j'ai simplement ajouté mon imprimante à cups et imprimé une page de test.
Macbook Pro Retina 13" late-2014 (Archlinux + OS X Yosemite)
Répondre