squid 2.6 编译优化参数

一月 26th, 2010 Posted in Squid | 阅读次数: 202 次

*NIX将TCP/IP也作为文件来访问

而squid 2.6默认的访问文件数是1024

作为运营环境使用.就需要修改最大打开文件数

配置时加上–with-maxfd 参数即可

存储方式使用aufs会加快访问速度.因为使用非同步方式

打开snmp,这样可以从cacti之类的snmp软件中获取相关squid的参数进行监控

打开大文件支持.允许日志文件超过2G

 

./configure –prefix=/usr/local/squid –with-maxfd=65535 –enable-storeio=aufs,ufs –enable-snmp –with-large-files

相关日志:

Tags:

2 Responses to “squid 2.6 编译优化参数”

  1. Related Resources Says:

    My Recommended Websites…

    [...]some new websites on the web we love, even if they are not related to ours. Check them out[...]…


  2. Related Resources Says:

    Recent Favourite Sites…

    [...]below you can check out my recommended links page http://www.yeastinfectiontreatmentcure.net/links/ with some very good sites that I think you should definitely go visit[...]…


留下您的脚印