• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Error 500: The Metrics service is not available.

New Here ,
Jan 09, 2011 Jan 09, 2011

Copy link to clipboard

Copied

On my production server (Windows Server 2008 R2 Web edition 64 bit, 4 GB RAM, Coldfusion 9.0.1 32 bit) every 4-5 days all websites aren't available, the error message is:

ERROR 500:

ROOT CAUSE:

coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Metrics service is not available.

        at coldfusion.server.ServiceFactory.getMetricsService(ServiceFactory.java:159)

        at coldfusion.CfmServlet.processTimeout(CfmServlet.java:296)

        at coldfusion.CfmServlet.service(CfmServlet.java:216)

        at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)

        at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)

        at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)

        at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)

        at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)

        at jrun.servlet.FilterChain.service(FilterChain.java:101)

        at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)

        at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)

        at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)

        at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)

        at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)

        at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)

        at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)

        at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)

        at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

javax.servlet.ServletException: ROOT CAUSE:

coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Metrics service is not available.

        at coldfusion.server.ServiceFactory.getMetricsService(ServiceFactory.java:159)

        at coldfusion.CfmServlet.processTimeout(CfmServlet.java:296)

        at coldfusion.CfmServlet.service(CfmServlet.java:216)

        at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)

        at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)

        at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)

        at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)

        at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)

        at jrun.servlet.FilterChain.service(FilterChain.java:101)

        at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)

        at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)

        at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)

        at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)

        at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)

        at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)

        at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)

        at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)

        at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

        at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:70)

        at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)

        at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)

        at jrun.servlet.FilterChain.service(FilterChain.java:101)

        at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)

        at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)

        at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)

        at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)

        at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)

        at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)

        at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)

        at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)

        at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

