Squid 配置指令 coredump_dir

可用版本:   v6   v5   v4   3.5   3.4   3.3   3.2   2.7   3.1   3.0   2.6  

此指令在 Squid 的 v8 版本中不可用。

对于 v5 之前的旧版本,请参阅以上链接页面。

配置详情

选项名称coredump_dir
替代
要求
默认值使用 Squid 启动的目录。
建议配置
# Leave coredumps in the first cache dir

	By default Squid leaves core files in the directory from where
	it was started. If you set 'coredump_dir' to a directory
	that exists, Squid will chdir() to that directory at startup
	and coredump files will be left there.

	In addition to changing the directory, the process permissions are updated
	to enable process tracing and/or coredump file generation. The details are
	OS-specific, but look for prctl(2) PR_SET_DUMPABLE and procctl(2)
	PROC_TRACE_CTL documentation as guiding examples.

CONFIG_START

coredump_dir /usr/local/squid/var/cache/squid
CONFIG_END

 

返回

 

简介

文档

支持

杂项