[squid-users] squid, blacklists ,squidguard doesnt work

From: <emincan@dont-contact.us>
Date: Tue, 20 Mar 2007 16:31:08 +0200 (EET)

Hi
I installed squid 2.5.STABLE6 on Centos 4.4

I have a blacklist file, size more than 4 Megabytes

acl in squid.conf look like

acl porn url_regex -i "/etc/squid/porn"
http_access deny porn

When i started squid ,

/etc/init.d/squid start

Stopping squid: ..................................................
Starting squid: [FAILED]

I give this error in /var/log/messages

Mar 20 15:25:33 lnx squid[21380]: Squid Parent: child process 21382 exited
withstatus 0
Mar 20 15:26:40 lnx squid[21709]: fork failed: (12) Cannot allocate memory
Mar 20 15:26:40 lnx squid[21709]: Squid Parent: child process -1 started
Mar 20 15:26:40 lnx squid[21709]: Squid Parent: child process -1 exited
due to signal 68
Mar 20 15:26:43 lnx squid[21709]: Squid Parent: child process -1 started
Mar 20 15:26:43 lnx squid[21709]: Squid Parent: child process -1 exited
due to signal 68
Mar 20 15:26:46 lnx squid[21709]: Squid Parent: child process -1 started
Mar 20 15:26:46 lnx squid[21709]: Squid Parent: child process -1 exited
due to signal 68
Mar 20 15:26:49 lnx squid[21709]: Squid Parent: child process -1 started
Mar 20 15:26:49 lnx squid[21709]: Squid Parent: child process -1 exited
due to signal 68
Mar 20 15:26:52 lnx squid[21709]: Squid Parent: child process -1 started
Mar 20 15:26:52 lnx squid[21709]: Squid Parent: child process -1 exited
due to signal 68

When i removed porn file or porn file < 1 MB then squid work fine
Received on Tue Mar 20 2007 - 08:27:29 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Mar 31 2007 - 13:00:02 MDT