You are not logged in.

#1 2014-12-05 06:04:17

dr-kart
Member
Registered: 2011-01-09
Posts: 50

[SOLVED] cupsd 100% CPU load

Right after start my cupsd loads cpu completely
The only printer connected Canon mp 280
aaf6f9fa87f75fd2a1b7c892d44897ba.jpg
http://www.fotolink.su/v.php?id=aaf6f9f … 92d44897ba

Last edited by dr-kart (2014-12-09 07:52:22)

Offline

#2 2014-12-05 06:16:20

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] cupsd 100% CPU load

What is in the journal?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-12-05 06:28:32

dr-kart
Member
Registered: 2011-01-09
Posts: 50

Re: [SOLVED] cupsd 100% CPU load

from "dmesg" I can only see this:
usb 2-5: device descriptor read/all, error -71

but lsusb gives:
Bus 002 Device 002: ID 04a9:1746 Canon, Inc.

(or what's another journal I'd find?)

Offline

#4 2014-12-05 06:34:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] cupsd 100% CPU load


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-12-05 06:59:20

fennectech
Member
From: /home/fennectech/
Registered: 2014-06-04
Posts: 169

Re: [SOLVED] cupsd 100% CPU load

dr-kart   can you run dmesg and give us the output   please use the code tags  [ code] [ /code]
but it looks like a fouled up usb device    what do you have plugged in?    possably a printer that is a compound usb device and one of them is throwing a fit for linux?


[FennecTECH@ArchOS ~]$ cat about_myself
Hello there my name is FennecTECH I am a novice arch user though I am here to learn  I live in central Minnesota where I hangout in the console and make my way into X11. Nice to meet you all! Enjoy my home directory feel free to poke around. There is a solution to every problem, so long as you do not break the laws of physics.
=^_^=
[FennecTECH@ArchOS ~]$

Offline

#6 2014-12-05 07:03:15

fennectech
Member
From: /home/fennectech/
Registered: 2014-06-04
Posts: 169

Re: [SOLVED] cupsd 100% CPU load

OH  seeing now that i msread cups for cpus   this is definitly your printer throwing a fit for linux    when did it start    have the prrinter ever worked before on your current setup or a previous LINUX setup?


[FennecTECH@ArchOS ~]$ cat about_myself
Hello there my name is FennecTECH I am a novice arch user though I am here to learn  I live in central Minnesota where I hangout in the console and make my way into X11. Nice to meet you all! Enjoy my home directory feel free to poke around. There is a solution to every problem, so long as you do not break the laws of physics.
=^_^=
[FennecTECH@ArchOS ~]$

Offline

#7 2014-12-05 07:54:01

dr-kart
Member
Registered: 2011-01-09
Posts: 50

Re: [SOLVED] cupsd 100% CPU load

fennectech wrote:

OH  seeing now that i msread cups for cpus   this is definitly your printer throwing a fit for linux    when did it start    have the prrinter ever worked before on your current setup or a previous LINUX setup?

Printer worked before.
I have noticed that issue recently. And this is not happening with printer-cable unplugged

Last edited by dr-kart (2014-12-05 08:01:46)

Offline

#8 2014-12-05 08:02:36

dr-kart
Member
Registered: 2011-01-09
Posts: 50

Re: [SOLVED] cupsd 100% CPU load

journalctl -b:
udev-configure-printer[904]: no corresponding CUPS device found

Offline

#9 2014-12-05 08:06:20

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] cupsd 100% CPU load

Did you actually read that page?

wiki page wrote:

Show all messages by a specific unit:
# journalctl -u netcfg

Or

systemctl status -l org.cups.cupsd

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2014-12-05 08:08:54

dr-kart
Member
Registered: 2011-01-09
Posts: 50

Re: [SOLVED] cupsd 100% CPU load

now "systemctl status -l org.cups.cupsd" gives:

