varnish-4.x
VCL载入--varnishadm
man varnishadm
The
Management Interface varnishadm
You can use the varnishadm utility to:
• start and stop the cacher (aka child) process
• change configuration parameters without restarting
Varnish
• reload the Varnish Configuration Language (VCL) without
restarting Varnish
• view the most up-to-date documentation for parameters
语法:varnishadm [-t timeout] [-S secret_file] [-T
address:port] [-n name] [command [...]]
varnishadm进入交互cli
查看,修改参数
varnishadm param.show
first_byte_timeout
varnishadm param.set
first_byte_timeout 1
varnishadm param.set thread_pool_min 10
varnishadm param.set
thread_pool_max 15