我正在审核workers.properties
中的ColdFusion Web连接器设置,希望能够解决零星的响应时间问题。
我已被建议检查metrics.log
文件的输出(CF管理>调试和记录>调试输出设置>启用公制记录)并使用此信息通知调整设置max_reuse_connections
,connection_pool_size
和connection_pool_timeout
。
我的问题是:如何解释metrics.log
输出以通知选择设置值?有没有可以指导我的文件?
超过120小时的例子:
95%的参赛作品 -
"Information","scheduler-2","06/16/14","08:09:04",,"Max threads: 150 Current thread count: 4 Current thread busy: 0 Max processing time: 83425 Request count: 9072 Error count: 72 Bytes received: 1649 Bytes sent: 22768583 Free memory: 124252584 Total memory: 1055326208 Active Sessions: 1396"
发生一次 -
"Information","scheduler-2","06/13/14","14:20:22",,"Max threads: 150 Current thread count: 10 Current thread busy: 5 Max processing time: 2338 Request count: 21 Error count: 4 Bytes received: 155 Bytes sent: 139798 Free memory: 114920208 Total memory: 1053097984 Active Sessions: 6899"
环境:
答案 0 :(得分:0)
我在上周碰巧做的博客文章中解决了这个问题:http://www.carehart.org/blog/client/index.cfm/2016/3/2/cf_metrics_log_part1
希望这有任何帮助。