Hi,
I've just downloaded and built a copy of

Squid Cache version 3.2.0.13-20111122-r11422 for x86_64-unknown-linux- gnu...

and built it on a brand new fully patched version of Ubuntu 10.4 LTS with IPv6 disabled ( don't use it here yet) through /etc/default/grub. A netstat -a shows that nothing is listening on an IPv6 port.

Squid built using

#!/bin/bash
ulimit -SHn 49152
CFLAGS="-m64" ./configure --enable-snmp --enable-basic-auth- helpers="PAM" --enable-cachemgr-hostname=wwwcache2-east.hull.ac.uk -- enable-htcp --enable-cache-digests --enable-async-io --prefix=/usr/ local/squid --with-pthreads --enable-removal-policies --enable-ssl -- disable-linux-netfilter -with-large-files --with-maxfd=49152 --with-dl --enable-icmp --enable-poll --disable-ident-lookups --enable-truncate --disable-delay-pools --disable-ipv6 --disable-loadable-modules


I've created a config file to use the SMP specifying a weight of 8 with nop mapping of processes to CPU cores.

If I try firing up /usr/local/squid/sbin/squid I get

.....
2011/11/24 15:41:42 kid9| assertion failed: mem.cc:205: "MemPools[type]"

at which point squid restarts

2011/11/24 15:41:45 kid9| Starting Squid Cache version 3.2.0.13-20111122-r11422 for x86_64-unknown-linux-gnu...
2011/11/24 15:41:45 kid9| Process ID 1306
2011/11/24 15:41:45 kid9| Process Roles: coordinator
2011/11/24 15:41:45 kid9| With 49152 file descriptors available
2011/11/24 15:41:45 kid9| Initializing IP Cache...
2011/11/24 15:41:45 kid9| DNS Socket created at 0.0.0.0, FD 7
2011/11/24 15:41:45 kid9| Adding nameserver 150.237.84.21 from squid.conf 2011/11/24 15:41:45 kid9| Adding nameserver 150.237.198.2 from squid.conf 2011/11/24 15:41:45 kid9| helperOpenServers: Starting 0/60 'rewrite_youtube.pl' processes 2011/11/24 15:41:45 kid9| helperOpenServers: No 'rewrite_youtube.pl' processes needed.
2011/11/24 15:41:45 kid9| Logfile: opening log daemon:/logs/access.log
2011/11/24 15:41:45 kid9| Logfile Daemon: opening log /logs/access.log
2011/11/24 15:41:45 kid9| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2011/11/24 15:41:45 kid9| Store logging disabled
2011/11/24 15:41:45 kid9| Swap maxSize 0 + 524288 KB, estimated 40329 objects
2011/11/24 15:41:45 kid9| Target number of buckets: 2016
2011/11/24 15:41:45 kid9| Using 8192 Store buckets
2011/11/24 15:41:45 kid9| Max Mem  size: 524288 KB [shared]
2011/11/24 15:41:45 kid9| Max Swap size: 0 KB
2011/11/24 15:41:45 kid9| Using Least Load store dir selection
2011/11/24 15:41:45 kid9| Set Current Directory to /usr/local/squid/ var/cache/squid
2011/11/24 15:41:45 kid9| Loaded Icons.
2011/11/24 15:41:45 kid9| Ready to serve requests.

and I get this....

2011/11/24 15:41:45 kid9| commBind: Cannot bind socket FD 9 to [::]: (13) Permission denied


2011/11/24 15:41:45 kid9| Configuring Sibling wwwcache1- east.hull.ac.uk/3128/4827 2011/11/24 15:41:50 kid9| Configuring Sibling wwwcache3- east.hull.ac.uk/3128/4827 2011/11/24 15:41:50 kid9| Configuring Sibling wwwcache4- east.hull.ac.uk/3128/4827 2011/11/24 15:41:50 kid9| Configuring Sibling slb-realsrv1- east.hull.ac.uk/3128/4827 2011/11/24 15:41:50 kid9| Configuring Sibling wwwcache1- west.hull.ac.uk/3128/4827 2011/11/24 15:41:50 kid9| Configuring Sibling wwwcache2- west.hull.ac.uk/3128/4827 2011/11/24 15:41:50 kid9| Configuring Sibling wwwcache3- west.hull.ac.uk/3128/4827

At this point although a ps -ef shows a number of squid processes, a netstat -a doesn't show any listening on any TCP ports. I then shutdown squid and get

2011/11/24 15:42:00 kid9| Preparing for shutdown after 0 requests
2011/11/24 15:42:00 kid9| Waiting 30 seconds for active connections to finish
2011/11/24 15:42:00 kid9| Shutdown: NTLM authentication.
2011/11/24 15:42:00 kid9| Shutdown: Negotiate authentication.
2011/11/24 15:42:00 kid9| Shutdown: Digest authentication.
2011/11/24 15:42:00 kid9| Shutdown: Basic authentication.
2011/11/24 15:42:31 kid9| Shutting down...
FATAL: Received Segment Violation...dying.

If I fire up squid with /usr/local/squid/sbin/squid -NY then things spring into life and works just fine.

Help !!

Rgds
Alex



==========
Time for another Macmillan Cancer Support event. This time its the 12 day Escape to Africa challenge

View route at 
http://maps.google.co.uk/maps/ms?ie=UTF8&hl=en&msa=0&msid=203779866436035016780.00049e867720273b73c39&z=8

Please sponsor me at http://www.justgiving.com/Alex-Sharaz



Reply via email to