● org.cups.cupsd.service - CUPS Scheduler
   Loaded: loaded (/usr/lib/systemd/system/org.cups.cupsd.service; disabled)
   Active: active (running) since Птн 2014-12-05 09:57:43 EET; 10min ago
     Docs: man:cupsd(8)
Main PID: 934 (cupsd)
   CGroup: /system.slice/org.cups.cupsd.service
           └─934 /usr/bin/cupsd -l

Offline

#11 2014-12-05 08:12:08

dr-kart
Member
Registered: 2011-01-09
Posts: 50

Re: [SOLVED] cupsd 100% CPU load

... and as I can see now - such cpu OVERload lasts for 5-7 minutes from start.

...and "cupsd -l" is to blame (as shown on pic above)

Last edited by dr-kart (2014-12-05 08:13:06)

Offline

#12 2014-12-05 08:12:26

fennectech
Member
From: /home/fennectech/
Registered: 2014-06-04
Posts: 169

Re: [SOLVED] cupsd 100% CPU load

did this happen at the same time you applyed an update   or after restarting after updating  or did it seemingly come out of nowhere  also the dmesg will give you a massive ammount of spam   so pastebin it for us    do dmesg > log   ittl create a file called log in your current directory     we all know terminal emulators have a scrollback limint


[FennecTECH@ArchOS ~]$ cat about_myself
Hello there my name is FennecTECH I am a novice arch user though I am here to learn  I live in central Minnesota where I hangout in the console and make my way into X11. Nice to meet you all! Enjoy my home directory feel free to poke around. There is a solution to every problem, so long as you do not break the laws of physics.
=^_^=
[FennecTECH@ArchOS ~]$

Offline

#13 2014-12-05 08:15:30

dr-kart
Member
Registered: 2011-01-09
Posts: 50

Re: [SOLVED] cupsd 100% CPU load

fennectech wrote:

did this happen at the same time you applyed an update   or after restarting after updating  or did it seemingly come out of nowhere  also the dmesg will give you a massive ammount of spam   so pastebin it for us    do dmesg > log   ittl create a file called log in your current directory     we all know terminal emulators have a scrollback limint

definately it has started from recent update!
But right now I'm on 3.16 core. And I do have an issue now. And I did have it on my previous 3.12 core.
And (!) I did NOT have it earlier on 3.12 core. So it started maybe a week ago

Last edited by dr-kart (2014-12-05 08:19:14)

Offline

#14 2014-12-05 08:29:55

dr-kart
Member
Registered: 2011-01-09
Posts: 50

Re: [SOLVED] cupsd 100% CPU load

... and as a result of hard cpu load: I'm having:
kernel: CPU0: Core temperature above threshold, cpu clock throttled (total events = 1)

Which wasn't happening before.

Last edited by dr-kart (2014-12-05 08:30:34)

Offline

#15 2014-12-05 08:35:19

fennectech
Member
From: /home/fennectech/
Registered: 2014-06-04
Posts: 169

Re: [SOLVED] cupsd 100% CPU load

a dirty work arround would probally be to downgrade cups    there was a problem with a simular solution     what was the previous version of cups     did you keep the -Syu log?
so we can know what version broke it?


[FennecTECH@ArchOS ~]$ cat about_myself
Hello there my name is FennecTECH I am a novice arch user though I am here to learn  I live in central Minnesota where I hangout in the console and make my way into X11. Nice to meet you all! Enjoy my home directory feel free to poke around. There is a solution to every problem, so long as you do not break the laws of physics.
=^_^=
[FennecTECH@ArchOS ~]$

Offline

#16 2014-12-05 08:44:44

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [SOLVED] cupsd 100% CPU load

Offline

#17 2014-12-05 10:13:09

dr-kart
Member
Registered: 2011-01-09
Posts: 50

Re: [SOLVED] cupsd 100% CPU load

dziękuję

100% my case

Offline

#18 2014-12-05 10:33:03

dr-kart
Member
Registered: 2011-01-09
Posts: 50

Re: [SOLVED] cupsd 100% CPU load

