squid报"File size limit exceeded (core dumped)"

squid报"File size limit exceeded (core dumped)"
最近公司网站的squid离奇crash,用下面命令启动squid:
squid  - - 9
-N: 用非守护进程方式运行
-d 9: 9级输出信息(最详细)

最后看到错误信息并且squid马上crash:
" File size limit exceeded (core dumped) "

同事说可能是log文件太大,后来google到一 邮件列表的信息确认了的确是,是log文件中的store.log超过2G时就会报这个错误。

解决方法:
在squid.conf中查找"TAG: cache_store_log",在其下插入一行
cache_store_log none
即可把store log关掉



你可能感兴趣的:(squid报"File size limit exceeded (core dumped)")