
squid
iteye_11434
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
squid.conf
### 版本: squid-2.6.STABLE6##visible_hostname testserverhttp_port 192.168.0.10:80 vhost vportcache_mem 50 MBcache_dir ufs /www/squid2.6/var/cache 300 16 256coredump_...原创 2011-08-11 17:03:42 · 127 阅读 · 0 评论 -
squid 优化
maximum_object_size 是 能cache最大的文件大小。对应wmv,rm文件,建议设置为32768 kBmaximum_object_size_in_memory 是在内存中cache的最大文件大小。cache_mem 是SQUID可用到的最大内存。经实践,4G内存的服务器用2G;超过2G导致SQUID运行不稳首先要分析SQUID所cache内容:运行...原创 2011-08-22 13:23:27 · 282 阅读 · 0 评论 -
FATAL: Cannot open '/var/log/squid/access.log' for writing.
报错:FATAL: Cannot open '/var/log/squid/access.log' for writing. The parent directory must be writeable by the user 'squid', which is the cache_effective_user set in squi...原创 2011-09-14 14:21:15 · 589 阅读 · 0 评论 -
FATAL: Failed to verify one of the swap directories, Check cache.log
报错: /etc/squid/cache/00: (2) No such file or directoryFATAL: Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories ...原创 2011-09-14 14:22:33 · 492 阅读 · 1 评论 -
/etc/squid/cache/swap.state: (13) Permission denied
问题: /etc/squid/cache/swap.state: (13) Permission deniedFATAL: commonUfsDirOpenSwapLog: Failed to open swap log.Squid Cache (Version 3.1.4): Terminated abnormally.解决:先看一下squid.conf里有没有设置...原创 2011-10-28 14:32:48 · 433 阅读 · 0 评论