after https://bbs.archlinux.org/viewtopic.php?id=189261
I did:
#systemctl disable cupsd.service
#systemctl enable org.cups.cupsd.service

Still problem not solved.
But I can see one difference
Now:

● org.cups.cupsd.service - CUPS Scheduler
   Loaded: loaded (/usr/lib/systemd/system/org.cups.cupsd.service; enabled)
   Active: active (running) since Птн 2014-12-05 12:26:29 EET; 1min 5s ago
     Docs: man:cupsd(8)
Main PID: 855 (cupsd)
   CGroup: /system.slice/org.cups.cupsd.service
           └─855 /usr/bin/cupsd -l


unlike before, service is "enabled" by now

Offline

#19 2014-12-05 13:31:44

fennectech
Member
From: /home/fennectech/
Registered: 2014-06-04
Posts: 169

Re: [SOLVED] cupsd 100% CPU load

so there is still cpu pinning over there?    have you tried downgrading to an older version of cups?


[FennecTECH@ArchOS ~]$ cat about_myself
Hello there my name is FennecTECH I am a novice arch user though I am here to learn  I live in central Minnesota where I hangout in the console and make my way into X11. Nice to meet you all! Enjoy my home directory feel free to poke around. There is a solution to every problem, so long as you do not break the laws of physics.
=^_^=
[FennecTECH@ArchOS ~]$

Offline

#20 2014-12-05 13:58:46

dr-kart
Member
Registered: 2011-01-09
Posts: 50

Re: [SOLVED] cupsd 100% CPU load

fennectech wrote:

so there is still cpu pinning over there?    have you tried downgrading to an older version of cups?

no I haven't
Actually I don't want to downgrade
And I think this can be called a bug. No?

Offline

#21 2014-12-05 14:02:45

fennectech
Member
From: /home/fennectech/
Registered: 2014-06-04
Posts: 169

Re: [SOLVED] cupsd 100% CPU load

oh msot definitly a bug   but if you need to use cups   you can downgrade until its fixed   probally in the next coupple updates    i had to do that with the kernel not too long ago! else you can systemctl disable cups


[FennecTECH@ArchOS ~]$ cat about_myself
Hello there my name is FennecTECH I am a novice arch user though I am here to learn  I live in central Minnesota where I hangout in the console and make my way into X11. Nice to meet you all! Enjoy my home directory feel free to poke around. There is a solution to every problem, so long as you do not break the laws of physics.
=^_^=
[FennecTECH@ArchOS ~]$

Offline

#22 2014-12-05 18:24:51

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] cupsd 100% CPU load

fennectech wrote:

oh msot definitly a bug   but if you need to use cups   you can downgrade until its fixed   probally in the next coupple updates    i had to do that with the kernel not too long ago! else you can systemctl disable cups

Please stop posting where you clearly have no idea what you are talking about. Also, English is clearly not your mother tongue, but make some effort to use basic sentence structure and punctuation: your posts are almost unintelligble.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#23 2014-12-06 00:45:53

john29
Member
Registered: 2014-11-27
Posts: 29

Re: [SOLVED] cupsd 100% CPU load

Try this
systemctl disable cups.service
systemctl enable org.cups.cupsd.service
systemctl daemon-reload
systemctl start org.cups.cupsd.service

Offline

#24 2014-12-07 11:16:03

dr-kart
Member
Registered: 2011-01-09
Posts: 50

Re: [SOLVED] cupsd 100% CPU load

john29 wrote:

systemctl disable cups.service
systemctl enable org.cups.cupsd.service
systemctl daemon-reload
systemctl start org.cups.cupsd.service

the same

Offline

#25 2014-12-09 07:51:57

dr-kart
Member
Registered: 2011-01-09
Posts: 50

Re: [SOLVED] cupsd 100% CPU load

https://bugs.archlinux.org/task/42666

SOLUTION
to modify  /etc/cups/client.conf
remove ServerName /run/cups/cups.sock and replace it with ServerName localhost:631

Offline

Board footer

Powered by FluxBB