Hi all
frist i want to thank all who worked on this website
i was install squid and other service in my office network server
and install the same services with same configration on biger network about 150 machines
every thing well on office network but the other network have problem
squid hang and stoped serve any request and squidclient command return "alarm clock " message after many time but the service still run at port 3128 and status is started when i run /etc/init.d/squid reload its run again sometime and hang again
squid log file have not any problem on it
i install my server on gentoo with flags
Code:
net-proxy/squid-3.0.19 USE="zero-penalty-hit -caps -epoll* -icap-client (-ipf-transparent) -kerberos -kqueue -ldap -logrotate* -mysql -nis -pam (-pf-transparent) -postgres -radius -samba -sasl (-selinux) -snmp -sqlite -ssl"
my squid.conf
Code:
http_port 3128 transparent
cache_store_log none
cache_mem 8 MB
forwarded_for delete
offline_mode on
icp_port 0
htcp_port 0
minimum_object_size 1 KB
maximum_object_size_in_memory 50 KB
maximum_object_size 800 MB
redirect_program /usr/bin/php /etc/squid/squidredirect
redirect_children 10
forward_timeout 300 seconds
connect_timeout 300 seconds
read_timeout 300 seconds
request_timeout 300 seconds
persistent_request_timeout 10 minute
client_lifetime 10 day
ie_refresh on
zph_tos_local 0x30
zph_tos_peer 0x0
zph_tos_parent off
zph_preserve_miss_tos on
cache_dir diskd /var/cache/squid 1248 16 256
acl my_network src 172.30.0.0/255.255.0.0
acl my_networks src 192.168.10.0/255.255.255.0
acl my_local src 192.168.1.193
acl my_locals src 127.0.0.1
acl Safe_ports port 80
acl CONNECT method CONNECT
http_access deny !Safe_ports
http_access allow CONNECT Safe_ports
http_access allow all
http_reply_access allow all
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i \.(deb|rpm|exe|zip|tar|tgz|tar.gz|gz|ram|rar|bin|ppt|doc|tiff|rar|img|arj|Z|dll|vob|m4a|xpi|bup|zix|xps|xlsx|xlsm|wv|wri|wps|wpl|wpd|wmf|wdb|wbcat|wba|vxd|vol|vob|vmdk|viff|vcd|vbs|upg|upd|uif|uccapilog|ttf|trm|tpl|torrent|tmp|tif|tib|thmx|themepack|theme|text|tbl|tao|sys|sym|sxw|sxc|swp|swe|svp|svg|sub|stf|sta|srt|src|sql|sol|sng|snf|snd|skp|sitx|sit|sisx|shs|shp|sfcache|set|scx|scr|scn|sav|rtf|rss|rsc|rom|rep|reg|ref|rec|rc|raw|r01|r02|r00|pzl|pwi|pub|pst|psd|psb|ps|prt|pro|prn|prj|prg|prf|pptx|pptm|ppt|ppsx|ppsm|pps|potx|ply|plt|plist|pf|pdb|pcx|pcm|pcd|part|pal|pak|pages|otf|opt|onepkg|one|old|ogg|odt|ods|odg|ocx|obj|o|nrg|not|nfo|nds|nco|nbu|nba|mtx|msi|mrw|mpp|mpc|mod|mobi|mkv|mis|midi|mht|mds|mdi|mdf|mdb|mbx|mac|m4v|m4p|m4b|m4a|m3u|m2ts|log|lng|lib|kml|keynote|jsp|json|jar|isz|ipd|inv|ini|ind|indd|inc|ifo|iff|idx|ics|icon|hqx|hi|fpx|gadget|fpt|fnt|fmt|flac|fla|fil|fax|es|eps|eng|emz|eml|dxf|dwg|dvf|dut|drw|drv|dotx|dotm|dot|docx|docm|dmo|dmg|djvu|dic|dib|def|deb|de|dct|dcr|dbx|dbf|db|dao|daa|cue|ctt|csv|crw|cr2|cpl|com|cnf|class|chm|cfg|cdx|cdr|cda|ccd|cbz|cbr|cap|cal|cab|c4d|bkp|bkf|bik|bat|bak|aup|auc|asx|arj|app|apk|ani|amr|ai|ace|accdt|accdb|abr|abm|aac|7zip|7z|3gp|3g2|3dr|3d|264|1st|iso|avi|wav|mp3|mov|qtm|mid|viv|mp4|3gp|mpg|mpeg|swf|flv|x-flv|wmv|wma|thm|dmg|rm|ram|dat|pdf|asis|prz|gif|png|jpg|jpeg|ico|jp(e?g|e|2)|tiff?|bmp|flv|js|css|xml|art|txt|inf|swf|xsl|html|htm)$ 61280000 3000% 525948000 override-expire ignore-no-cache ignore-no-store ignore-private override-lastmod ignore-reload ignore-auth
#refresh_pattern -i \.index.(html|htm)$ 0 40% 10080
#refresh_pattern -i \.(html|htm)$ 1440 40% 40320
refresh_pattern . 0 40% 40320
cache allow my_network
cache deny my_networks
cache allow my_local
cache allow my_locals
i try to remove redirectors but its the same
i think i have error in config but i don't know what
thanks for every one try help me