LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 08-17-2007, 10:38 AM   #1
z-man5
LQ Newbie
 
Registered: Feb 2007
Distribution: Debian, Slackware
Posts: 29

Rep: Reputation: 15
SquidGuard very slow compiling lists


Hi, I run Squid 2.5.STABLE5 with SquidGuard 1.2.0, and it takes forever to compile blacklists, while top shows that CPUs are over 99% idle...

When I tried to compile a single file:

squidGuard -C /var/spool/squidGuard/db/new_blacklists/desktopsillies/domains

took over 30 minutes to compile the 10 KB file, and although the .db file was eventually generated, SquidGuard did not exit, I grew impatient and stoped it.

Compiling all lists is taking over an hour now, and there is no new .db file generated so far...

Has anyone experienced this?

Thanks.
 
Old 08-21-2007, 11:04 AM   #2
z-man5
LQ Newbie
 
Registered: Feb 2007
Distribution: Debian, Slackware
Posts: 29

Original Poster
Rep: Reputation: 15
My error - I had a new line character in the middle of one of the ACLs, and learned about it from
/usr/squidGuard/log/squidGuard.log

it was "going into emergency mode", whatever it means.

In addition I had to specify the location of the squidguard.conf file (not at the standard location) even if not using the "-C all" option, but specifying the file to be compiled.

Now it takes just a minute to compile with "squidGuard -C all -c /etc/squid/squidguard.new.conf"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error: mail command failed for /var/log/squidguard/squidGuard.log.6 Niceman2005 Linux - Networking 1 01-22-2009 02:24 PM
Squidguard sanjibgupta Linux - Security 1 09-26-2005 02:47 AM
squidguard metallica1973 Linux - Security 5 05-24-2005 10:24 AM
squidguard ? maxut Fedora 1 05-10-2004 05:12 AM
slow system after compiling Xfree86 4.3... John Silva Linux - Software 0 10-25-2003 05:59 PM


All times are GMT -5. The time now is 12:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration