thy IP属地:北京

认证北京琪然动力有限公司

文章 关注 粉丝 访问 贡献
 
共 59 篇文章
显示摘要每页显示  条
Squid 优化补遗。总的来说,squid snmp 数据是需要根据具体情况分析的,而且 squid snmp 的数据也不多,有时候往往需要配合别的监控来综合分析问题,比方网络出入流量,服务器的各类性能分析,主服务器和 squid access log。比如,如果 squid 强制缓存时间比 mod_expires 配置的过期时间长,那么可能造成 squid 发送已经过期的内容,导致浏览器...
如何删除squid 日志。linux/Unix下squid日志清除。/usr/local/sbin/squid -k rotate //分割日志文件rm -f /usr/local/var/logs/*.0 //删除旧的日志。SQUID win下的日志清除。c:\squid\sbin\squid -k rotate -n squidnt //分割日志文件del c:\squid\var\logs\*.0 //删除旧的日志。
监测Squid日志的五种方法。"access_log /var/log/squid/access.log"指定Squid日志文件的存放位置;#/usr/local/squid-graph/bin/squid-graph -c -n -o=/var/www/html/squid-graph/ --title="Squid server usage of proxy" </var/log/squid/access.log.#cat /var/log/squid/access.log|grep"192.168.6.99"| /u...
服务器的大用户量的承载方案 Nginx Squid Apache PHP MySQL.3.) 安装eAccelerator-0.9.5[root@localhost]#cd eAccelerator-0.9.5[root@localhost]#export PHP_PREFIX=/usr/local/server/php[root@localhost]#$PHP_PREFIX/bin/phpize[root@localhost]#./configure --enable-eaccelerator=shared --with-php-config=$PHP_PREFIX/bin/php-config[r...
3.测试配置是否正确# /usr/local/squid2/sbin/squid -k parse出现ERROR:WARNING: Cannot write log file: /usr/local/squid3/var/logs/cache.log/usr/local/squid3/var/logs/cache.log: Permission denied messages will be sent to ''stderr''.2008/03/13 12:53:09| Creating Swap DirectoriesFATAL: Failed to make s...
acl allow_referer referer_regex -i baidu\.comacl allow_referer referer_regex -i google\.comacl allow_referer referer_regex -i yahoo\.cnacl allow_referer referer_regex -i google\.cn.解释一下,has_referer匹配Referer存在,然后利用!has_referer来匹配没有Referer即直接访问的请求,这部分请求不予做防盗链处理,allow。
squid -zX 显示初始化过程c)squid -s 以服务方式启动squidd)squid_start脚本 使用绝对或相对路径启动squid时,squid会启动子进程运行此脚本以执行一些 作e)/etc/init.d/squid start/stop/status/probe也用于管理squid(suse专用方式)f)Squid -NCd1 检查配置和当前运行情况。
2)cache_peer_domain 限制/指定用户访问的邻居cache域,类似cache_peer_access,cache_peer_domain europe-cache.org parent .ch .dk .fr 以fr/dk/ch结尾的域名访问europe缓存。
帮助 | 留言交流 | 联系我们 | 服务条款 | 下载网文摘手 | 下载手机客户端
北京六智信息技术股份有限公司 Copyright© 2005-2024 360doc.com , All Rights Reserved
京ICP证090625号 京ICP备05038915号 京网文[2016]6433-853号 京公网安备11010502030377号
返回
顶部