[more] [more] [more] [more] [/more] 
 Есть пара вопросов по сквиду: 
 В связи с частыми сбоями старого сервака, (которому более 15 лет) возникала необходимость перенести сквид на другое железо. Т.к. уже есть VMWare сервер прикрутил к нему FreeBSD 10.1 по аналогии со старым сервером, только версии софта последние...  
 Что бы не заморачиваться с конфигом сквида перенёс его со старой версии, было правда пара тройка ошибок из-за разных версий, но всё это легко полечилось. Поставил на тест и тут полезли неприятные вещи: при переходе по ссылке в браузере (любом) выдаёт сообщение:  
Цитата: Прокси-сервер отказывается принимать соединения
 после обновления страницы всё появляется, но для пользователя это не есть гуд 

 Нагуглил что ошибка лечится в след версии. Обновил до крайней версии сквида 3.4.12 но воз и ныне там 
 
  Вот что пишется в кэш.лог 
 [more]  
 2015/04/02 06:32:34 kid1| helperOpenServers: Starting 1/5 'squidGuard' processes 
 2015/04/02 10:29:38 kid1| assertion failed: comm.cc:1823: "isOpen(fd) && !commHasHalfClosedMonitor(fd)" 
 2015/04/02 10:29:43 kid1| Set Current Directory to /var/squid/cache/squid 
 2015/04/02 10:29:43 kid1| Starting Squid Cache version 3.4.12 for i386-portbld-freebsd10.1... 
 2015/04/02 10:29:43 kid1| Process ID 7392 
 2015/04/02 10:29:43 kid1| Process Roles: worker 
 2015/04/02 10:29:43 kid1| With 87876 file descriptors available 
 2015/04/02 10:29:43 kid1| Initializing IP Cache... 
 2015/04/02 10:29:43 kid1| DNS Socket created at 0.0.0.0, FD 8 
 2015/04/02 10:29:43 kid1| Adding domain domain.local from /etc/resolv.conf 
 2015/04/02 10:29:43 kid1| Adding nameserver 127.0.0.1 from /etc/resolv.conf 
 2015/04/02 10:29:43 kid1| Adding nameserver 192.168.100.4 from /etc/resolv.conf 
 2015/04/02 10:29:43 kid1| helperOpenServers: Starting 0/5 'squidGuard' processes 
 2015/04/02 10:29:43 kid1| helperOpenServers: No 'squidGuard' processes needed. 
 2015/04/02 10:29:43 kid1| Logfile: opening log daemon:/var/log/squid/access.log 
 2015/04/02 10:29:43 kid1| Logfile Daemon: opening log /var/log/squid/access.log 
 2015/04/02 10:29:43 kid1| Logfile: opening log stdio:/var/log/squid/access_syslog.log 
 2015/04/02 10:29:43 kid1| Unlinkd pipe opened on FD 15 
 2015/04/02 10:29:43 kid1| Logfile: opening log stdio:/var/log/squid/store.log 
 2015/04/02 10:29:43 kid1| Swap maxSize 20480000 + 262144 KB, estimated 1595549 objects 
 2015/04/02 10:29:43 kid1| Target number of buckets: 79777 
 2015/04/02 10:29:43 kid1| Using 131072 Store buckets 
 2015/04/02 10:29:43 kid1| Max Mem  size: 262144 KB 
 2015/04/02 10:29:43 kid1| Max Swap size: 20480000 KB 
 2015/04/02 10:29:43 kid1| Rebuilding storage in /var/squid/cache/squid (dirty log) 
 2015/04/02 10:29:43 kid1| Using Least Load store dir selection 
 2015/04/02 10:29:43 kid1| Set Current Directory to /var/squid/cache/squid 
 2015/04/02 10:29:43 kid1| Finished loading MIME types and icons. 
 2015/04/02 10:29:43 kid1| HTCP Disabled. 
 2015/04/02 10:29:43 kid1| Squid plugin modules loaded: 0 
 2015/04/02 10:29:43 kid1| Accepting HTTP Socket connections at local=0.0.0.0:3128 remote=[::] FD 19 flags=9 
 2015/04/02 10:29:43 kid1| Store rebuilding is 4.42% complete 
 2015/04/02 10:29:43 kid1| Done reading /var/squid/cache/squid swaplog (90548 entries) 
 2015/04/02 10:29:43 kid1| Finished rebuilding storage from disk. 
 2015/04/02 10:29:43 kid1|     90548 Entries scanned 
 2015/04/02 10:29:43 kid1|         0 Invalid entries. 
 2015/04/02 10:29:43 kid1|         0 With invalid flags. 
 2015/04/02 10:29:43 kid1|     90548 Objects loaded. 
 2015/04/02 10:29:43 kid1|         0 Objects expired. 
 2015/04/02 10:29:43 kid1|         0 Objects cancelled. 
 2015/04/02 10:29:43 kid1|         0 Duplicate URLs purged. 
 2015/04/02 10:29:43 kid1|         0 Swapfile clashes avoided. 
 2015/04/02 10:29:43 kid1|   Took 0.47 seconds (194017.15 objects/sec). 
 2015/04/02 10:29:43 kid1| Beginning Validation Procedure 
 2015/04/02 10:29:43 kid1|   Completed Validation Procedure 
 2015/04/02 10:29:43 kid1|   Validated 90548 Entries 
 2015/04/02 10:29:43 kid1|   store_swap_size = 1952912.00 KB 
 2015/04/02 10:29:44 kid1| storeLateRelease: released 0 objects 
 2015/04/02 10:32:41 kid1| Starting new redirector helpers... 
 2015/04/02 10:32:41 kid1| helperOpenServers: Starting 1/5 'squidGuard' processes 
 2015/04/02 10:32:41 kid1| Starting new redirector helpers... 
 2015/04/02 10:32:41 kid1| helperOpenServers: Starting 1/5 'squidGuard' processes 
 2015/04/02 10:32:41 kid1| Starting new redirector helpers... 
 2015/04/02 10:32:41 kid1| helperOpenServers: Starting 1/5 'squidGuard' processes 
 2015/04/02 10:32:41 kid1| Starting new redirector helpers... 
 2015/04/02 10:32:41 kid1| helperOpenServers: Starting 1/5 'squidGuard' processes 
 2015/04/02 10:32:41 kid1| Starting new redirector helpers... 
 2015/04/02 10:32:41 kid1| helperOpenServers: Starting 1/5 'squidGuard' processes 
 [/more]  
 т.е. вот этих ошибок: 
