eniomarconcini

squid_tunning.conf

Jun 3rd, 2015
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. # AJUSTES PARA DESEMPENHO
  2. #
  3. httpd_suppress_version_string on
  4. client_persistent_connections off
  5. detect_broken_pconn on
  6. fqdncache_size 8192
  7. half_closed_clients off
  8. ipcache_high 95
  9. ipcache_low 90
  10. ipcache_size 8192
  11. log_icp_queries off
  12. negative_dns_ttl 60 seconds
  13. negative_ttl 30 seconds
  14. pipeline_prefetch 0
  15. positive_dns_ttl 6 hours
  16. server_persistent_connections on
  17. store_avg_object_size 64 KB
  18. strip_query_terms off
  19. vary_ignore_expire on
  20. uri_whitespace strip
  21. accept_filter httpready # FreeBSD apenas, no linux fica: data
  22.  
  23. # OUTROS TESTES
  24.  
  25. # PADRÃO PARA O REFRESH_PATTER
  26. reload_into_ims on
  27. refresh_all_ims on
  28.  
  29. memory_pools on
  30. memory_pools_limit 128 MB
  31. connect_timeout 2 minutes
  32. read_timeout 5 minutes
  33. request_timeout 1 minute
  34. client_lifetime 10 minutes # padrao 1 day, mas tava com 30 minutes
  35. pconn_timeout 20 seconds
  36.  
  37. client_db off # testar interferencia no access.log
  38. buffered_logs on # ganha tempo de IO nas escritas do log
  39.  
  40. # CUIDADO: setar para off da problema com site: vunesp, mec.gov.br
  41. forwarded_for on #transparent # deixar 'on' ou 'transparent'
Advertisement
Add Comment
Please, Sign In to add comment