After a server reboot all work fine for 4-5 days and the problem comes again. The metric service is enabled (http://kb2.adobe.com/cps/191/tn_19120.html), somebody have an idea to solve this problem?

My CF configuration is:

-server -Dsun.io.useCanonCaches=false -XX:MaxPermSize=256m -XX:+UseParallelGC -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib

Thanks

Views

14.6K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jan 09, 2011 Jan 09, 2011

Copy link to clipboard

Copied

Hello,

Portions of the coldfusion-out.log likely will show reason for problem then once you know the reason you can apply suitable change to fix. Find the salient details of the log file for the time period that CF is down and just prior then let us know what the log says. Log files are in ColdFusion9\runtime\logs (or JRun4\logs for multiserver).

Just looking at the JVM args some changes come to mind although I would be keen to know if there are out log details before making JVM changes. These are:

- no initial memory setting (Minimum JVM Heap Size) (512m for example)

- initial Permanent Generation setting -XX:PermSize=192m (for example)

HTH, Carl.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 10, 2011 Jan 10, 2011

Copy link to clipboard

Copied

The log is:

08/01 06:15:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=276352 Free=91232
08/01 06:16:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=277888 Free=80072
08/01 06:17:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=277824 Free=79254
08/01 06:18:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=276032 Free=64485
08/01 06:19:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=276864 Free=75374
08/01 06:20:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=277888 Free=94045
01/08 06:20:39 Information [jrpp-2259] - Generating rss FEED
01/08 06:20:39 Information [jrpp-2259] - FEED generation completed {Time taken=16 ms}
01/08 06:20:39 Information [jrpp-2259] - Generating rss FEED
01/08 06:20:39 Information [jrpp-2259] - FEED generation completed {Time taken=15 ms}
08/01 06:21:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=277248 Free=49043
01/08 06:21:59 Error [jrpp-2279] - File not found: /csv/index.cfm The specific sequence of files included or processed is: C:\HostingSpaces\andrea.guarda\associazioni.csv.vda.it\wwwroot\csv\index.cfm''
08/01 06:22:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=279168 Free=35430
08/01 06:23:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=269184 Free=142551
08/01 06:24:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=264832 Free=104505
08/01 06:25:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=259328 Free=148239
08/01 06:26:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=264000 Free=149659
08/01 06:27:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=265856 Free=147216
01/08 06:28:03 Error [jrpp-2282] - File not found: /csv/_foto_pup.cfm The specific sequence of files included or processed is: C:\HostingSpaces\andrea.guarda\associazioni.csv.vda.it\wwwroot\csv\_foto_pup.cfm''
08/01 06:28:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=266112 Free=116634
08/01 06:29:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=266048 Free=110663
01/08 06:30:05 Error [jrpp-2282] - File not found: /csv/_foto_pup.cfm The specific sequence of files included or processed is: C:\HostingSpaces\andrea.guarda\associazioni.csv.vda.it\wwwroot\csv\_foto_pup.cfm''
08/01 06:30:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=266752 Free=90760
08/01 06:31:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=269632 Free=76400
08/01 06:32:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=267200 Free=73035
08/01 06:33:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=267968 Free=56104
08/01 06:34:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=266816 Free=96752
08/01 06:35:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=257984 Free=45466
01/08 06:36:08 Error [jrpp-2282] - File not found: /csv/_foto_pup.cfm The specific sequence of files included or processed is: C:\HostingSpaces\andrea.guarda\associazioni.csv.vda.it\wwwroot\csv\_foto_pup.cfm''
08/01 06:36:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=260800 Free=48971
08/01 06:37:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=277632 Free=116105
08/01 06:38:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=277056 Free=125082
08/01 06:39:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=277696 Free=97897
08/01 06:40:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=277696 Free=94109
08/01 06:41:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=275520 Free=107334
08/01 06:42:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=273600 Free=93195
08/01 06:43:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=274048 Free=68617
08/01 06:44:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=275392 Free=111585
08/01 06:45:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=274816 Free=121739
08/01 06:46:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=275712 Free=54045
01/08 06:46:46 Error [jrpp-2289] - File not found: /csv/index.cfm The specific sequence of files included or processed is: C:\HostingSpaces\andrea.guarda\associazioni.csv.vda.it\wwwroot\csv\index.cfm''
08/01 06:47:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=275328 Free=104100
08/01 06:48:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=275328 Free=28461
Exception thrown by error-handling template:
coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Metrics service is not available.
    at coldfusion.server.ServiceFactory.getMetricsService(ServiceFactory.java:159)
    at coldfusion.filter.ExceptionFilter.handleException(ExceptionFilter.java:139)
    at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:84)
    at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
    at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
    at coldfusion.CfmServlet.service(CfmServlet.java:200)
    at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
    at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
    at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
    at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
08/01 06:49:05 error ROOT CAUSE:
coldfusion.runtime.RequestTimedOutException: The request has exceeded the allowable time limit Tag: CFQUERY
    at coldfusion.runtime.CfJspPage.checkRequestTimeout(CfJspPage.java:2907)
    at coldfusion.tagext.sql.QueryTag.setupCachedQuery(QueryTag.java:799)
    at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:586)
    at cfindex2ecfm1283733899._factor3(C:\HostingSpaces\andrea.guarda\rusticart.it\wwwroot\arredamento\index.cfm:86)
    at cfindex2ecfm1283733899._factor6(C:\HostingSpaces\andrea.guarda\rusticart.it\wwwroot\arredamento\index.cfm:1)
    at cfindex2ecfm1283733899._factor7(C:\HostingSpaces\andrea.guarda\rusticart.it\wwwroot\arredamento\index.cfm:1)
    at cfindex2ecfm1283733899.runPage(C:\HostingSpaces\andrea.guarda\rusticart.it\wwwroot\arredamento\index.cfm:1)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
    at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
    at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:381)
    at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
    at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:94)
    at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
    at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
    at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
    at coldfusion.CfmServlet.service(CfmServlet.java:200)
    at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
    at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
    at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
    at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

