Search squid archive

Squid 3.1.12.1 . Segmentation fault .

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

 



Dear Amos,

Running squid with -s option but it does not forwards the cache.log to
the syslog.
I updated my config and now I have the following. I think it is
related to the acl lines I reordered but a Segmentation fault is not
tolerable anyway  :

2011/06/12 12:23:50.204| storeGet: looking up C36EBB2A20731F6BA7BD38C62469E2C3
2011/06/12 12:23:50.204| clientProcessRequest2: default HIT
2011/06/12 12:23:50.204| StoreEntry::lock: key
'C36EBB2A20731F6BA7BD38C62469E2C3' count=1
2011/06/12 12:23:50.204| UFSSwapDir::reference: referencing 0xc19b90 0/526
2011/06/12 12:23:50.204| MemObject.cc(76) MemObject: new MemObject 0xd37ce0
2011/06/12 12:23:50.204| store_client::copy:
C36EBB2A20731F6BA7BD38C62469E2C3, from 0, for length 4096, cb 1,
cbdata 0xd357f8
2011/06/12 12:23:50.204| storeClientCopy2: C36EBB2A20731F6BA7BD38C62469E2C3
2011/06/12 12:23:50.204| store_client::doCopy: co: 0, hi: 0
2011/06/12 12:23:50.204| store_client::doCopy: Need to open swap in file
2011/06/12 12:23:50.204| storeSwapInStart: called for : 0 0000020E
C36EBB2A20731F6BA7BD38C62469E2C3
2011/06/12 12:23:50.204| storeSwapInStart: Opening fileno 0000020E
2011/06/12 12:23:50.204| UFSStrategy::open: fileno 0000020E
2011/06/12 12:23:50.204| UFSFile::UFSFile: /cache/00/02/0000020E
2011/06/12 12:23:50.204| store_client::doCopy: reading from STORE
FATAL: Received Segment Violation...dying.
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.206| ACL::~ACL: '
2011/06/12 12:23:50.207| ACL::~ACL: '
2011/06/12 12:23:50.207| ACL::~ACL: '
2011/06/12 12:23:50.207| ACL::~ACL: '

my config is as follows:

cache_mem 600 MB

dead_peer_timeout 30 seconds
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

maximum_object_size 50 MB
maximum_object_size_in_memory 100 KB
minimum_object_size 0 KB

cache_replacement_policy heap LFUDA
memory_replacement_policy heap LRU

acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
acl to_localhost dst x.x.x.x/32

acl localnet src 10.0.0.0/8     # RFC1918 possible internal network
acl localnet src 172.16.0.0/12  # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl localnet src fc00::/7       # RFC 4193 local private network range
acl localnet src fe80::/10      # RFC 4291 link-local (directly
plugged) machines

acl SSL_ports port 443
acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443         # https
acl Safe_ports port 70          # gopher
acl Safe_ports port 210         # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280         # http-mgmt
acl Safe_ports port 488         # gss-http
acl Safe_ports port 591         # filemaker
acl Safe_ports port 777         # multiling http
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 deny to_localhost

acl valid1 src x.x.x.0/24
acl valid2 src x.x.x.0/24


http_access allow valid1
http_access allow valid2
http_access allow localhost
http_access allow localnet
http_access allow to_localhost

http_access deny all

http_port 3128 tproxy

cache_dir aufs /cache 4000 16 256

coredump_dir cache

refresh_pattern -i
\.(iso|avi|wav|mp3|mp4|mpeg|swf|flv|x-flv|mpg|wma|ogg|wmv|asx|asf)$
260000 90% 260009 override-expire
refresh_pattern -i
\.(deb|rpm|exe|zip|tar|tgz|ram|rar|bin|ppt|doc|tiff|pdf|uxx)$ 260000
90% 260009 override-expire
# Add any of your own refresh_pattern entries above these.
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
refresh_pattern .               0       20%     4320

cache_effective_user squid
cache_effective_group squid

half_closed_clients off
buffered_logs on
client_db off
quick_abort_max 0 KB
quick_abort_min 0 KB
memory_pools off

cache_swap_high 95%
cache_swap_low 90
logfile_rotate 10

visible_hostname        cache.x.com

cache_mgr info@xxxxx

quick_abort_min 32 KB
quick_abort_max 32 KB
quick_abort_pct 95

negative_ttl 3 minutes
positive_dns_ttl 6 hours

pipeline_prefetch on

acl snmpkey snmp_community public
snmp_port 3401
snmp_access allow snmpkey localhost
snmp_access deny all

debug_options ALL,6




Yours Faithfully,
---
Amir H Shenavandeh


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

  Powered by Linux