Cups eats all cpu on admin "Add printer"
Laurent Hugé
hugePasDeSpam.root at freePasDeSpam.fr
Fri Jun 4 11:28:02 PDT 2004
Hi,
I repost here my problem because no one has been able to give me an answer in the forum cups.general.
I've got a big problem in configuring cups. I launch cupsd, log in http://127.0.0.1:631/admin, I enter the root's password and select "Add printer" ; then cups takes more than three minutes at 98% load (source : top with an AMD Athlon XP 2400+) before displaying the page ; I fill the fields, validate, and it turns again at 98% load for three minutes to display the page with port ; and then nothing because there's no port available on the menu !
The behaviour of my browser (Konqueror) is strange : begining at 1ko/s, then rapidly to 500o/s, 250o/s, then nothing. My firewall doesn't filter anything on localhost.
I can't find anything special in the log, except lines of things like :
Closing client 8 after 300 seconds of inactivity...
CloseClient() 8
CloseClient: Removing fd 8 from InputSet and OutputSet...
ReadClient() 6, used=0
CloseClient() 6
CloseClient: Removing fd 6 from InputSet and OutputSet...
DeleteCert: removing certificate for pid 0
AddCert: adding certificate for pid 0
PID 1591 exited with no errors.
DeleteCert: removing certificate for pid 1591
WriteClient() 5 1253 bytes
REQUEST localhost - root "GET /admin/?op=add-printer HTTP/1.1" 200
2477
...
Here is my cupsd.conf :
root$ grep -v "^$\|^#" /etc/cups/cupsd.conf (to avoid all comments)
AccessLog syslog
DataDir /usr/share/cups
DocumentRoot /usr//share/doc/cups
ErrorLog syslog
FontPath /usr/share/cups/fonts
LogLevel debug2
PageLog syslog
RequestRoot /var/spool/cups
ServerBin /usr/lib/cups
ServerRoot /etc/cups
TempDir /var/spool/cups/tmp
Port 631
Browsing Off
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
<Location /admin>
AuthType None
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
I've remade cups with no optimization, I've checked every directory specified in cupsd.conf, I've checked everything with lpinfo and cups-config, I've tried to use another browser (lynx), I've commented the lines Order Deny,Allow Deny From All Allow From 127.0.0.1 in <Location /admin>, but there's no evolution.
Is somebody able to help me ?
--
Laurent Hugé (to write to me, get PasDeSpam off)
GPG fingerprint = 3AFF A106 39D9 DB2C 885D 41C3 76DC 2C3F 01BE 5D4A
More information about the cups-devel
mailing list