[an error occurred while processing this directive]
Please see below for a recommended solution path.
This bug wastes CPU time on the user system as well as on cups.lbl.gov
NOTES:
-
Users have reported their system becomes much more responsive
-
Tue Mar 22 14:42:19 2005:RedHat Enterprise 4 may fix this problem.
bug description: cupsd problem with eggcups
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=88393
"cupsd generates a new socket and log entry every 5 seconds" ...
The problem is with the desktop-printing package.
To obtain detailed information about the package type....
rpm -qi desktop-printing
[this will show something like this:]
Name : desktop-printing Relocations: (not relocateable)
Version : 0.1.10 Vendor: Red Hat, Inc.
Release : 6 Build Date: Fri 24 Jan 2003 03:27:00 PM PST
[...]
Summary : Nautilus desktop print icon
Description : [...]
Solution path for this eggcups problem
1) Become root on the affected system.
2) Kill/end ALL the current processes that are associated with the
desktop-printing package by typing
killall eggcups
3) UNINSTALL the desktop-printing package from the system by typing
rpm -e desktop-printing
4)
Please run cupsd ONLY if you are running a print server.
We believe that turning off cupsd (/etc/init.d/cups stop) on your machine
will make BOTH your machine and cups.lbl.gov much more responsive.
Turn OFF cupsd if your /etc/cups/client.conf is already configured like this:
/etc/cups/client.conf
[...]
ServerName cups.lbl.gov
We recommend the configuration
ServerName cups.lbl.gov
With that configuration, cupsd is NOT needed (and even causes problems)!!
As root, TURN OFF cupsd as follows and make sure cups will NOT startup:
/sbin/service cups stop
/sbin/chkconfig cups off
Check status by
/sbin/chkconfig --list cups
You should see
cups 0:off 1:off 2:off 3:off 4:off 5:off 6:off
/sbin/chkconfig --list cups-config-daemon
cups-config-daemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off
/sbin/service cups-config-daemon stop
Stopping cups-config-daemon: [ OK ]
/sbin/chkconfig cups-config-daemon off
/sbin/chkconfig --list cups-config-daemon
cups-config-daemon 0:off 1:off 2:off 3:off 4:off 5:off 6:off
5) Then, under your NON-root account, confirm you can STILL print by sending a
small test file to your printer via cups.
NOTE WELL:
Given the above, you can see the printers in (for example) building 70 by
lpstat -a | egrep 70
See nsd printers by
lpstat -a | egrep nsd
lpstat -c
shows the "nicknames (classnames)" of the printers.
CUPS, gnome-cups-icon continually eating memory, slow video performance
Debian Sarge system
uname -a
Linux 2.4.25-1-686 #3 Wed Apr 14 21:56:44 EST 2004 i686 GNU/Linux
[This is a Debian Sarge version = testing,
with some upgrades from Sid version =unstable
description of the releases is here http://www.debian.org/releases/
The problem was caused by program gnome-cups-icon
ls -A |grep cups
showed multiple instances of gnome-cups-icon
This program is contained in a package called:
gnome-cups-manager
All I did was to remove this package by using interface like: aptitude or
synaptics
Manually it can be done by command:
apt-get remove gnome-cups-manager
Background on Debian Linux gnome-cups-icon problems
http://linux.derkeiler.com/Mailing-Lists/Debian/2003-08/3219.html
Re: CUPS, gnome-cups-icon continually eating memory, slow video performance
From: Derrick 'dman' Hudson (dman_at_dman13.dyndns.org)
Date: 08/18/03
# Next message: Johann Koenig: "Re: cloning Debian?"
* Previous message: Derrick 'dman' Hudson: "Re: Woody & M$ dhcp"
* In reply to: Roman Brodylo: "CUPS, gnome-cups-icon continually eating * memory, slow video performance"
Date: Mon, 18 Aug 2003 15:18:22 -0400
To: debian-user
On Mon, Aug 18, 2003 at 04:16:55PM +0200, Roman Brodylo wrote:
| Hello there,
|
| think I have a bug here, but I'm not sure.
Yeah, a memory leak like that is definitely a bug.
| I'm running testing and my system slows down to a near halt if it's been
| up and running for hours. Slows down meaning workspace switching,
| switching from one window(app) to another takes really long (15 seconds
| and up). Closing a window, you can watch it slowly disappear line by
| line down.
|
| Took a look at the gnome system monitor, process view and saw
| gnome-cups-icon as the process with the largest memory 200+ MB.
| While I'm writing this it has grown from 30 to 45MB; just logged in an
| hour ago.
| Does anyone know what's going on?
All I can say is that you have the 'gnome-cups-manager' package
installed (based on a search on packages.debian.org). My
recommendation would be to remove that package and just use the web
interface (http://localhost:631/) to manage cups instead.
HTH,
-D
Last modified Tue Mar 22 16:01:18 PST 2005