Your message dated Sun, 18 Nov 2018 11:05:32 +0000 with message-id <E1gOKtQ-0007HF-Jr@fasolo.debian.org> and subject line Bug#913886: fixed in debian-edu-config 2.10.46 has caused the Debian Bug report #913886, regarding Optimize TJENER's squid.conf for DEB package caching to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 913886: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913886 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: Optimize TJENER's squid.conf for DEB package caching
- From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
- Date: Fri, 16 Nov 2018 13:15:59 +0000
- Message-id: <[🔎] 20181116131559.Horde.fz4ODzwoWAs-NXA_2q0FMix@mail.das-netzwerkteam.de>
Package: debian-edu-config Severity: important Hi,we have deployed a new Debian Edu site here in Northern Germany. While doing so, we realized that the squid defaults in Debian Edu are not optimal for caching DEB packages.I have adapted the Debian Edu squid.conf on TJENER with the below changes. This results in a tremendous speed improvement regarding the package download when installing multiple systems in one go via the Debian Edu PXE installer.IMHO we should adapt our squid.conf. Note: these changes have been taken from the squid-deb-proxy package. Another option would be to implement support for squid-deb-proxy on a Debian Edu site.Please review and give feedback. Thanks, Mike ``` diff --git a/squid/squid-debian-edu.conf b/squid/squid-debian-edu.conf index 58828e2..4e6437a 100644 --- a/squid/squid-debian-edu.conf +++ b/squid/squid-debian-edu.conf @@ -63,3 +63,27 @@ append_domain .intern # dynamically updated using # /usr/share/debian-edu-config/tools/squid-update-cachedir cache_dir ufs /var/spool/squid 11483 16 256 + +# we need a big cache, some debs are huge +maximum_object_size 512 MB + +# tweaks to speed things up +cache_mem 200 MB +maximum_object_size_in_memory 10240 KB + +# refresh pattern for debs and udebs +refresh_pattern deb$ 129600 100% 129600 +refresh_pattern udeb$ 129600 100% 129600 +refresh_pattern tar.gz$ 129600 100% 129600 +refresh_pattern tar.xz$ 129600 100% 129600 +refresh_pattern tar.bz2$ 129600 100% 129600 + +# always refresh Packages and Release files +refresh_pattern \/(Packages|Sources)(|\.bz2|\.gz|\.xz)$ 0 0% 0 refresh-ims +refresh_pattern \/Release(|\.gpg)$ 0 0% 0 refresh-ims +refresh_pattern \/InRelease$ 0 0% 0 refresh-ims +refresh_pattern \/(Translation-.*)(|\.bz2|\.gz|\.xz)$ 0 0% 0 refresh-ims + +# handle meta-release and changelogs.ubuntu.com special +# (fine to have this on debian too) +refresh_pattern changelogs.ubuntu.com\/.* 0 1% 1 ``` -- DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby mobile: +49 (1520) 1976 148 landline: +49 (4354) 8390 139 GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.deAttachment: pgp9oh2Fub8Ka.pgp
Description: Digitale PGP-Signatur
--- End Message ---
--- Begin Message ---
- To: 913886-close@bugs.debian.org
- Subject: Bug#913886: fixed in debian-edu-config 2.10.46
- From: Holger Levsen <holger@debian.org>
- Date: Sun, 18 Nov 2018 11:05:32 +0000
- Message-id: <E1gOKtQ-0007HF-Jr@fasolo.debian.org>
Source: debian-edu-config Source-Version: 2.10.46 We believe that the bug you reported is fixed in the latest version of debian-edu-config, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 913886@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Holger Levsen <holger@debian.org> (supplier of updated debian-edu-config package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sun, 18 Nov 2018 11:45:23 +0100 Source: debian-edu-config Binary: debian-edu-config Architecture: source Version: 2.10.46 Distribution: unstable Urgency: medium Maintainer: Debian Edu Developers <debian-edu@lists.debian.org> Changed-By: Holger Levsen <holger@debian.org> Description: debian-edu-config - Configuration files for Skolelinux systems Closes: 913886 Changes: debian-edu-config (2.10.46) unstable; urgency=medium . [ Wolfgang Schweer ] * Workaround for mounting removable media on diskless workstations, see LDM bug #913774. Due to missing session registering with wtemp and utemp, media mounting gets denied. - Add share/debian-edu-config/udisks2.patch. - Use code in share/ltsp/init-ltsp.d/60-edu-client to apply the patch (this happens only on-the-fly for each session in the overlay filesystem). * Adjust Makefile. * Install task 'standard' (system utilities) inside the LTSP chroot. It should ensure the installation is put on top of a stock Debian system with nothing missing. * Switch back to NDB as default for the LTSP root filesystem as the performance in real world deployments seems to be better. Using NFS can be configured in /etc/ltsp/ltsp-build-client.conf; this might come in handy during development and testing. * Improve handling of Debian packages. (Closes: #913886). - share/debian-edu-config/squid.conf: Add settings proposed by Mike Gabriel. Checksums-Sha1: cf0e091d74d25ea9e34d5432eed23317161d7e32 1876 debian-edu-config_2.10.46.dsc fbd1e650f24e54c7a6ff6420c0ac36c51c335488 341576 debian-edu-config_2.10.46.tar.xz 073b8ef66dffdd507dc788bad04ca71f14bea412 4905 debian-edu-config_2.10.46_source.buildinfo Checksums-Sha256: 41651e97142f6d1362da79d2a57e4fd24024b4ac2b0307fd3f73fd31f79cd100 1876 debian-edu-config_2.10.46.dsc 3d49b62a7b2b796bb00d9a74d497e6184f586337b723867be9eeaf2d58a051c9 341576 debian-edu-config_2.10.46.tar.xz 31b776b9790f9f4ea426b1a7415afd3c5b5853311b34958ba653d1ef095b4634 4905 debian-edu-config_2.10.46_source.buildinfo Files: 7d55a4d9424a9c74b32fccd199cce503 1876 misc optional debian-edu-config_2.10.46.dsc 3d4ae75d46da7b100d6ba9f6bfd35f4f 341576 misc optional debian-edu-config_2.10.46.tar.xz 0aa8972808cc6402c9b1c9c8dfdc4f1d 4905 misc optional debian-edu-config_2.10.46_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAlvxQwAACgkQCRq4Vgaa qhxURA//S8wY6occ3Y6fe04/rKQXX6ROfxmgOeig2+4BIZDyZV/vSoq1vRMDP9Z4 tEkCUw7e9hRWnrVDUzWT6WQ20j48vKxjtu/Ggcuaw1+l7tEKFVZaJFVTCOdpJPAO x6HuKSQSoC+aehACuIBg8b+WLaDZv2C4em2Y+JCqs66xzAiz9bQSZ2oMRrdF4cB7 zmD64Er3HInTkGD7RZfQAcWFVFkP2ADNOAbA6mo/pCN0PTgobhuWwJwgYBdb9D1c 4MUGWeIEqv2zYrFgQn6iUnp7q+J2fZTMwVXWgVp9Awim7xQ9YQ69iu6iGHVEAeDi D3wv1bE5qknxPfefi44LuGEiUwQw/m1oVYTuCoy7CjbOpXLW8oEB4E+CfXJ421PZ a/AV7LG5h4OpVFLi0UGoYHLub8DLGjJ2ICM5/FAsA/bm4c2dcW6oPoCtlMaV5rme O9K3O/qUrXSWGEdKQauKMyzAnirZbJkaCXZpB0894WryJg+0Wz/ulLkVGGqtgkJV DgOph6oXnZUNw6GzLZA1leiVGDQCP91e+0N584LQ9BAWLKHSC45KVindWEPP//LA qTK9kyie29n4wQjrQp7UYCuHZADYel083C4G0Lor0s+e2T9YotA6PCYwAgod62Jj Shp2WO96wIQm0zQLn+2aUN78ZJRfjasdTZISoCCmZk9LE6fnP0w= =iJQj -----END PGP SIGNATURE-----
--- End Message ---