Search squid archive

squid-3.1.1 + ecap + gzip copression fails

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

 



Hello

I tried ecap gzip compression in last Squid (http://code.google.com/p/squid-
ecap-gzip/ )

Compression works but every 5-20 minutes regularly squid restarts.

Mayby my config is wrong:

access_log /var/log/squid/access.log squid
acl bad url_regex "/etc/squid/bad.url     
acl baza_danych src XX.XX.XX.XX/32       
acl CONNECT method CONNECT                
acl localhost src 127.0.0.1/32 XX.XX.XX.XX/32
acl manager proto cache_object                 
acl our_networks src XX.XX.XX.0/24
acl purge method PURGE                                                                        
acl QUERY urlpath_regex cgi-bin \?                                                            
acl Safe_ports port 1025-65535  # unregistered ports                                          
acl Safe_ports port 21          # ftp                                                         
acl Safe_ports port 210         # wais                                                        
acl Safe_ports port 280         # http-mgmt                                                   
acl Safe_ports port 443         # https                                                       
acl Safe_ports port 488         # gss-http                                                    
acl Safe_ports port 591         # filemaker                                                   
acl Safe_ports port 70          # gopher                                                      
acl Safe_ports port 777         # multiling http                                              
acl Safe_ports port 80          # http                                                        
acl Safe_ports port 901         # SWAT                                                        
acl SSL_ports port 443                                                                        
acl to_localhost dst 127.0.0.0/8                                                              
acl zabronione dstdomain www.pogodynka.pl www.google.pl www.google.com                        
buffered_logs on                                                                              
cache deny QUERY                                                                              
cache deny QUERY                                                                              
cache deny zabronione                                                                         
cache_log /var/log/squid/cache.log                                                            
cache_mem 3500 MB                                                                             
cache_replacement_policy lru                                                                  
cache_store_log none                                                                          
cache_swap_high 97                                                                            
cache_swap_low 92                                                                             
client_db off                                                                                 
coredump_dir none                                                                             
error_directory /usr/share/squid/errors/pl
forwarded_for on
half_closed_clients on
hierarchy_stoplist cgi-bin ?
http_access allow manager our_networks
http_access allow our_networks
http_access allow purge localhost
http_access deny all
http_access deny bad
http_access deny CONNECT !SSL_ports
http_access deny localhost
http_access deny manager localhost
http_access deny purge
http_access deny !Safe_ports
http_port XX.XX.XX.XX:3128 transparent
icp_access allow all
logfile_rotate 30
maximum_object_size 30000 KB
maximum_object_size_in_memory 128 KB
max_open_disk_fds 32768
memory_pools off
memory_replacement_policy lru
pid_filename /var/run/squid.pid
quick_abort_min 0 KB
redirector_bypass on
refresh_pattern .               0       30%     7200
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
request_body_max_size 0 KB
snmp_access allow baza_danych
snmp_access deny all
snmp_port 3405
tcp_outgoing_address XX.XX.XX.XX
via on
ecap_enable on
ecap_service gzip_service respmod_precache 0 ecap://www.vigos.com/ecap_gzip
loadable_modules /usr/lib/ecap_adapter_gzip.so
acl GZIP_HTTP_STATUS http_status 200
adaptation_access gzip_service allow GZIP_HTTP_STATUS

-- 
Best regards,
Tomasz.

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

  Powered by Linux