Apache 如何从metrics.log值配置Web连接器

Apache 如何从metrics.log值配置Web连接器,apache,coldfusion,tomcat7,coldfusion-10,mod-jk,Apache,Coldfusion,Tomcat7,Coldfusion 10,Mod Jk,我正在查看workers.properties中的ColdFusion Web连接器设置,希望能够解决零星的响应时间问题 我被建议检查metrics.log文件(CF Admin>Debug&Logging>Debug output Settings>Enable Metric Logging)的输出,并使用它来通知对设置max\u reuse\u connections、connection\u pool\u size和connection\u pool\u timeout的调整 我的问题是:

我正在查看
workers.properties
中的ColdFusion Web连接器设置,希望能够解决零星的响应时间问题

我被建议检查
metrics.log
文件(CF Admin>Debug&Logging>Debug output Settings>Enable Metric Logging)的输出,并使用它来通知对设置
max\u reuse\u connections
connection\u pool\u size
connection\u pool\u 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"
环境:

  • 3台Windows 2008 R2(硬件负载平衡)
  • ColdFusion 10(更新12)
  • Apache 2.2.21

Richard,我知道你的问题是从2014年开始的,也许你已经解决了,但我怀疑你的问题是CF管理员(在“度量日志”复选框下方)中设置的端口被设置为8500,这是你的内部web服务器(通常仅由CF管理员使用,如果有的话)。这就是数字没有变化的原因。(对于那些在安装CF或更高版本时未启用内部web服务器的用户,度量日志中的大多数值都为空)

我在上周刚刚发表的一篇博文中提到了这个问题:


希望所有这些都能有所帮助。

谢谢您的跟进,Charlie。我不再有权访问此项目,因此无法检查您的建议。碰巧您帮助我们找到了问题的根源,即web连接器
workers.properties
最大重用连接数
太小的问题。