我正在回顾workers.properties中的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"环境:
发布于 2016-03-09 04:27:23
Richard,我知道您的问题是从2014年开始的,也许您已经解决了这个问题,但我怀疑您的问题是CF管理中的端口集(在“度量日志”复选框下面)被设置为8500,这是您的内部web服务器(通常只由管理CF使用,如果有的话)。这就是为什么数字不变的原因。(对于那些在安装CF或更高版本时不启用内部web服务器的人,度量日志中的大多数值为null)。
我在上周刚刚做过的一篇博客文章中谈到了这个问题:part1
希望这些都能帮上忙。
https://stackoverflow.com/questions/24240874
复制相似问题