From: Maxime Devos <maximedevos@telenet.be>
To: Christopher Howard <christopher@librehacker.com>, 49106@debbugs.gnu.org
Subject: bug#49106: slow load for cups /admin page
Date: Sat, 19 Jun 2021 10:17:29 +0200 [thread overview]
Message-ID: <f1ce96d9e4eceefb88359206940233e8f4ef7f7a.camel@telenet.be> (raw)
In-Reply-To: <48959bd5d3a690f6b185a754ff57aa1b55ebc5e6.camel@librehacker.com>
[-- Attachment #1: Type: text/plain, Size: 1710 bytes --]
Christopher Howard schreef op vr 18-06-2021 om 16:43 [-0800]:
> Hi, ever since I have started using Guix a few years ago,
> I have always found that the cups page at http://127.0.0.1:631/admin
> load very slowly, with nothing appearing on the Web browser page for
> something like two minutes. The home page (http://127.0.01:631) loads
> very quickly, and also other pages you select after you get to the admin
> page (e.g., modifying a printer) load quickly.
I can confirm. The home page loads within a second or two.
The admin page quickly (also after a second or so) asks for credentials
(username + passphrase), and then takes minutes to load.
I looked at /var/log/cups/access_log, and the contents is suspicious:
localhost - - [19/Jun/2021:09:58:14 +0200] "GET /admin/conf/cupsd.conf HTTP/1.1" 401 0 - -
[... 4 times repeated ...]
localhost - [... username ...] [19/Jun/2021:09:58:51 +0200] "GET /admin/conf/cupsd.conf HTTP/1.1" 200 0 - -
localhost - - [19/Jun/2021:09:58:51 +0200] "GET /admin/conf/cupsd.conf HTTP/1.1" 401 0 - -
[... 605 times repeated ...]
Also, /var/log/cups/error_log contains the following line about a hundred times
(but with a different ‘pid’ and ‘file’)
I [19/Jun/2021:10:01:13 +0200] [Client 1215] Started "/gnu/store/qqx970xzzwi3hcsisjzx77gjg4npw0j2-cups-server-bin/lib/cups/cgi-bin/admin.cgi" (pid=6959, file=206)
Also, I see the following on the admin page:
‘Unable to open cupsd.conf file:’
Seems like /gnu/store/qqx970xzzwi3hcsisjzx77gjg4npw0j2-cups-server-bin/lib/cups/cgi-bin/admin.cgi
wants to read cupsd.conf, but it is unable to, and it keeps retrying until some
kind of time-out or something.
Greetings,
Maxime.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
next prev parent reply other threads:[~2021-06-19 8:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-19 0:43 bug#49106: slow load for cups /admin page Christopher Howard
2021-06-19 8:17 ` Maxime Devos [this message]
2021-06-19 8:18 ` Brice Waegeneire
2021-06-19 8:39 ` Maxime Devos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f1ce96d9e4eceefb88359206940233e8f4ef7f7a.camel@telenet.be \
--to=maximedevos@telenet.be \
--cc=49106@debbugs.gnu.org \
--cc=christopher@librehacker.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.