Search squid archive

Re: Problem to set up multi-cpu multi-ports squid 3.3.12

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

 



Hey Eliezer,

Happy to read you.

What do you call "rock as cache_dir"?

Here is squid -kparse
2014/07/14 18:13:25| Startup: Initializing Authentication Schemes ...
2014/07/14 18:13:25| Startup: Initialized Authentication Scheme 'basic'
2014/07/14 18:13:25| Startup: Initialized Authentication Scheme 'digest'
2014/07/14 18:13:25| Startup: Initialized Authentication Scheme 'negotiate'
2014/07/14 18:13:25| Startup: Initialized Authentication Scheme 'ntlm'
2014/07/14 18:13:25| Startup: Initialized Authentication.
2014/07/14 18:13:25| Processing Configuration File: /etc/squid/squid.conf (depth 0)
2014/07/14 18:13:25| Processing: acl localhost src 127.0.0.1/32 ::1
2014/07/14 18:13:25| WARNING: (B) '127.0.0.1' is a subnetwork of (A) '127.0.0.1' 2014/07/14 18:13:25| WARNING: because of this '127.0.0.1' is ignored to keep splay tree searching predictable 2014/07/14 18:13:25| WARNING: You should probably remove '127.0.0.1' from the ACL named 'localhost' 2014/07/14 18:13:25| WARNING: (B) '127.0.0.1' is a subnetwork of (A) '127.0.0.1' 2014/07/14 18:13:25| WARNING: because of this '127.0.0.1' is ignored to keep splay tree searching predictable 2014/07/14 18:13:25| WARNING: You should probably remove '127.0.0.1' from the ACL named 'localhost'
2014/07/14 18:13:25| WARNING: (B) '::1' is a subnetwork of (A) '::1'
2014/07/14 18:13:25| WARNING: because of this '::1' is ignored to keep splay tree searching predictable 2014/07/14 18:13:25| WARNING: You should probably remove '::1' from the ACL named 'localhost'
2014/07/14 18:13:25| WARNING: (B) '::1' is a subnetwork of (A) '::1'
2014/07/14 18:13:25| WARNING: because of this '::1' is ignored to keep splay tree searching predictable 2014/07/14 18:13:25| WARNING: You should probably remove '::1' from the ACL named 'localhost'
2014/07/14 18:13:25| Processing: acl internalnet src 10.0.0.1/32
2014/07/14 18:13:25| Processing: acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1 2014/07/14 18:13:25| WARNING: (B) '127.0.0.0/8' is a subnetwork of (A) '127.0.0.0/8' 2014/07/14 18:13:25| WARNING: because of this '127.0.0.0/8' is ignored to keep splay tree searching predictable 2014/07/14 18:13:25| WARNING: You should probably remove '127.0.0.0/8' from the ACL named 'to_localhost'
2014/07/14 18:13:25| WARNING: (B) '0.0.0.0' is a subnetwork of (A) '0.0.0.0'
2014/07/14 18:13:25| WARNING: because of this '0.0.0.0' is ignored to keep splay tree searching predictable 2014/07/14 18:13:25| WARNING: You should probably remove '0.0.0.0' from the ACL named 'to_localhost'
2014/07/14 18:13:25| WARNING: (B) '0.0.0.0' is a subnetwork of (A) '0.0.0.0'
2014/07/14 18:13:25| WARNING: because of this '0.0.0.0' is ignored to keep splay tree searching predictable 2014/07/14 18:13:25| WARNING: You should probably remove '0.0.0.0' from the ACL named 'to_localhost'
2014/07/14 18:13:25| WARNING: (B) '::1' is a subnetwork of (A) '::1'
2014/07/14 18:13:25| WARNING: because of this '::1' is ignored to keep splay tree searching predictable 2014/07/14 18:13:25| WARNING: You should probably remove '::1' from the ACL named 'to_localhost'
2014/07/14 18:13:25| WARNING: (B) '::1' is a subnetwork of (A) '::1'
2014/07/14 18:13:25| WARNING: because of this '::1' is ignored to keep splay tree searching predictable 2014/07/14 18:13:25| WARNING: You should probably remove '::1' from the ACL named 'to_localhost' 2014/07/14 18:13:25| Processing: acl localnet src 10.0.0.0/8 # RFC1918 possible internal network 2014/07/14 18:13:25| Processing: acl localnet src 172.16.0.0/12 # RFC1918 possible internal network 2014/07/14 18:13:25| Processing: acl localnet src 192.168.0.0/16 # RFC1918 possible internal network 2014/07/14 18:13:25| Processing: acl localnet src fc00::/7 # RFC 4193 local private network range 2014/07/14 18:13:25| Processing: acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines
2014/07/14 18:13:25| Processing: acl SSL_ports port 443
2014/07/14 18:13:25| Processing: acl Safe_ports port 80         # http
2014/07/14 18:13:25| Processing: acl Safe_ports port 21         # ftp
2014/07/14 18:13:25| Processing: acl Safe_ports port 443 # https
2014/07/14 18:13:25| Processing: acl Safe_ports port 70         # gopher
2014/07/14 18:13:25| Processing: acl Safe_ports port 210 # wais 2014/07/14 18:13:25| Processing: acl Safe_ports port 1025-65535 # unregistered ports 2014/07/14 18:13:25| Processing: acl Safe_ports port 280 # http-mgmt 2014/07/14 18:13:25| Processing: acl Safe_ports port 488 # gss-http 2014/07/14 18:13:25| Processing: acl Safe_ports port 591 # filemaker 2014/07/14 18:13:25| Processing: acl Safe_ports port 777 # multiling http
2014/07/14 18:13:25| Processing: acl CONNECT method CONNECT
2014/07/14 18:13:25| Processing: http_port 8200
2014/07/14 18:13:25| Processing: include /etc/squid/conf.d/*
2014/07/14 18:13:25| Processing Configuration File: /etc/squid/conf.d/squid_assuta.conf (depth 1)
2014/07/14 18:13:25| Processing: acl assutanet src 199.203.51.242
2014/07/14 18:13:25| Processing: http_access allow assutanet
2014/07/14 18:13:25| Processing Configuration File: /etc/squid/conf.d/squid_authorization.conf (depth 1)
2014/07/14 18:13:25| Processing: acl all src all
2014/07/14 18:13:25| WARNING: (B) '::/0' is a subnetwork of (A) '::/0'
2014/07/14 18:13:25| WARNING: because of this '::/0' is ignored to keep splay tree searching predictable 2014/07/14 18:13:25| WARNING: You should probably remove '::/0' from the ACL named 'all'
2014/07/14 18:13:25| Processing: acl IP_46_116_138_174    src 46.116.138.174
2014/07/14 18:13:25| Processing: acl IP_85_250_103_23    src 85.250.103.23
2014/07/14 18:13:25| Processing: acl stephane   src 93.172.1.200
2014/07/14 18:13:25| Processing: acl yadwirenet2        src 93.172.44.84
2014/07/14 18:13:25| Processing: acl perfactionet src ovh2.perfaction.net
2014/07/14 18:13:25| Processing: acl raanananet src fw0.perfaction.net
2014/07/14 18:13:25| Processing: acl yadwirenet src 46.116.41.247
2014/07/14 18:13:25| Processing: http_access allow IP_46_116_138_174
2014/07/14 18:13:25| Processing: http_access allow IP_85_250_103_23
2014/07/14 18:13:25| Processing: http_access allow yadwirenet
2014/07/14 18:13:25| Processing: http_access allow yadwirenet2
2014/07/14 18:13:25| Processing Configuration File: /etc/squid/conf.d/squid_icap.conf (depth 1)
2014/07/14 18:13:25| Processing: icap_enable on
2014/07/14 18:13:25| Processing: icap_send_client_ip on
2014/07/14 18:13:25| Processing: icap_send_client_username on
2014/07/14 18:13:25| Processing: icap_client_username_encode off
2014/07/14 18:13:25| Processing: icap_client_username_header X-Client-Username
2014/07/14 18:13:25| Processing: icap_preview_enable on
2014/07/14 18:13:25| Processing: icap_preview_size 1024
2014/07/14 18:13:25| Processing: icap_service injection_req reqmod_precache bypass=1 icap://10.0.0.1:1344/injection 2014/07/14 18:13:25| Processing: icap_service injection respmod_precache bypass=1 icap://10.0.0.1:1344/injection
2014/07/14 18:13:25| Processing: acl yadwire dstdomain yadwire.com
2014/07/14 18:13:25| Processing: adaptation_service_set service_req
2014/07/14 18:13:25| Processing: icap_service service_req reqmod_precache bypass=1 icap://10.0.0.1:1344/request
2014/07/14 18:13:25| Processing: adaptation_access service_req allow all
2014/07/14 18:13:25| Processing: adaptation_service_set service_resp
2014/07/14 18:13:25| Processing: icap_service service_resp respmod_precache bypass=1 icap://10.0.0.1:1344/response
2014/07/14 18:13:25| Processing: adaptation_access service_resp allow all
2014/07/14 18:13:25| Processing Configuration File: /etc/squid/conf.d/squid_id.conf (depth 1)
2014/07/14 18:13:25| Processing: visible_hostname yadus1-6.yadwire.com
2014/07/14 18:13:25| Processing: logformat combined %>a %ui %un [%tl] "%rm %ru %rp HTTP/%rv" %>Hs %<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh %lp 2014/07/14 18:13:25| WARNING: The "rp" formatting code is deprecated. Use the ">rp" instead. 2014/07/14 18:13:25| Processing: access_log /var/log/squid/access.log combined
2014/07/14 18:13:25| Processing: workers 4
2014/07/14 18:13:25| Processing Configuration File: /etc/squid/conf.d/squid_injecteurs.conf (depth 1)
2014/07/14 18:13:25| Processing: acl port8200 myport 8200
2014/07/14 18:13:25| UPGRADE: ACL 'myport' type is has been renamed to 'localport' and matches the port the client connected to. 2014/07/14 18:13:25| Processing: adaptation_access injection6466B3A23C5B allow port8200 IP_46_116_138_174 2014/07/14 18:13:25| Processing: adaptation_access injection6466B3A23C5B allow port8200 IP_85_250_103_23 2014/07/14 18:13:25| Processing: adaptation_access injection6466B3A23C5B allow port8200 perfactionet 2014/07/14 18:13:25| Processing: adaptation_access injection6466B3A23C5B allow port8200 raanananet 2014/07/14 18:13:25| Processing: adaptation_access injection6466B3A23C5B allow port8200 yadwirenet 2014/07/14 18:13:25| Processing: icap_service injection6466B3A23C5B respmod_precache bypass=1 icap://10.0.0.1:1344/injection6466B3A23C5B 2014/07/14 18:13:25| Processing Configuration File: /etc/squid/conf.d/squid_ports.conf (depth 1)
2014/07/14 18:13:25| Processing: http_port 8200
2014/07/14 18:13:25| Processing Configuration File: /etc/squid/conf.d/squid_routeur.conf (depth 1)
2014/07/14 18:13:25| Processing: http_access allow manager localhost
2014/07/14 18:13:25| Processing: http_access allow manager internalnet
2014/07/14 18:13:25| Processing: http_access deny manager
2014/07/14 18:13:25| Processing: http_access deny !Safe_ports
2014/07/14 18:13:25| Processing: http_access deny CONNECT !SSL_ports
2014/07/14 18:13:25| Processing: http_access allow localnet
2014/07/14 18:13:25| Processing: http_access allow localhost
2014/07/14 18:13:25| Processing: http_access allow internalnet
2014/07/14 18:13:25| Processing: http_access deny all
2014/07/14 18:13:25| Processing: hierarchy_stoplist cgi-bin ?
2014/07/14 18:13:25| Processing: coredump_dir /var/spool/squid
2014/07/14 18:13:25| Processing: refresh_pattern ^ftp: 1440    20%     10080
2014/07/14 18:13:25| Processing: refresh_pattern ^gopher: 1440 0% 1440 2014/07/14 18:13:25| Processing: refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
2014/07/14 18:13:25| Processing: refresh_pattern . 0       20%     4320
2014/07/14 18:13:25| Processing: forwarded_for off
2014/07/14 18:13:25| Processing: request_header_access Allow allow all
2014/07/14 18:13:25| Processing: request_header_access Authorization allow all 2014/07/14 18:13:25| Processing: request_header_access WWW-Authenticate allow all 2014/07/14 18:13:25| Processing: request_header_access Proxy-Authorization allow all 2014/07/14 18:13:25| Processing: request_header_access Proxy-Authenticate allow all 2014/07/14 18:13:25| Processing: request_header_access Cache-Control allow all 2014/07/14 18:13:25| Processing: request_header_access Content-Encoding allow all 2014/07/14 18:13:25| Processing: request_header_access Content-Length allow all 2014/07/14 18:13:25| Processing: request_header_access Content-Type allow all
2014/07/14 18:13:25| Processing: request_header_access Date allow all
2014/07/14 18:13:25| Processing: request_header_access Expires allow all
2014/07/14 18:13:25| Processing: request_header_access Host allow all
2014/07/14 18:13:25| Processing: request_header_access If-Modified-Since allow all 2014/07/14 18:13:25| Processing: request_header_access Last-Modified allow all
2014/07/14 18:13:25| Processing: request_header_access Location allow all
2014/07/14 18:13:25| Processing: request_header_access Pragma allow all
2014/07/14 18:13:25| Processing: request_header_access Referer allow all
2014/07/14 18:13:25| Processing: request_header_access Accept allow all
2014/07/14 18:13:25| Processing: request_header_access Accept-Charset allow all 2014/07/14 18:13:25| Processing: request_header_access Accept-Encoding allow all 2014/07/14 18:13:25| Processing: request_header_access Accept-Language allow all 2014/07/14 18:13:25| Processing: request_header_access Content-Language allow all 2014/07/14 18:13:25| Processing: request_header_access Mime-Version allow all
2014/07/14 18:13:25| Processing: request_header_access Retry-After allow all
2014/07/14 18:13:25| Processing: request_header_access Title allow all
2014/07/14 18:13:25| Processing: request_header_access Connection allow all
2014/07/14 18:13:25| Processing: request_header_access Proxy-Connection allow all
2014/07/14 18:13:25| Processing: request_header_access User-Agent allow all
2014/07/14 18:13:25| Processing: request_header_access Cookie allow all
2014/07/14 18:13:25| Processing: request_header_access All deny all
2014/07/14 18:13:25| Initializing https proxy context


Here is cache.log

2014/07/14 17:11:33 kid2| Starting Squid Cache version 3.3.12 for x86_64-redhat-linux-gnu... 2014/07/14 17:11:33 kid1| Starting Squid Cache version 3.3.12 for x86_64-redhat-linux-gnu...
2014/07/14 17:11:33 kid1| Process ID 23982
2014/07/14 17:11:33 kid1| Process Roles: worker
2014/07/14 17:11:33 kid1| With 16384 file descriptors available
2014/07/14 17:11:33 kid1| Initializing IP Cache...
2014/07/14 17:11:33 kid1| DNS Socket created at [::], FD 8
2014/07/14 17:11:33 kid1| DNS Socket created at 0.0.0.0, FD 9
2014/07/14 17:11:33 kid1| Adding domain yadwire.com from /etc/resolv.conf
2014/07/14 17:11:33 kid1| Adding domain yadwire.com from /etc/resolv.conf
2014/07/14 17:11:33 kid1| Adding nameserver 10.0.0.1 from /etc/resolv.conf
2014/07/14 17:11:33 kid1| Logfile: opening log /var/log/squid/access.log
2014/07/14 17:11:33 kid1| WARNING: log parameters now start with a module name. Use 'stdio:/var/log/squid/access.log' 2014/07/14 17:11:33 kid4| Starting Squid Cache version 3.3.12 for x86_64-redhat-linux-gnu...
2014/07/14 17:11:33 kid4| Process ID 23979
2014/07/14 17:11:33 kid4| Process Roles: worker
2014/07/14 17:11:33 kid4| With 16384 file descriptors available
2014/07/14 17:11:33 kid4| Initializing IP Cache...
2014/07/14 17:11:33 kid4| DNS Socket created at [::], FD 8
2014/07/14 17:11:33 kid4| DNS Socket created at 0.0.0.0, FD 9
2014/07/14 17:11:33 kid4| Adding domain yadwire.com from /etc/resolv.conf
2014/07/14 17:11:33 kid4| Adding domain yadwire.com from /etc/resolv.conf
2014/07/14 17:11:33 kid4| Adding nameserver 10.0.0.1 from /etc/resolv.conf
2014/07/14 17:11:33 kid1| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2014/07/14 17:11:33 kid1| Store logging disabled
2014/07/14 17:11:33 kid1| WARNING: disk-cache maximum object size is unlimited but mem-cache maximum object size is 32.00 KB 2014/07/14 17:11:33 kid1| Swap maxSize 0 + 262144 KB, estimated 20164 objects
2014/07/14 17:11:33 kid1| Target number of buckets: 1008
2014/07/14 17:11:33 kid1| Using 8192 Store buckets
2014/07/14 17:11:33 kid1| Max Mem  size: 262144 KB [shared]
2014/07/14 17:11:33 kid1| Max Swap size: 0 KB
2014/07/14 17:11:33 kid1| Using Least Load store dir selection
2014/07/14 17:11:33 kid1| Set Current Directory to /var/spool/squid
2014/07/14 17:11:33 kid4| Logfile: opening log /var/log/squid/access.log
2014/07/14 17:11:33 kid4| WARNING: log parameters now start with a module name. Use 'stdio:/var/log/squid/access.log'
2014/07/14 17:11:33 kid2| Process ID 23981
2014/07/14 17:11:33 kid2| Process Roles: worker
2014/07/14 17:11:33 kid2| With 16384 file descriptors available
2014/07/14 17:11:33 kid2| Initializing IP Cache...
2014/07/14 17:11:33 kid2| DNS Socket created at [::], FD 8
2014/07/14 17:11:33 kid2| DNS Socket created at 0.0.0.0, FD 9
2014/07/14 17:11:33 kid2| Adding domain yadwire.com from /etc/resolv.conf
2014/07/14 17:11:33 kid2| Adding domain yadwire.com from /etc/resolv.conf
2014/07/14 17:11:33 kid2| Adding nameserver 10.0.0.1 from /etc/resolv.conf
2014/07/14 17:11:33 kid2| Logfile: opening log /var/log/squid/access.log
2014/07/14 17:11:33 kid2| WARNING: log parameters now start with a module name. Use 'stdio:/var/log/squid/access.log' 2014/07/14 17:11:33 kid2| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2014/07/14 17:11:33 kid2| Store logging disabled
2014/07/14 17:11:33 kid2| WARNING: disk-cache maximum object size is unlimited but mem-cache maximum object size is 32.00 KB 2014/07/14 17:11:33 kid2| Swap maxSize 0 + 262144 KB, estimated 20164 objects
2014/07/14 17:11:33 kid2| Target number of buckets: 1008
2014/07/14 17:11:33 kid2| Using 8192 Store buckets
2014/07/14 17:11:33 kid2| Max Mem  size: 262144 KB [shared]
2014/07/14 17:11:33 kid2| Max Swap size: 0 KB
2014/07/14 17:11:33 kid2| Using Least Load store dir selection
2014/07/14 17:11:33 kid2| Set Current Directory to /var/spool/squid
2014/07/14 17:11:33 kid4| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2014/07/14 17:11:33 kid4| Store logging disabled
2014/07/14 17:11:33 kid4| WARNING: disk-cache maximum object size is unlimited but mem-cache maximum object size is 32.00 KB 2014/07/14 17:11:33 kid4| Swap maxSize 0 + 262144 KB, estimated 20164 objects
2014/07/14 17:11:33 kid4| Target number of buckets: 1008
2014/07/14 17:11:33 kid4| Using 8192 Store buckets
2014/07/14 17:11:33 kid4| Max Mem  size: 262144 KB [shared]
2014/07/14 17:11:33 kid4| Max Swap size: 0 KB
2014/07/14 17:11:33 kid4| Using Least Load store dir selection
2014/07/14 17:11:33 kid4| Set Current Directory to /var/spool/squid
2014/07/14 17:11:33 kid5| Starting Squid Cache version 3.3.12 for x86_64-redhat-linux-gnu...
2014/07/14 17:11:33 kid5| Process ID 23978
2014/07/14 17:11:33 kid5| Process Roles: coordinator
2014/07/14 17:11:33 kid5| With 16384 file descriptors available
2014/07/14 17:11:33 kid5| Initializing IP Cache...
2014/07/14 17:11:33 kid5| DNS Socket created at [::], FD 8
2014/07/14 17:11:33 kid5| DNS Socket created at 0.0.0.0, FD 9
2014/07/14 17:11:33 kid5| Adding domain yadwire.com from /etc/resolv.conf
2014/07/14 17:11:33 kid5| Adding domain yadwire.com from /etc/resolv.conf
2014/07/14 17:11:33 kid5| Adding nameserver 10.0.0.1 from /etc/resolv.conf
2014/07/14 17:11:33 kid5| Logfile: opening log /var/log/squid/access.log
2014/07/14 17:11:33 kid5| WARNING: log parameters now start with a module name. Use 'stdio:/var/log/squid/access.log' 2014/07/14 17:11:33 kid3| Starting Squid Cache version 3.3.12 for x86_64-redhat-linux-gnu...
2014/07/14 17:11:33 kid3| Process ID 23980
2014/07/14 17:11:33 kid3| Process Roles: worker
2014/07/14 17:11:33 kid3| With 16384 file descriptors available
2014/07/14 17:11:33 kid3| Initializing IP Cache...
2014/07/14 17:11:33 kid3| DNS Socket created at [::], FD 8
2014/07/14 17:11:33 kid3| DNS Socket created at 0.0.0.0, FD 9
2014/07/14 17:11:33 kid3| Adding domain yadwire.com from /etc/resolv.conf
2014/07/14 17:11:33 kid3| Adding domain yadwire.com from /etc/resolv.conf
2014/07/14 17:11:33 kid3| Adding nameserver 10.0.0.1 from /etc/resolv.conf
2014/07/14 17:11:33 kid3| Logfile: opening log /var/log/squid/access.log
2014/07/14 17:11:33 kid3| WARNING: log parameters now start with a module name. Use 'stdio:/var/log/squid/access.log' 2014/07/14 17:11:33 kid5| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2014/07/14 17:11:33 kid5| Store logging disabled
2014/07/14 17:11:33 kid5| Swap maxSize 0 + 262144 KB, estimated 20164 objects
2014/07/14 17:11:33 kid5| Target number of buckets: 1008
2014/07/14 17:11:33 kid5| Using 8192 Store buckets
2014/07/14 17:11:33 kid5| Max Mem  size: 262144 KB [shared]
2014/07/14 17:11:33 kid5| Max Swap size: 0 KB
2014/07/14 17:11:33 kid5| Using Least Load store dir selection
2014/07/14 17:11:33 kid5| Set Current Directory to /var/spool/squid
2014/07/14 17:11:33 kid1| Loaded Icons.
2014/07/14 17:11:33 kid1| HTCP Disabled.
2014/07/14 17:11:33 kid1| Squid plugin modules loaded: 0
2014/07/14 17:11:33 kid1| Adaptation support is on
2014/07/14 17:11:33 kid1| commBind: Cannot bind socket FD 14 to [::]: (2) No such file or directory
2014/07/14 17:11:33 kid2| Loaded Icons.
2014/07/14 17:11:33 kid2| HTCP Disabled.
2014/07/14 17:11:33 kid2| Squid plugin modules loaded: 0
2014/07/14 17:11:33 kid2| Adaptation support is on
2014/07/14 17:11:33 kid2| commBind: Cannot bind socket FD 14 to [::]: (2) No such file or directory 2014/07/14 17:11:33 kid3| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2014/07/14 17:11:33 kid3| Store logging disabled
2014/07/14 17:11:33 kid3| WARNING: disk-cache maximum object size is unlimited but mem-cache maximum object size is 32.00 KB 2014/07/14 17:11:33 kid3| Swap maxSize 0 + 262144 KB, estimated 20164 objects
2014/07/14 17:11:33 kid3| Target number of buckets: 1008
2014/07/14 17:11:33 kid3| Using 8192 Store buckets
2014/07/14 17:11:33 kid3| Max Mem  size: 262144 KB [shared]
2014/07/14 17:11:33 kid3| Max Swap size: 0 KB
2014/07/14 17:11:33 kid3| Using Least Load store dir selection
2014/07/14 17:11:33 kid3| Set Current Directory to /var/spool/squid
2014/07/14 17:11:33 kid5| Loaded Icons.
2014/07/14 17:11:33 kid5| Squid plugin modules loaded: 0
2014/07/14 17:11:33 kid5| Adaptation support is on
2014/07/14 17:11:33 kid5| commBind: Cannot bind socket FD 11 to [::]: (2) No such file or directory
2014/07/14 17:11:33 kid4| Loaded Icons.
2014/07/14 17:11:33 kid4| HTCP Disabled.
2014/07/14 17:11:33 kid4| Squid plugin modules loaded: 0
2014/07/14 17:11:33 kid4| Adaptation support is on
2014/07/14 17:11:33 kid4| commBind: Cannot bind socket FD 14 to [::]: (2) No such file or directory
2014/07/14 17:11:33 kid3| Loaded Icons.
2014/07/14 17:11:33 kid3| HTCP Disabled.
2014/07/14 17:11:33 kid3| Squid plugin modules loaded: 0
2014/07/14 17:11:33 kid3| Adaptation support is on
2014/07/14 17:11:33 kid3| commBind: Cannot bind socket FD 14 to [::]: (2) No such file or directory
2014/07/14 17:11:34 kid1| storeLateRelease: released 0 objects
2014/07/14 17:11:34 kid2| storeLateRelease: released 0 objects
2014/07/14 17:11:34 kid4| storeLateRelease: released 0 objects
2014/07/14 17:11:34 kid5| storeLateRelease: released 0 objects
2014/07/14 17:11:34 kid3| storeLateRelease: released 0 objects
2014/07/14 17:12:05 kid3| Shutting down...
2014/07/14 17:12:05 kid3| storeDirWriteCleanLogs: Starting...
2014/07/14 17:12:05 kid3|   Finished.  Wrote 0 entries.
2014/07/14 17:12:05 kid3|   Took 0.00 seconds (  0.00 entries/sec).
CPU Usage: 0.048 seconds = 0.032 user + 0.016 sys
Maximum Resident Size: 64160 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        total space in arena:    5812 KB
        Ordinary blocks:         5795 KB      3 blks
        Small blocks:               0 KB     21 blks
        Holding blocks:          9744 KB      5 blks
        Free Small blocks:          1 KB
        Free Ordinary blocks:      16 KB
        Total in use:           15539 KB 267%
        Total free:                17 KB 0%
2014/07/14 17:12:05 kid3| Logfile: closing log stdio:/var/log/squid/access.log
2014/07/14 17:12:05 kid3| Open FD UNSTARTED     8 DNS Socket IPv6
2014/07/14 17:12:05 kid3| Open FD UNSTARTED     9 DNS Socket IPv4
2014/07/14 17:12:05 kid2| Shutting down...
2014/07/14 17:12:05 kid2| storeDirWriteCleanLogs: Starting...
2014/07/14 17:12:05 kid2|   Finished.  Wrote 0 entries.
2014/07/14 17:12:05 kid2|   Took 0.00 seconds (  0.00 entries/sec).
CPU Usage: 0.048 seconds = 0.040 user + 0.008 sys
Maximum Resident Size: 64160 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        total space in arena:    5812 KB
        Ordinary blocks:         5795 KB      3 blks
        Small blocks:               0 KB     21 blks
        Holding blocks:          9744 KB      5 blks
        Free Small blocks:          1 KB
        Free Ordinary blocks:      16 KB
        Total in use:           15539 KB 267%
        Total free:                17 KB 0%
2014/07/14 17:12:05 kid2| Logfile: closing log stdio:/var/log/squid/access.log
2014/07/14 17:12:05 kid2| Open FD UNSTARTED     8 DNS Socket IPv6
2014/07/14 17:12:05 kid2| Open FD UNSTARTED     9 DNS Socket IPv4
2014/07/14 17:12:05 kid3| Squid Cache (Version 3.3.12): Exiting normally.
2014/07/14 17:12:05 kid4| Shutting down...
2014/07/14 17:12:05 kid4| storeDirWriteCleanLogs: Starting...
2014/07/14 17:12:05 kid4|   Finished.  Wrote 0 entries.
2014/07/14 17:12:05 kid4|   Took 0.00 seconds (  0.00 entries/sec).
CPU Usage: 0.046 seconds = 0.036 user + 0.010 sys
Maximum Resident Size: 64160 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        total space in arena:    5812 KB
        Ordinary blocks:         5795 KB      3 blks
        Small blocks:               0 KB     21 blks
        Holding blocks:          9744 KB      5 blks
        Free Small blocks:          1 KB
        Free Ordinary blocks:      16 KB
        Total in use:           15539 KB 267%
        Total free:                17 KB 0%
2014/07/14 17:12:05 kid4| Logfile: closing log stdio:/var/log/squid/access.log
2014/07/14 17:12:05 kid4| Open FD UNSTARTED     8 DNS Socket IPv6
2014/07/14 17:12:05 kid4| Open FD UNSTARTED     9 DNS Socket IPv4
2014/07/14 17:12:05 kid1| Shutting down...
2014/07/14 17:12:05 kid1| storeDirWriteCleanLogs: Starting...
2014/07/14 17:12:05 kid1|   Finished.  Wrote 0 entries.
2014/07/14 17:12:05 kid1|   Took 0.00 seconds (  0.00 entries/sec).
CPU Usage: 0.046 seconds = 0.034 user + 0.012 sys
Maximum Resident Size: 64176 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        total space in arena:    5812 KB
        Ordinary blocks:         5795 KB      3 blks
        Small blocks:               0 KB     21 blks
        Holding blocks:          9744 KB      5 blks
        Free Small blocks:          1 KB
        Free Ordinary blocks:      16 KB
        Total in use:           15539 KB 267%
        Total free:                17 KB 0%
2014/07/14 17:12:05 kid1| Logfile: closing log stdio:/var/log/squid/access.log
2014/07/14 17:12:05 kid1| Open FD UNSTARTED     8 DNS Socket IPv6
2014/07/14 17:12:05 kid1| Open FD UNSTARTED     9 DNS Socket IPv4
2014/07/14 17:12:05 kid4| Squid Cache (Version 3.3.12): Exiting normally.
2014/07/14 17:12:05 kid1| Squid Cache (Version 3.3.12): Exiting normally.
2014/07/14 17:12:05 kid2| Squid Cache (Version 3.3.12): Exiting normally.

Do you see anything strange?

Patrick
Le 14/07/2014 18:43, Eliezer Croitoru a écrit :
Hey There,

It depends, In a case you are using UFS\AUFS cache_dir you cannot.. use SMP with it. You will need to use rock and only rock as a cache_dir for the time being. You need to run "squid -kparse" to make sure your settings makes sense for squid. else then that you should look at cache.log to see if there is any output that will make sense of the result.
If you want us to look at your squid.conf share it..

I will not try to spoil anything about since it's Fedora a powerful system but not all sysadmin will like to work with it for too long due to the short life cycle of this OS.

Eliezer

On 07/14/2014 06:30 PM, Patrick Chemla wrote:
Hi,

I have a multi-ports config of squid running from version 3.1.19
upgraded to 3.3.12. Working like a charm, but the traffic is reaching
one cpu limit.

I want to use SMP capabilities with SMP workers on my 8 cpus/64G mem
Fedora 20 box.

I saw in the
http://wiki.squid-cache.org/Features/SmpScale#What_can_workers_share.3F
that workers can share http_ports, right?

When I run with workers 1 , I can see the squid-1 process listen on the
designed port with netstat.

When I run with workers greater than 1, I can see processes squid-1,
squid-2... squid-n with ps -ef|fgrep squid, but not any  process
listening to any tcp port with netstat -apn (I see all processes
listening to udp ports).

I can't find any configuration example featuring SMP workers capability
for squid 3.3.12, including http_ports lines.

Could any one help me there?

Thanks a lot
Patrick






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

  Powered by Linux