From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qItGCEaozWDwawAAgWs5BA (envelope-from ) for ; Sat, 19 Jun 2021 10:18:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UL3pA0aozWBHfAAAbx9fmQ (envelope-from ) for ; Sat, 19 Jun 2021 08:18:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6099827A01 for ; Sat, 19 Jun 2021 10:18:13 +0200 (CEST) Received: from localhost ([::1]:46290 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luWB9-0000ev-AF for larch@yhetil.org; Sat, 19 Jun 2021 04:18:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luWB0-0000c2-HK for bug-guix@gnu.org; Sat, 19 Jun 2021 04:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46937) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luWB0-0002Bv-A2 for bug-guix@gnu.org; Sat, 19 Jun 2021 04:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1luWB0-0004Dq-06 for bug-guix@gnu.org; Sat, 19 Jun 2021 04:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49106: slow load for cups /admin page Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 19 Jun 2021 08:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49106 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Howard , 49106@debbugs.gnu.org Received: via spool by 49106-submit@debbugs.gnu.org id=B49106.162409066016197 (code B ref 49106); Sat, 19 Jun 2021 08:18:01 +0000 Received: (at 49106) by debbugs.gnu.org; 19 Jun 2021 08:17:40 +0000 Received: from localhost ([127.0.0.1]:58483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luWAd-0004DB-S7 for submit@debbugs.gnu.org; Sat, 19 Jun 2021 04:17:40 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:40146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luWAc-0004D2-CG for 49106@debbugs.gnu.org; Sat, 19 Jun 2021 04:17:39 -0400 Received: from butterfly.local ([213.132.157.3]) by andre.telenet-ops.be with bizsmtp id JwHb2500404goZR01wHbG9; Sat, 19 Jun 2021 10:17:36 +0200 Message-ID: From: Maxime Devos Date: Sat, 19 Jun 2021 10:17:29 +0200 In-Reply-To: <48959bd5d3a690f6b185a754ff57aa1b55ebc5e6.camel@librehacker.com> References: <48959bd5d3a690f6b185a754ff57aa1b55ebc5e6.camel@librehacker.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-+DHrNwdh3I3hMS8lC5Fn" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1624090656; bh=5TOyYirtZu20sYCGiwcsnkzBBFBNsOOpY7U9qjYxERA=; h=Subject:From:To:Date:In-Reply-To:References; b=NCHcQz+O/SU72T00bYiiSwOS0N6+Pxo/R2r/80e9epJsYY6GpemAm9IGU+xwAsEW5 0ysN8uwhnCsntmD4tgEI2ZOBquyiznI4U2iH8xPfxkMK+8wH7w70dWT79lM8FC9qzz f5ul/GhYNYPXniToDshfvwI8ROW98/PdGXUZELZLJMuSXHmlYXDzQBeOy8qRcwQs05 pcqyQ+3arDyZwSJpzwtGMPpgNwOLtVfSIS+Re89gUoFu1GmHv0KwcEjjdKeUVS9jpp Z4iVc8HEWIMwemzCqeFlfm0iGLix8vja5T3++B3BUOFFPxJlu63aOqs/rXFwjdCoIM U4NRB+zggyHyw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624090693; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=5TOyYirtZu20sYCGiwcsnkzBBFBNsOOpY7U9qjYxERA=; b=ItPfVJxkPV5iIWEUfDfaAivZfNoBKbZJXOfNsEJT32d45MZQVD/Przc2fiO5PohhQJzbfP mY2UUOmLz7kRBqvJJnVzRSJwV6vUbDysDpluDDbKUq9eE8ZtpYhxRauIxHiCXC4WAAA9Va Ubh6A7p7ZfAU4ln6sHPnP0M1o9J4TRQliYaF6ywDpbO2u85C+N0QM9XSvh78KQtRW8eof6 0K3jgjwPVTdg8rStanOE6rF7+lobVyKxWZD5W/P5NdBXJB34hQ8etyyKYhDxfv5UDelvZK DTEyCRdmIOu8+PzxsFjtsq/dLQOsPiF1I8eQEjOOnI+O+1I9Ek3qtfyqfxwXxw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624090693; a=rsa-sha256; cv=none; b=nDOuz236NF3hGkxZ5QaRb/Ez3Q9zrGmJ6cUXVowepP30rKPNT3Ljt1tOv4WqNWZwjEnV2q lMbT+8oQc9uXfM4KLc9TAcCNy8x2s0bkcJ7I2PGIiH6R1PhOfyIoiyA+tasTsoXkwj0xFY PM7AHRFtIqk4UH/2WLbq3zjHqeJ3oY4kS7tO+NjdbI5dHd26heNoYyew2QsQmcXaE50OxF RQ6m805Bm52Bv7mQVQ225trgJRAv6lGMoe+qkIRKhTeDWaesTDk2TmiTVbYQavPUMHQXH3 GW2XflFQ8cqT3TlVJUr3kvAQ/gxpwVw0XQW6qCheZiBqGOPjuRpyOgXzKsYFvQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=NCHcQz+O; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: 1.58 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=NCHcQz+O; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 6099827A01 X-Spam-Score: 1.58 X-Migadu-Scanner: scn0.migadu.com X-TUID: hW+esXuOG3JS --=-+DHrNwdh3I3hMS8lC5Fn Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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/con= f/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 t= imes (but with a different =E2=80=98pid=E2=80=99 and =E2=80=98file=E2=80=99) I [19/Jun/2021:10:01:13 +0200] [Client 1215] Started "/gnu/store/qqx970xzzw= i3hcsisjzx77gjg4npw0j2-cups-server-bin/lib/cups/cgi-bin/admin.cgi" (pid=3D6= 959, file=3D206) Also, I see the following on the admin page: =E2=80=98Unable to open cupsd.conf file:=E2=80=99 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. --=-+DHrNwdh3I3hMS8lC5Fn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYM2oGhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7kMPAQDGcWf9/A+/mxkBQTwUpla+yYsg 0xZS6om+Hv9VkdhiBAD/djye9yVifPGCdJkGT6S9UTYhwnIu6UZv8ynui7HaZAw= =zWES -----END PGP SIGNATURE----- --=-+DHrNwdh3I3hMS8lC5Fn--