javax.servlet.ServletException: ROOT CAUSE:
coldfusion.runtime.RequestTimedOutException: The request has exceeded the allowable time limit Tag: CFQUERY
    at coldfusion.runtime.CfJspPage.checkRequestTimeout(CfJspPage.java:2907)
    at coldfusion.tagext.sql.QueryTag.setupCachedQuery(QueryTag.java:799)
    at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:586)
    at cfindex2ecfm1283733899._factor3(C:\HostingSpaces\andrea.guarda\rusticart.it\wwwroot\arredamento\index.cfm:86)
    at cfindex2ecfm1283733899._factor6(C:\HostingSpaces\andrea.guarda\rusticart.it\wwwroot\arredamento\index.cfm:1)
    at cfindex2ecfm1283733899._factor7(C:\HostingSpaces\andrea.guarda\rusticart.it\wwwroot\arredamento\index.cfm:1)
    at cfindex2ecfm1283733899.runPage(C:\HostingSpaces\andrea.guarda\rusticart.it\wwwroot\arredamento\index.cfm:1)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
    at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
    at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:381)
    at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
    at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:94)
    at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
    at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
    at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
    at coldfusion.CfmServlet.service(CfmServlet.java:200)
    at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
    at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
    at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
    at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:70)
    at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
    at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

08/01 06:49:06 error (JRun Service: ProxyService [jrun.servlet.jrpp.JRunProxyService@16bdd0d]) JRunPRoxyServer.invokeRunnable:
java.lang.IllegalStateException
    at jrun.servlet.JRunResponse.getWriter(JRunResponse.java:205)
    at jrun.servlet.JRunResponse.sendError(JRunResponse.java:597)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:328)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
    at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

java.lang.IllegalStateException
    at jrun.servlet.JRunResponse.getWriter(JRunResponse.java:205)
    at jrun.servlet.JRunResponse.sendError(JRunResponse.java:597)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:328)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
    at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
08/01 06:49:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=286656 Free=143205
08/01 06:50:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=287168 Free=128933
08/01 06:51:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=287616 Free=123701
08/01 06:52:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=273344 Free=57302
08/01 06:53:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=287872 Free=76784
08/01 06:54:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=288192 Free=127714
08/01 06:55:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=288192 Free=114207
08/01 06:56:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=277952 Free=74401
08/01 06:57:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=277952 Free=48542
08/01 06:58:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=290176 Free=52665
08/01 06:59:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=290048 Free=101208
08/01 07:00:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=289728 Free=74090
08/01 07:01:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=271360 Free=182242
Exception thrown by error-handling template:
coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Metrics service is not available.
    at coldfusion.server.ServiceFactory.getMetricsService(ServiceFactory.java:159)
    at coldfusion.filter.ExceptionFilter.handleException(ExceptionFilter.java:139)
    at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:84)
    at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
    at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
    at coldfusion.CfmServlet.service(CfmServlet.java:200)
    at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
    at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
    at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
    at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
08/01 07:01:33 error ROOT CAUSE:
coldfusion.runtime.RequestTimedOutException: The request has exceeded the allowable time limit Tag: CFQUERY
    at coldfusion.sql.Executive.getRowSet(Executive.java:565)
    at coldfusion.sql.Executive.executeQuery(Executive.java:1383)
    at coldfusion.sql.SqlImpl.execute(SqlImpl.java:345)
    at coldfusion.tagext.sql.QueryTag.executeQuery(QueryTag.java:915)
    at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:590)
    at cfindex2ecfm1283733899._factor2(C:\HostingSpaces\andrea.guarda\rusticart.it\wwwroot\arredamento\index.cfm:28)
    at cfindex2ecfm1283733899._factor6(C:\HostingSpaces\andrea.guarda\rusticart.it\wwwroot\arredamento\index.cfm:1)
    at cfindex2ecfm1283733899._factor7(C:\HostingSpaces\andrea.guarda\rusticart.it\wwwroot\arredamento\index.cfm:1)
    at cfindex2ecfm1283733899.runPage(C:\HostingSpaces\andrea.guarda\rusticart.it\wwwroot\arredamento\index.cfm:1)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
    at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
    at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:381)
    at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
    at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:94)
    at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
    at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
    at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
    at coldfusion.CfmServlet.service(CfmServlet.java:200)
    at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
    at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
    at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
    at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