Цитата:  assertion failed: comm.cc:1823: "isOpen(fd) && !commHasHalfClosedMonitor(fd)" 
 появляется много. каждый раз после сбоя, и я так понимаю что сквид в этот момент перезапускается? 
 выкладываю конфиг сквида, может где то там грабли из старой версии тянутся? без ACL 
 squid.conf 
 [more] 
 http_port 3128 
 hierarchy_stoplist cgi-bin ? 
 acl QUERY urlpath_regex cgi-bin \? 
 no_cache deny QUERY   
 cache_mem 256 MB 
 cache_swap_low 90 
 cache_swap_high 95   
 maximum_object_size 16384 KB 
 minimum_object_size 0 KB 
 maximum_object_size_in_memory 8 KB   
 ipcache_size 1024 
 ipcache_low 90 
 ipcache_high 95   
 fqdncache_size 1024 
 cache_replacement_policy lru 
 memory_replacement_policy lru   
 cache_dir ufs /var/squid/cache/squid 20000 16 256 
 access_log daemon:/var/log/squid/access.log squid 
 logformat mylog %{%d.%m.%Y %H:%M:%S}tl.%03tu %6tr %>a %Ss/%>Hs %<st %rm %ru %un %Sh/%<A %mt 
 access_log stdio:/var/log/squid/access_syslog.log mylog 
 cache_log /var/log/squid/cache.log   
 cache_store_log daemon:/var/log/squid/store.log 
 cache_store_log stdio:/var/log/squid/store.log 
 mime_table /usr/local/etc/squid/mime.conf 
 log_mime_hdrs off 
 pid_filename /var/run/squid/squid.pid 
 debug_options ALL,1 
 client_netmask 255.255.255.255   
 ftp_user Squid@ 
 ftp_passive on 
 ftp_sanitycheck on   
 check_hostnames on 
 hosts_file /etc/hosts   
 url_rewrite_program /usr/local/bin/squidGuard 
 url_rewrite_children 5 startup=0 idle=1 concurrency=0   
 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   
 quick_abort_min 16 KB 
 quick_abort_max 16 KB 
 quick_abort_pct 95   
 read_ahead_gap 16 KB   
 negative_ttl 5 minutes 
 positive_dns_ttl 6 hours 
 negative_dns_ttl 1 minute 
 dns_v4_first on   
 forward_timeout 4 minutes 
 connect_timeout 60 second 
 read_timeout 15 minutes 
 request_timeout 5 minutes 
 persistent_request_timeout 1 minute 
 half_closed_clients on 
 ident_timeout 10 seconds 
 shutdown_lifetime 30 seconds   
 acl x-mms-framed rep_mime_type -i ^application/x-mms-framed$   
 acl AllUsers src all   
 acl SSL_ports port 443 7002 8101 8443 2400 7091 4064 4068 10240 
 acl Safe_ports port 80        # http 
 acl Safe_ports port 8080    # 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 Safe_ports port 7002    # for iFOBS 
 acl CONNECT method CONNECT   
 # Deny requests to unknown ports 
 http_access deny !Safe_ports   
 # Deny CONNECT to other than SSL ports 
 http_access deny CONNECT !SSL_ports   
 cache_mgr proxy@domain 
 cache_effective_user squid 
 cache_effective_group squid 
 visible_hostname proxy.domain   
 logfile_rotate 7   
 memory_pools on 
 memory_pools_limit 5 MB 
 forwarded_for off 
 log_icp_queries on 
 cachemgr_passwd password all 
 buffered_logs off 
 icon_directory /usr/local/etc/squid/icons 
 global_internal_static on 
 short_icon_urls on   
 error_directory /usr/local/etc/squid/errors/ru 
 error_log_languages on 
 err_page_stylesheet /usr/local/etc/squid/errorpage.css   
 uri_whitespace strip 
 coredump_dir /var/squid/cache/squid 
 redirector_bypass on 
 ignore_unknown_nameservers on 
 [/more]   
 На странице разрабов увидел что 3.4.12 в этой ветке последняя, дальше идёт 3.5 
 Сквид ставил из портов. Пните в меня ссылкой как 3.5 поставить не из портов? [/more] [/more] [/more]