Hi,

It has been resolved after compiling squid 3.2 with other compilation options.

BR
Ben
Hi,

Due to facing FATAL : dying issue and squid crashing with squid 3.1 series, I just download latest squid 3.2.3 and compile it on centos 6.2 64 bit, after compilation, I am facing issue that no logs coming into access.log but in cache.log i got continues,


2012/10/22 13:02:01 kid1| NOTE: 1972 Orphans since last started.
2012/10/22 13:02:01 kid1| BUG: Orphan Comm::Connection: local=69.164.37.115:80 remote=180.87.250.89:2877 FD 13 flags=17
2012/10/22 13:02:01 kid1| NOTE: 1973 Orphans since last started.
2012/10/22 13:02:01 kid1| BUG: Orphan Comm::Connection: local=205.128.78.126:80 remote=180.87.250.114:2668 FD 13 flags=17
2012/10/22 13:02:01 kid1| NOTE: 1974 Orphans since last started.
2012/10/22 13:02:01 kid1| BUG: Orphan Comm::Connection: local=205.128.78.126:80 remote=180.87.250.114:2669 FD 13 flags=17
2012/10/22 13:02:01 kid1| NOTE: 1975 Orphans since last started.
2012/10/22 13:02:01 kid1| BUG: Orphan Comm::Connection: local=205.128.78.126:80 remote=180.87.250.114:2670 FD 13 flags=17
2012/10/22 13:02:01 kid1| NOTE: 1976 Orphans since last started.
2012/10/22 13:02:01 kid1| BUG: Orphan Comm::Connection: local=205.128.78.126:80 remote=180.87.250.114:2671 FD 13 flags=17
2012/10/22 13:02:01 kid1| NOTE: 1977 Orphans since last started.
2012/10/22 13:02:01 kid1| BUG: Orphan Comm::Connection: local=69.164.37.115:80 remote=180.87.250.89:2878 FD 13 flags=17
2012/10/22 13:02:01 kid1| NOTE: 1978 Orphans since last started.
2012/10/22 13:02:01 kid1| BUG: Orphan Comm::Connection: local=69.164.37.115:80 remote=180.87.250.89:2879 FD 13 flags=17
2012/10/22 13:02:01 kid1| NOTE: 1979 Orphans since last started.
2012/10/22 13:02:01 kid1| BUG: Orphan Comm::Connection: local=205.128.78.126:80 remote=180.87.250.114:2672 FD 13 flags=17
2012/10/22 13:02:01 kid1| NOTE: 1980 Orphans since last started.
2012/10/22 13:02:01 kid1| BUG: Orphan Comm::Connection: local=205.128.78.126:80 remote=180.87.250.114:2659 FD 13 flags=17
2012/10/22 13:02:01 kid1| NOTE: 1981 Orphans since last started.
2012/10/22 13:02:01 kid1| BUG: Orphan Comm::Connection: local=31.172.124.2:80 remote=180.87.250.101:33490 FD 13 flags=17
2012/10/22 13:02:01 kid1| NOTE: 1982 Orphans since last started.
2012/10/22 13:02:01 kid1| BUG: Orphan Comm::Connection: local=23.11.234.10:80 remote=180.87.250.84:2341 FD 13 flags=17
2012/10/22 13:02:01 kid1| NOTE: 1983 Orphans since last started.
2012/10/22 13:02:01 kid1| BUG: Orphan Comm::Connection: local=74.125.236.63:80 remote=180.87.250.42:7025 FD 13 flags=17
2012/10/22 13:02:01 kid1| NOTE: 1984 Orphans since last started.
2012/10/22 13:02:01 kid1| BUG: Orphan Comm::Connection: local=205.128.78.126:80 remote=180.87.250.114:2660 FD 13 flags=17
2012/10/22 13:02:01 kid1| NOTE: 1985 Orphans since last started.


what does it means? something problem with my compilation?

my compilation perameters:

./sbin/squid -v
Squid Cache: Version 3.2.3
configure options: '--prefix=/opt/squid-3.2' '--enable-xmalloc-statistics' '--enable-storeio=aufs,ufs' '--enable-removal-policies=lru,heap' '--enable-icmp' '--enable-cachemgr-hostname=CACHE-Engine' '--enable-linux-netfilter' '--enable-follow-x-forwarded-for' '--disable-auth' '--disable-ipv6' '--enable-zph-qos' '--with-large-files' '--enable-snmp' '--enable-wccp' '--enable-wccp2' '--enable-kill-parent-hack' '--enable-http-violations' '--with-filedescriptors=16384' '--enable-async-io=128' '--enable-err-languages=English' '--enable-default-err-language=English' '--enable-icap-client' --enable-ltdl-convenience

squid.conf

# Example rule allowing access from your local networks.
# Adapt to list your (internal) IP networks from where browsing
# should be allowed

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
acl localnet src '/etc/squid/localnet'


#
# Recommended minimum Access Permission configuration:
#
# Only allow cachemgr access from localhost
http_access allow localhost manager
http_access deny manager

# Deny requests to certain unsafe ports
http_access deny !Safe_ports

# Deny CONNECT to other than secure SSL ports
http_access deny CONNECT !SSL_ports

# We strongly recommend the following be uncommented to protect innocent
# web applications running on the proxy server who think the only
# one who can access services on "localhost" is a local user
#http_access deny to_localhost

#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#

# Example rule allowing access from your local networks.
# Adapt localnet in the ACL section to list your (internal) IP networks
# from where browsing should be allowed
http_access allow localnet
http_access allow localhost

# And finally deny all other access to this proxy
http_access deny all

# Squid normally listens to port 3128
http_port 3128
http_port 8080 tproxy

# Uncomment and adjust the following to add a disk cache directory.
#cache_dir ufs /opt/squid-3.2/var/cache/squid 100 16 256

cache_dir aufs /cacheA 716800 128 512
cache_dir aufs /cacheB 716800 128 512
cache_dir aufs /cacheC 716800 128 512
cache_dir aufs /cacheD 716800 128 512

# Leave coredumps in the first cache dir
coredump_dir /cacheA

# 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



wccp2_router <ip>
wccp2_forwarding_method l2
wccp2_return_method l2
wccp2_service dynamic 80
wccp2_service_info 80 protocol=tcp flags=src_ip_hash priority=240 ports=80
wccp2_service dynamic 90
wccp2_service_info 90 protocol=tcp flags=dst_ip_hash,ports_source priority=240 ports=80
wccp2_assignment_method hash

BR
Ben

Reply via email to