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
希望所有这些都能有所帮助。谢谢您的跟进,Charlie。我不再有权访问此项目,因此无法检查您的建议。碰巧您帮助我们找到了问题的根源,即web连接器
workers.properties
最大重用连接数
太小的问题。