From 9596034fb75ce76afbd0e870ec6a633a35066133 Mon Sep 17 00:00:00 2001 From: gcolpart Date: Mon, 19 Dec 2016 19:14:28 +0100 Subject: [PATCH] mini-modifs --- HowtoSquid.md | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/HowtoSquid.md b/HowtoSquid.md index a6850372..72d09344 100644 --- a/HowtoSquid.md +++ b/HowtoSquid.md @@ -1,23 +1,37 @@ # Howto Squid + Documentation officielle : +[Squid](http://www.squid-cache.org/) est serveur proxy HTTP/HTTPS. + # Installation -Sous Debian Jessie, on peut installer Squid 3.4 : - -``` +~~~ # apt install squid3 squidclient -``` +~~~ -# Divers +# Configuration + +`/etc/squid3/squid.conf` : + +~~~ +TODO +~~~ + + +# FAQ ### Infos à propos de Squid +Pour avoir des informations à propos de Squid : + ``` -$ squidclient -h HOST -p PORT cache_object://localhost/ -$ squidclient -h HOST -p PORT mgr:info +$ squidclient -h 127.0.0.1 -p 3128 cache_object://localhost/ +$ squidclient -h 127.0.0.1 -p 3128 mgr:info ``` +### WARNING! Your cache is running out of filedescriptor + En utilisation intensive, si vous obtenez un message '''WARNING! Your cache is running out of filedescriptors''', c'est qu'il est nécessaire d'augmenter le maximum de fichiers ouverts... mais ce problème est normalement résolu depuis Debian Lenny où l'on trouve un '''ulimit -n 65535''' dans le script d'init (c'était à ajouter en ''Etch'').