javax.servlet.ServletException: ROOT CAUSE:
coldfusion.runtime.RequestTimedOutException: The request has exceeded the allowable time limit Tag: CFQUERY
    at coldfusion.sql.Executive.getRowSet(Executive.java:565)
    at coldfusion.sql.Executive.executeQuery(Executive.java:1383)
    at coldfusion.sql.SqlImpl.execute(SqlImpl.java:345)
    at coldfusion.tagext.sql.QueryTag.executeQuery(QueryTag.java:915)
    at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:590)
    at cfindex2ecfm1283733899._factor2(C:\HostingSpaces\andrea.guarda\rusticart.it\wwwroot\arredamento\index.cfm:28)
    at cfindex2ecfm1283733899._factor6(C:\HostingSpaces\andrea.guarda\rusticart.it\wwwroot\arredamento\index.cfm:1)
    at cfindex2ecfm1283733899._factor7(C:\HostingSpaces\andrea.guarda\rusticart.it\wwwroot\arredamento\index.cfm:1)
    at cfindex2ecfm1283733899.runPage(C:\HostingSpaces\andrea.guarda\rusticart.it\wwwroot\arredamento\index.cfm:1)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
    at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
    at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:381)
    at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
    at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:94)
    at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
    at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
    at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
    at coldfusion.CfmServlet.service(CfmServlet.java:200)
    at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
    at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
    at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
    at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:70)
    at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
    at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

08/01 07:01:33 error (JRun Service: ProxyService [jrun.servlet.jrpp.JRunProxyService@16bdd0d]) JRunPRoxyServer.invokeRunnable:
java.lang.IllegalStateException
    at jrun.servlet.JRunResponse.getWriter(JRunResponse.java:205)
    at jrun.servlet.JRunResponse.sendError(JRunResponse.java:597)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:328)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
    at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

java.lang.IllegalStateException
    at jrun.servlet.JRunResponse.getWriter(JRunResponse.java:205)
    at jrun.servlet.JRunResponse.sendError(JRunResponse.java:597)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:328)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
    at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

Now i have set Minimum JVM Heap Size: 512m and -XX:PermSize=192m

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jan 09, 2011 Jan 09, 2011

Copy link to clipboard

Copied

Hello,

Another thought process. How do the CF Metrics figures compare while the system is working OK versa prior to metrics error and CF not responding?

HTH, Carl.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jan 09, 2011 Jan 09, 2011

Copy link to clipboard

Copied

I have not come across this error but these links may be helpful.

http://www.bennadel.com/blog/84-500-null-Mysterious-ColdFusion-Error.htm

http://www.bennadel.com/blog/139-ColdFusion-500-Null-Error-Revisited.htm

This was the last lines in the link which you have mentioned.

"

Logging performance metrics adds additional load to the server as  well as log files which increase in size. Therefore, Adobe doesn't  recommend leaving the metrics service enabled for extended periods of  time."

May be because of the Metrics Enabled, causing this problem??

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jan 09, 2011 Jan 09, 2011

Copy link to clipboard

Copied

I have not done CF Jrun metric logging for a while, however when I did I preferred to use this format in JRUN.XML:

<attribute name="metricsFormat">{jrpp.listenTh},{jrpp.idleTh},{jrpp.delayTh},{jrpp.busyTh},{jrpp.totalTh},{jrpp.delayRq},{jrpp.droppedRq},{jrpp.handledRq},{jrpp.handledMs},{jrpp.delayMs},{freeMemory},{totalMemory},{sessions},{sessionsInMem}</attribute>

