FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 07-28-2008, 04:05 PM
Dan Halbert
 
Default cupsd takes 100% of cpu

I have never been able to get cups to work properly since CentOS 4.x
(and am now on 5.2).


When I try to "service start cups", cupsd immediately starts taking 100%
of the cpu. Attaching strace to it shows no system calls happening. I
have tried uninstalling and reinstalling cups to get fresh config files.
My printers.conf is empty.


This is on a completely updated x86_64 CentOS 5.2 desktop system running
gnome. There are no local printers attached the the box. We have a
couple of networked HP printers and a Canon. I have not added any of
these printers to the configuration. A lot of Googling has not turned up
any help. Have you seen this problem? Any suggestions?


Thanks much,
Dan
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-28-2008, 04:29 PM
"kapil singh"
 
Default cupsd takes 100% of cpu

Hello,

have you installed fresh centos 5.2 or upgraded it from previous one ?
it creates a problem* in some services if any one upgrading the OS from old version to new version.

well according to my opinion you should uninstall cupsd with their dependencies and reinstall it.

well i am also working with cups and it s work well with* local and N/W printers.

--
Thanks and Regards,
Kapil Singh Kushwah
Linux System Administrator
Hotwax Media Inc.
Indore,(M.P) INDIA




_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-28-2008, 05:00 PM
"Lanny Marcus"
 
Default cupsd takes 100% of cpu

On Mon, Jul 28, 2008 at 11:05 AM, Dan Halbert <halbert@everyzing.com> wrote:
> I have never been able to get cups to work properly since CentOS 4.x (and am
> now on 5.2).
>
> When I try to "service start cups", cupsd immediately starts taking 100% of
> the cpu. Attaching strace to it shows no system calls happening. I have
> tried uninstalling and reinstalling cups to get fresh config files. My
> printers.conf is empty.
>
> This is on a completely updated x86_64 CentOS 5.2 desktop system running
> gnome. There are no local printers attached the the box. We have a couple of
> networked HP printers and a Canon. I have not added any of these printers to
> the configuration. A lot of Googling has not turned up any help. Have you
> seen this problem? Any suggestions?

Is that a problem with the 64 bit version of CUPS? There is no problem
with the 32 bit version of CUPS. I have it
running on my desktop, without any problems. And, it runs on GNOME
without any problems. Will the 32 bit version of CUPS
run on your box?

cupsd (pid 2232) is running...
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-28-2008, 06:15 PM
MHR
 
Default cupsd takes 100% of cpu

On Mon, Jul 28, 2008 at 10:00 AM, Lanny Marcus <lmmailinglists@gmail.com> wrote:
>
> Is that a problem with the 64 bit version of CUPS? There is no problem
> with the 32 bit version of CUPS. I have it
> running on my desktop, without any problems. And, it runs on GNOME
> without any problems. Will the 32 bit version of CUPS
> run on your box?
>
> cupsd (pid 2232) is running...

I have absolutely no problems with cups on my x86_64 CentOS 5.2....

HTH (realizing that it may not).

mhr
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-28-2008, 06:17 PM
Eduardo Silvestre
 
Default cupsd takes 100% of cpu

Hey,

lsof -p 2232 and show the output.



---
Eduardo Silvestre
nfsi telecom, lda.

eduardo.silvestre@nfsi.pt
Tel. (+351) 21 949 2300 - Fax (+351) 21 949 2301
http://www.nfsi.pt/

----- Original Message -----
From: "MHR" <mhullrich@gmail.com>
To: "CentOS mailing list" <centos@centos.org>
Sent: Monday, July 28, 2008 7:15:09 PM GMT +00:00 GMT Britain, Ireland, Portugal
Subject: Re: [CentOS] cupsd takes 100% of cpu

On Mon, Jul 28, 2008 at 10:00 AM, Lanny Marcus <lmmailinglists@gmail.com> wrote:
>
> Is that a problem with the 64 bit version of CUPS? There is no problem
> with the 32 bit version of CUPS. I have it
> running on my desktop, without any problems. And, it runs on GNOME
> without any problems. Will the 32 bit version of CUPS
> run on your box?
>
> cupsd (pid 2232) is running...

I have absolutely no problems with cups on my x86_64 CentOS 5.2....

HTH (realizing that it may not).

mhr
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-28-2008, 09:44 PM
Dan Halbert
 
Default cupsd takes 100% of cpu

Thanks to all for the suggestions. I did do lsof on the process and saw
nothing interesting (just libraries). Attaching gdb to the process
showed that it appeared to be looping inside getservbyname().


However, after a little more thought, I "rm -rf"d /var/spool/cups/
(which had some stuff from 2007) and restarted. No more looping! Now I
can configure my printers. We'll see whether it keeps working.


Dan
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 02:57 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org