Re: [squid-users] Squid and squidGuard

From: Chris Knipe <savage@dont-contact.us>
Date: Mon, 14 Apr 2003 20:28:14 +0200

From what I saw in the past, SquidGuard takes a enormous amount of time to
start/stop because it needs to re-read all the databases. I sit with a semi
busy proxy, running 25 squidguard processes, on a 950Mhz PIII, with 1GB of
RAM. My squid (squidguard) takes about 5 minutes before it "settles down",
and during the initial "database read" my load average can easily jump up to
over 6. Once all the databases has been read by all the processes however,
the system calms down quite nicely and works without any problems...

Let's not crash squid shall we? *EG*

Thankfully, databases are re-read every once in a while so you don't need to
restart it every time you change a entry in a database (such as adding
urls).

--
me
----- Original Message -----
From: "MESNIL Vincent" <vincent.mesnil@laposte.net>
To: <squid-users@squid-cache.org>
Sent: Monday, April 14, 2003 7:59 PM
Subject: [squid-users] Squid and squidGuard
1) Simple squidGuard conf. file :
squidGuard.conf :
     logdir /var/log
     acl {
         default {
             pass all
         }
     }
pstree :
        |-squid(30214)---squid(30216)-+-squidGuard(30217)
        |                             |-squidGuard(30218)
        |                             |-squidGuard(30219)
        |                             |-squidGuard(30220)
        |                             |-squidGuard(30221)
        |                             `-unlinkd(30222)
All is ok for the moment
----------------------------------------------------------------------------
--------------------------------------
2) Change my squidGuard.conf :
logdir /var/log
dbhome /usr/local/squidGuard/DB
dest porn {
        domainlist      blacklists/adult/domains
        urllist         blacklists/adult/urls
        }
acl {
        default {
                pass !porn all
                redirect http://www.disney.com
                }
}
And if I do a : service squid restart
pstree again :
        |-squid(30335)---squid(30499)-+-squidGuard(30502)
        |                             |-squidGuard(30503)
        |                             |-squidGuard(30504)
        |                             |-squidGuard(30505)
        |                             |-squidGuard(30506)
        |                             `-unlinkd(30526)
        |-squidGuard(30338)
        |-squidGuard(30339)
        |-squidGuard(30340)
        |-squidGuard(30341)
        |-squidGuard(30342)
And my server is down (very slow)
Received on Mon Apr 14 2003 - 12:27:34 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:14:58 MST