That will give you some comma separated values that you can put in to a CF free tool by Carl Steinhilber. Struggling to find a link for that just now - let me know if you are interested and I will search more. Anyways you have the values and put them in the tool and get some graphic which sometimes can make it easier to spot a problem rather than just reading the numbers. Attached are a couple of screen shots I did just now since I found a copy on my pc on the metric reader.

Metrics data sample:

10/01 16:28:00 metrics 23,0,0,1,24,0,0,0,0,0,145254,173248,0,0
10/01 16:28:10 metrics 23,0,0,1,24,0,0,0,0,0,111548,466048,0,0
10/01 16:28:20 metrics 23,0,0,1,24,0,0,0,0,0,110447,466048,0,0
10/01 16:28:30 metrics 23,0,0,2,25,0,0,0,0,0,101408,466048,0,0
10/01 16:28:40 metrics 23,2,0,1,26,0,0,12,4003,0,79140,466048,0,0
10/01 16:28:50 metrics 23,1,0,3,27,0,0,14,4076,0,92897,466048,0,0
10/01 16:29:00 metrics 23,3,0,1,27,0,0,5,14349,0,77878,466048,0,0
10/01 16:29:10 metrics 23,3,0,1,27,0,0,0,0,0,77616,466048,0,0
10/01 16:29:20 metrics 23,3,0,1,27,0,0,0,0,0,76948,466048,0,0
10/01 16:29:30 metrics 23,3,0,1,27,0,0,0,0,0,76747,466048,0,0
10/01 16:29:40 metrics 23,3,0,1,27,0,0,0,0,0,76406,466048,0,0
10/01 16:29:50 metrics 23,3,0,1,27,0,0,0,0,0,76273,466048,0,0
10/01 16:30:00 metrics 23,3,0,1,27,0,0,0,0,0,75884,466048,0,0
10/01 16:30:10 metrics 23,3,0,1,27,0,0,0,0,0,75554,466048,0,0
10/01 16:30:20 metrics 23,3,0,1,27,0,0,0,0,0,75423,466048,0,0
10/01 16:30:30 metrics 23,3,0,1,27,0,0,0,0,0,75421,466048,0,0
10/01 16:30:40 metrics 23,3,0,1,27,0,0,0,0,0,75205,466048,0,0
10/01 16:30:50 metrics 23,3,0,1,27,0,0,0,0,0,75203,466048,0,0
10/01 16:31:00 metrics 23,3,0,1,27,0,0,0,0,0,75203,466048,0,0
10/01 16:31:10 metrics 23,3,0,1,27,0,0,4,240,0,58931,466048,0,0
10/01 16:31:20 metrics 23,3,0,1,27,0,0,0,0,0,58931,466048,0,0
10/01 16:31:30 metrics 23,3,0,1,27,0,0,1,32,0,58520,466048,0,0
10/01 16:31:40 metrics 23,3,0,1,27,0,0,0,0,0,58520,466048,0,0
10/01 16:31:50 metrics 23,3,0,1,27,0,0,0,0,0,58517,466048,0,0
10/01 16:32:00 metrics 23,3,0,1,27,0,0,0,0,0,58517,466048,0,0
10/01 16:32:10 metrics 23,3,0,1,27,0,0,0,0,0,58515,466048,0,0
10/01 16:32:20 metrics 23,3,0,1,27,0,0,1,0,0,58499,466048,0,0
10/01 16:32:30 metrics 23,3,0,1,27,0,0,0,0,0,58497,466048,0,0
10/01 16:32:40 metrics 23,3,0,1,27,0,0,0,0,0,58481,466048,0,0
10/01 16:32:50 metrics 23,2,0,2,27,0,0,0,0,0,98671,466048,0,0
10/01 16:33:00 metrics 23,2,0,2,27,0,0,0,0,0,208011,314624,0,0
10/01 16:33:10 metrics 23,2,0,2,27,0,0,0,0,0,181232,314624,0,0
10/01 16:33:20 metrics 23,2,0,2,27,0,0,0,0,0,166243,306432,0,0

Same data however easier to read:

Capture2.JPG

HTH, Carl.Capture.JPG

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 10, 2011 Jan 10, 2011

Copy link to clipboard

Copied

@carl type3: Sorry but i am new coldfusion user, i don't have idea how to generate metric screenshots

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jan 10, 2011 Jan 10, 2011

Copy link to clipboard

Copied

Hello,

Log details in brief:
6:15 - OK
6:20 - OK
6:21 - file not found
Etc
6:46 file not found
6:47 OK
6:48 OK
Metrics not available
6:49 time out error
Dead from here on


Metrics is not giving you much detail  eg:
08/01 06:15:23 metrics Web threads (busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: 0 Total Memory=276352 Free=91232
So maybe your Jrun.xml needs altering to get more details.

Questions: CF has not been responding from time to time for a while and you have recently introduced CF metrics to try resolve matter? Do you want to continue resolving via CF metrics?

You use CF9 in J2EE environment? CF is Standard or Enterprise edition?

HTH, Carl.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jan 10, 2011 Jan 10, 2011

Copy link to clipboard

Copied

Some other details to note.

Environment:
Windows Server 2008 R2 Web edition 64 bit, 4 GB RAM, Coldfusion 9.0.1 32 bit

Why CF9 32 bit, could you run CF 64 bit? What is CF JVM version (1.6.0_17)?

JVM arg:
Now i have set Minimum JVM Heap Size: 512m and -XX:PermSize=192m

Good see if that helps. How many cores is CPU?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 10, 2011 Jan 10, 2011

Copy link to clipboard

Copied

The server has 2 Xeon Quad Core 2,27 Ghz. Coldfusion is 32 bit version beacuse i need to create Access Data Source and on the 64 bit version of coldfusion this feature not work. The version of Java is 1.6.0_17 

Questions: CF has not been responding from time to time for a while and you have recently introduced CF metrics to try resolve matter? Do you want to continue resolving via CF metrics?

No i have enabled metric service to try to resolve the errror "The metric service is not available"


You use CF9 in J2EE environment? CF is Standard or Enterprise edition?

Non i don't use in J2EE environment and CF is Enterprise edition

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jan 10, 2011 Jan 10, 2011

Copy link to clipboard

Copied

@hextra,

>No i have enabled metric service to try to resolve the error "The metric service is not available"

So CF generally is ok except you are getting the CF metrics error and you are trying to fix CF metric so it will run without error? Another option might be to disable CF metrics so it does not give error and get in the way of other CF operations? Odd with the timeout messages in the log you showed for 08/01, I would think other CF related applications were having issues?

>CF is Enterprise edition

Is it multiserver installation? With Enterprise CF Monitor is available to you. If CF is having general issues CF Monitor might be easier to use than CF metrics to find a solution to problem?

>Now i have set Minimum JVM Heap Size: 512m and -XX:PermSize=192m

Did you restart ColdFusion Application Service after JVM configuration change?

Just trying to get a good idea of what you are trying to achieve.

HTH, Carl.

PS

Here is the link to the CF metric viewer app mentioned previously:

http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1029407

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 10, 2011 Jan 10, 2011

Copy link to clipboard

Copied

>So CF generally is ok except you are getting the CF metrics error  and you are trying to fix CF metric so it will run without error?

Exactly

>Another option might be to disable CF metrics so it does not give error  and get in the way of other CF operations?

Ok, now i have disabled CF metrics

>Odd with the timeout messages  in the log you showed for 08/01, I would think other CF related  applications were having issues?

Yes, all application give the same error ("The metric service is unavailable")

>Is it multiserver installation? With Enterprise CF Monitor is  available to you. If CF is having general issues CF Monitor might be  easier to use than CF metrics to find a solution to problem?

No is a standalone installation. I have used CF Monitor but when CF crash in Server Monitor all the data are "normal"

>Did you restart ColdFusion Application Service after JVM configuration change?

Yes off course, now everithing work, i'm waiting to see if the problem comes again (tipically every 4-5 days)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jan 11, 2011 Jan 11, 2011

Copy link to clipboard

Copied

>Yes off course, now everithing work, i'm waiting to see if the problem comes again (tipically every 4-5 days)

So now waiting to see if JVM change and CF Metric disabled has resolved or helped. While it is working anything interesting in the "OUT log"?

Regards, Carl.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 11, 2011 Jan 11, 2011

Copy link to clipboard

Copied

>So now waiting to see if JVM change and CF Metric disabled has resolved  or helped. While it is working anything interesting in the "OUT log"?

No nothing interesting in OUT log, only "file not found error" . If the server crash again i update this thread

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 11, 2011 Jan 11, 2011

Copy link to clipboard

Copied

@BKBK: The metric service is enabled in my jrun.xml, but the problem is not solved

It is now clear that your installation has MetricsService switched on in jrun.xml, whereas the service is unavailable. What you indeed have to do then is comment out the XML elements I mentioned.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jan 11, 2011 Jan 11, 2011

Copy link to clipboard

Copied

I hope that goes well for you.

On a personal note I live in Brisbane Queensland AUS which is facing major flooding. Other than the water problems, power and services (internet phone etc) are being cut. I may not be responding to your issue. After that I may be busy for a while sweeping mud out of peoples houses.

Regards, Carl.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 11, 2011 Jan 11, 2011

Copy link to clipboard

Copied

How terrible for you Aussies. Good luck, Carl.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jan 11, 2011 Jan 11, 2011

Copy link to clipboard

Copied

@bkbk

Thanks for your wishes. I am home now which should not be impacted to much. At work power services are off and equipment is moved to keep it dry. Nothing to do now except watch the water rise. My friends am family are safe.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 14, 2011 Jan 14, 2011

Copy link to clipboard

Copied

The server crash again....

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jan 14, 2011 Jan 14, 2011

Copy link to clipboard

Copied

@hextra

Anything of note in OUT log?

Just CFM pages not responding, do HTM pages respond?

How do you overcome crash, reboot or restart CF application service?

What did TASKMANAGER show about Jrun.EXE was CPU bound how much RAM?

That is the trouble with finding a solution, sometimes more questions than answers..

HTH, Carl.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 15, 2011 Jan 15, 2011

Copy link to clipboard

Copied

@carl:

the log is:

01/14 14:26:39 Information [scheduler-1] - Run Client Storage Purge

01/14 14:31:51 Information [jrpp-517] - Starting HTTP request {URL='http://www.aostasera.it:80/feed/rss.cfm?idm=0', method='get'}

01/14 14:31:51 Information [jrpp-517] - HTTP request completed  {Status Code=200 ,Time taken=93 ms}

01/14 14:31:57 Information [jrpp-517] - Starting HTTP request {URL='http://www.aostasera.it:80/feed/rss.cfm?idm=0', method='get'}

01/14 14:31:57 Information [jrpp-517] - HTTP request completed  {Status Code=200 ,Time taken=94 ms}

01/14 14:32:01 Information [jrpp-517] - Starting HTTP request {URL='http://www.aostasera.it:80/feed/rss.cfm?idm=0', method='get'}

01/14 14:32:01 Information [jrpp-517] - HTTP request completed  {Status Code=200 ,Time taken=110 ms}

01/14 14:32:16 Information [jrpp-517] - Starting HTTP request {URL='http://www.aostasera.it:80/feed/rss.cfm?idm=0', method='get'}

01/14 14:32:16 Information [jrpp-517] - HTTP request completed  {Status Code=200 ,Time taken=188 ms}

01/14 14:39:54 Error [jrpp-531] - File not found: /congresso/index.cfm The specific sequence of files included or processed is: C:\HostingSpaces\andrea.guarda\congresso\index.cfm''

01/14 14:44:52 Error [jrpp-522] - File not found: /csv/_foto_pup.cfm The specific sequence of files included or processed is: C:\HostingSpaces\andrea.guarda\associazioni.csv.vda.it\wwwroot\csv\_foto_pup.cfm''

01/14 14:45:27 Error [jrpp-456] - File not found: /csv/oratorio/index.cfm The specific sequence of files included or processed is: C:\HostingSpaces\andrea.guarda\csv.vda.it\wwwroot\csv\oratorio\index.cfm''

01/14 14:48:54 Information [jrpp-538] - Starting HTTP request {URL='http://www.aostasera.it:80/feed/rss.cfm?idm=0', method='get'}

01/14 14:48:54 Information [jrpp-538] - HTTP request completed  {Status Code=200 ,Time taken=297 ms}

14/01 14:55:06 error ROOT CAUSE:

coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Metrics service is not available.

......

14/01 14:55:15 error ROOT CAUSE:

coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Metrics service is not available.

CFM pages not respond, but CF Administration page works fine (i don't have html pages to test in this server). I have restarted all coldfusions's service to return in a normal situation. In the task manager the JRUN.EXE have CPU 2% and Memory 650,00 MB

I noticed that in the CF Administration, menu "Request Tuning" in the section "Queue Timeout Settings" timeout request was 60 seconds but the page show "If a request has waited in the queue for this long, timeout the request. This value should be at least as long as the Request Timeout setting (currently 300 seconds).". Now i set this value to 300.

I have also set the request queue timeout page because:

"Specify a relative path from the web root to an HTML page to send to clients when a template request times out before running, for example /CFIDE/timeout.html. The page you specify cannot contain CFML. If you do not specify a page, clients receive a 500 Request Timeout error when their request does not run."

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jan 16, 2011 Jan 16, 2011

Copy link to clipboard

Copied

Hello,


>LOG:
01/14 14:26:39 Information [scheduler-1] - Run Client Storage
time taken=93,94,110,188,297 ms
14/01 14:55:06 error ROOT CAUSE:
coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Metrics service is not available.

So something regular (that normally runs) just starts slowing down taking longer each time then CFM stops.
Think you should find a reason for the "file not found" tho those might not be causing your problems where CFM stops.

>CFM pages not respond, but CF Administration page works fine.
Odd since CFadmin is also CFM pages.

>I have restarted all coldfusions's service to return in a normal situation.
So Kill Jrun / ColdFusion and you are working again. Narrows problem dowm but not enough yet to fix the problem.

>In the task manager the JRUN.EXE have CPU 2% and Memory 650,00 MB
Is that when CFM is not responding, normal or all the time?

Going back to log:
- "Run Client Storage" How do you store client variables, registry cookie or database?
- since things were slowing anything of note in the log prior (about 1 hours) to 14:26?

HTH, Carl.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 16, 2011 Jan 16, 2011

Copy link to clipboard

Copied

>Think you should find a reason for the "file not found" tho those might not be causing your problems where CFM stops.

I have reported the problem to the web sites developper

> Is that when CFM is not responding, normal or all the time?

All the time

>- "Run Client Storage" How do you store client variables, registry cookie or database?

- since things were slowing anything of note in the log prior (about 1 hours) to 14:26?

On the registry cookie

Nothing of note in the log prior (only some "File not found" error)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jan 16, 2011 Jan 16, 2011

Copy link to clipboard

Copied

Hi,

A note on client variables. Reference:

http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=sharedVars_08.html

In part says:

Choosing a client variable storage method

By default, ColdFusion stores client variables in the Registry. In most cases, however, it is more appropriate to store the information as client cookies or in a SQL database.

I have seen some CFM outage problems resolved by changing the Server Settings > Client Variables > Default Storage Mechanism for Client Sessions from registry to database. Having said that I am not sure this is going to help in this case.

Regards, Carl.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 14, 2011 Jan 14, 2011

Copy link to clipboard

Copied

The server crash again...

Please describe, givings details of what happened, debugging information, stack traces and  error log. Did you solve the file-not-found issue? Server issues are usually related.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation