Ric*_*ert 5 apache coldfusion mod-jk tomcat7 coldfusion-10
我正在审查ColdFusion Web连接器设置,workers.properties以期解决零星的响应时间问题.
我被建议检查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"
Run Code Online (Sandbox Code Playgroud)
发生过一次 -
"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"
Run Code Online (Sandbox Code Playgroud)
环境:
理查德,我知道你的问题是从 2014 年开始的,也许你已经解决了它,但我怀疑你的问题是 CF 管理中设置的端口(在“指标日志”复选框下方)设置为 8500,这是你的内部 Web 服务器(通常仅由 CF 管理员使用,如果有的话)。这就是数字没有变化的原因。(对于那些在安装 CF 时或之后未启用内部 Web 服务器的人,指标日志中的大多数值均为空)。
我在上周碰巧发表的博客文章中解决了这个问题:http ://www.carehart.org/blog/client/index.cfm/2016/3/2/cf_metrics_log_part1
希望这些有帮助。
| 归档时间: |
|
| 查看次数: |
170 次 |
| 最近记录: |