Search squid archive

RE: [squid-users] Squid 3.0 Crashing every few minutes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Do you can post your squid.conf ?

Sure here it is cleaned up.

http_port 8080
http_port 83
icp_port 3130
hierarchy_stoplist cgi-bin ?
acl QUERY src 0.0.0.0/0.0.0.0
no_cache deny QUERY
cache_dir ufs /var/squid/cache 100 16 256
logformat database "%>a":;"%<A":;"%la":;%ts:;%{%F
%H:%M:%S}tl:%tu:;%tr:;"%un":;"%ul":;"%Hs":;"%rm":;"%ru":;"%rv":;%<st:;"%
mt":;"%Ss"
access_log /usr/local/squid/var/logs/access.log database
debug_options ALL,1
auth_param basic program /usr/local/squid/bin/squid_radius_auth -f
/usr/local/squid/etc/squid_radius_auth.conf
auth_param basic children 5
auth_param basic realm xxxxxxxx Proxy Server
auth_param basic credentialsttl 12 hours
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               0       20%     4320
range_offset_limit 1 KB
acl password proxy_auth REQUIRED
acl approved_sites url_regex -i
"/usr/local/squid/etc/approved-sites.txt"
acl restricted_sites url_regex -i
"/usr/local/squid/etc/restricted-sites.txt"
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563 1081
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443 563
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl Safe_ports port 83
acl Safe_ports port 1081
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow approved_sites
http_access deny restricted_sites
http_access allow password
http_access deny all
http_reply_access allow all
icp_access allow all
cache_mgr xxx@xxxxxxxxxx
cache_effective_user squid
visible_hostname xxxx.xxxxx.xxx
memory_pools on  (Doesn't seem to do anything as whenever Squid starts
it staes "Memory Pools Off; Limit 2Mb")
memory_pools_limit 50 MB
coredump_dir /usr/local/squid/var/logs

My development system is not so instable, but practically I don't have
any 
acls defined and very many requests.

And how many request do you have ?

Is there a simple way to figure out how many requests?  I know we
currently have around a 1000 users.  We have two ACL's in use: 1) a
global permitted ACL which lists sites that all people can get to,
regardless of authentications.  2) A global Deny ACL restricting sites
regardless of authentication.  

We then use the Raidus server to approve users that are allowed out, and
then a Standard Deny All.

Another info, what OS ?  

Fedora Core 1.

Regards

Guido



-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1           10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135  Fax. : +39.011.9781115
Email: guido.serassio@xxxxxxxxxxxxxxxxx
WWW: http://www.acmeconsulting.it/



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux