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

Performance Monitor Will Not Work

Contributor ,
Oct 01, 2007 Oct 01, 2007
The checkbox for Enable Performance Monitoring under the debugging options tab in my CF8 install will not stay checked. Also when I try to use the performance monitor to monitor CF8 it does not work. Any ideas?
8.1K
Translate
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 ,
Feb 07, 2008 Feb 07, 2008
This fixed my situation. Thank you for the fix.
Translate
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
Explorer ,
Feb 08, 2008 Feb 08, 2008
The fix doesn't seem to have worked in my case. Stopped CF, replaced the DLLS, changed cfstatport to 7999, restarted CF. But still the checkbox for PerfMon in CFAdmin won't stay checked, and still no instances to add counters to for CF8 in the PerfMon tool. Oh well, hopefully 8.1 will sort this out for me.
Translate
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
Explorer ,
Feb 09, 2008 Feb 09, 2008
Just tried a second time, following the KB article instructions to the letter. Still no available instances when I try to add counters and choose the "ColdFusion 8 Server" performance object. Looking in the Event log I'm getting several PerfMon related errors including this one:

Event Type: Warning
Event Source: Perflib
Event Category: None
Event ID: 1016

The data buffer created for the "ColdFusion 8 Application Server" service in the "C:\WINDOWS\system32\cfperfmon_8.dll" library is not aligned on an 8-byte boundary. This may cause problems for applications that are trying to read the performance data buffer. Contact the manufacturer of this library or service to have this problem corrected or to get a newer version of this library.
Translate
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
Guest
Mar 06, 2008 Mar 06, 2008
CF7 migrated to 8, applied fix as in kb402900 but no change for me... cfstat can't find cfserver and no instance available in perfmon

however i DID get it to work... it looks like the migration process made .bak of all the xml files

the neo-metric.xml file had the format

<wddxPacket version="1.0">
<header />
<data>
<struct type="coldfusion.server.ConfigMap">
<var name="cfstat">
<string>true</string>
</var>
<var name="cfstatport">
<number>7999</number>
</var>
<var name="simpleLoad.sampleRate">
<string>5</string>
</var>
<var name="reqTimingWindow">
<string>10</string>
</var>
<var name="simpleLoad.constLoad">
<string>200</string>
</var>
<var name="simpleLoad.maxRequests">
<string>500</string>
</var>
<var name="cfperfmon.pullfreq">
<number>1.0</number>
</var>
<var name="simpleLoad.sampleSize">
<string>50</string>
</var>
<var name="cfperfmon">
<string>true</string>
</var>
</struct>
</data>
</wddxPacket>
and neo-metric.bak had the format

<wddxPacket version="1.0">
<header />
<data>
<struct type="coldfusion.server.ConfigMap">
<var name="simpleLoad.maxRequests">
<string>500</string>
</var>
<var name="simpleLoad.sampleRate">
<string>5</string>
</var>
<var name="reqTimingWindow">
<string>10</string>
</var>
<var name="simpleLoad.sampleSize">
<string>50</string>
</var>
<var name="simpleLoad.constLoad">
<string>200</string>
</var>
<var name="cfstat">
<string>true</string>
</var>
<var name="cfstatport">
<string>7999</string>
</var>
<var name="cfperfmon">
<string>true</string>
</var>
<var name="cfperfmon.pullfreq">
<number>1.0</number>
</var>
</struct>
</data>
</wddxPacket>

i noted that cfstat port in the old shows <string>7999</string> and in the new cf8 it shows <number>7999</number>

the entries are also in a different order (but i'm guessing that shouldn't be a problem..right???)

i renamed neo-mertic.xml to neo-metric.cf8 (as backup) and renamed neo-metric.bak (the cf7 version) to neo-metric.xml , restarted cfservice and now cfstat works and there's a jrun instance in perfmon

you may be able to fix it by simply changing <number></number> to <string></string> in the existing version of neo-metrics.xml (unless the tag order does count)...I didn't try that...

note: I had already applied the dll fixes so that may or may not be required...



Translate
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
Explorer ,
Mar 06, 2008 Mar 06, 2008
@Jay_B: Excellent, that worked for me. Like you, I had applied all the updates, but all I did was change the current CF8 neo-metric.xml file as you suggested:

<var name='cfstatport'><number>7999</number></var>

changed to:

<var name='cfstatport'><string>7999</string></var>

After restarting CF, the Enable Perf Mon settings is staying ticked and I've got my jrun instance and counters in PerfMon.

Thanks very much.
Julian.
Translate
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 ,
May 21, 2008 May 21, 2008
perfom support is broekn again if you run cf8.0.1 on Win 2003 x64 in 32 bit mode

the error message in the event log is:

The opening procedure for the service "ColdFusion 8 Application Server" in the DLL "C:\WINDOWS\system32\cfperfmon_8.dll" failed.
Translate
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
Guest
May 22, 2008 May 22, 2008
I suspect the issue with 32 bit CF801 running on 64 bit windows is that the 64 bit dll (cfperfmon_8.dll) is required to talk to the OS. We will test and figure a way to post the DLL for download. It will probably appear in a technote. We'll let you know the results.
Translate
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 ,
Jun 09, 2008 Jun 09, 2008
@ken

any updates so far? Our server montoring really suffers!

Thanks,

Gunnar
Translate
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
Guest
Jun 26, 2008 Jun 26, 2008
A fix has been created to fix performance monitoring with ColdFusion 8.0.1. The same fix should work for both 32 bit and 64 bit ColdFusion 8.01 as Window's PerfMon.exe is a 32 bit application. The technote will publish at http://www.adobe.com/go/kb404026 in the next week.
Translate
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 ,
Jul 03, 2008 Jul 03, 2008
when will the fix go live?..... we are desperately waiting for it!
Translate
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 ,
Jul 03, 2008 Jul 03, 2008
Hello,

is there any news when the fix to this problem will be release?

Thank you and kind regards,
Cordis OPS
Translate
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
Guest
Jul 08, 2008 Jul 08, 2008
The technote, " Patch for Performance Monitor with ColdFusion 8.0.1" has published.
Translate
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 ,
Jul 08, 2008 Jul 08, 2008
too bad, it is still not working

at least Coldfusion 8 Server shows up as a performance object, but the counters say: no instance....

running cf8.0.1 on win03 x64 in 32 bit mode
Translate
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 ,
Jul 09, 2008 Jul 09, 2008
Hello,

the patch did not work for me either: W2K3 SP2 32bit, CF8.0.1 latest patch level.
The only thing I did not try was rebooting the whole server, but the description for installing does not mention this requirement. Has this patch gotten perfmon to work for anybody else?

Regards,
Cordis
Translate
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
Guest
Jul 11, 2008 Jul 11, 2008
Please retest using the DLLs from the recent technote. However, please place a copy of cfperfmon_8.dll into windows\syswow64. Remove any copy in windows\system32. Start perfmon.exe in syswow64. I am able to see "coldfusion 8 server" and jrun instance. This is working for me.
Translate
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
Explorer ,
Jul 11, 2008 Jul 11, 2008
I applied the patch in technote 404026 in Win2K3 SP2 (32bit). There is no syswow64 directory on this server. On system startup I get this error:

Windows cannot open the 64-bit extensible counter DLL ColdFusion 8 Application Server in a 32-bit environment. Contact the file vendor to obtain a 32-bit version. Alternatively if you are running a 64-bit native environment, you can open the 64-bit extensible counter DLL by using the 64-bit version of Performance Monitor. To use this tool, open the Windows folder, open the System32 folder, and then start Perfmon.exe.
Translate
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
Guest
Jul 14, 2008 Jul 14, 2008
For 32 bit ColdFusion 8.0 and 8.01 running on a 32-bit Windows OS you should be able to use the original technote and its DLLs - " Windows performance monitoring cannot be enabled (ColdFusion 8.0)". You should follow its instructions.

Basically:
Confirm you neo-metrics.xml appears as in the technote.
Replace both cfperfmon_8.dll and PerfmonClient.dll in coldfusion8\lib with the files from the technote.
Replace both cfperfmon_8.dll in windows\system32 with the file from the technote.
Translate
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 ,
Jul 15, 2008 Jul 15, 2008
Hello,

sorry, but I still have not gotten this to work! Win2003 SP2 32bit, CF8.0.1.
I have installed all versions of the supplied DLL's and all the neo-metric.xml files of all my instances have been corrected.

When I open perfmon I cannot select any instances...

Regards,
Cordis
Translate
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 ,
Jul 17, 2008 Jul 17, 2008
Hello,

can anyone help me, this STILL does not work! I have replaced the DLL's, check the XML file, rebooted the servers etc. I have currently got 6 ColdFusion Servers running and none of them show the perfmon info for the instances!!!!

Regards,
Cordis
Translate
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
Guest
Jul 31, 2008 Jul 31, 2008
Okay,
Sorry for the delay on answering this thread. I have continued to research this issue. I will be updating the current technote to reflect the information I have found.

NOTE: For CF801 32 bit the DLLs distributed in the installer are the proper ones! Do not update the DLLs. cfperfmon_8.dll should be installed in both cf_root\lib and windows\sysWOW64. Windows\sysWOW64 is where 32 bit system dlls are in win64 (confusing isn't it - this means windows\system32 actually has the 64 bit files). You should run perfmon.exe from Windows\sysWOW64 if you are running 32 bit ColdFusion!

For 64 bit windows and 64 bit ColdFusion 8.01 use the technote DLLs and instructions ( Patch for Performance Monitor with ColdFusion 8.0.1). These do work! However, we have found several machines continue to not work or even show the "ColdFusion 8 Server" counters object. We have found the registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ColdFusion 8 Application Server\Performance\Disable Performance Counters.
Removing that registry key and restarting ColdFusion fixed the problem on those machines.

However, start by just following the instructions in the technote when you are working with 64 bit CF801 running on 64 bit windows.

If you are running 32 bit CF801 on a 32 bit windows machine, perfmon should work with the normal installation. Confirm that cfperfmon_8.dll is installed in windows\system32. Confirm this dll matches the dll in cf_root\lib (size/date in properties). Confirm you have activated perfmon in the cfadmin and restarted ColdFusion Appserver. Review the settings in neo-metrics.xml and look at the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ColdFusion 8 Application Server\Performance\disable counter key. Remove it if it exists.
Translate
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
Guest
Aug 04, 2008 Aug 04, 2008
The technote, " Patch for Performance Monitor with ColdFusion 8.0.1" has been updated. Basically, the update includes the information in my previous reply:
- 32 bit DLLs from 8.01 installation work
- The technote above has DLLs only for 64 bit ColdFusion
- 64 bit DLLs should install to windows\system32 and perfmon.exe should be used from same directory - 32 bit DLLs (for cf801 standard) on 64 bit windows should install to windows\sysWOW64 and perfmon.exe should be run from windows\sys for 32 bit ColdFusion
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ColdFusion 8 Application Server\Performance\Disable Performance Counters should be set to zero or the entire key removed
Translate
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 ,
Aug 05, 2008 Aug 05, 2008
Hello,

could it be that I am missing the cfstat utility on my systems? When I look at the cfadmin debugging options, there is no option to enable performance monitoring...

Regards,
Cordis Ops
Translate
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
Guest
Aug 05, 2008 Aug 05, 2008
From online help:
"Enable Performance Monitoring Not enabled in J2EE versions" This includes ColdFusion multi-server and any ear/war deployment.
Translate
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 ,
Aug 07, 2008 Aug 07, 2008
I don't know if this is related, but I can't get the Server Monitor to work in my multi-server CF8.1 installation (Win32). Like others, I completely uninstalled CF7 first, then installed CF8.1. I am running my cfide under a local intranet using port 80. When I click to launch it I keep getting "ColdFusion server is unavailable" (in the white Flash layer dialog) even though I am putting in the correct login. What gives?

Since I am using the multi-server install I understand that perfmon won't work so really need the built-in service to. Thanks.
Translate
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 ,
Nov 07, 2008 Nov 07, 2008
DCwebGuy, about your issue that using the CF8 Server monitor gets "coldfusion server is unavailable", check out a solution that I blogged about:

http://carehart.org/blog/client/index.cfm/2008/11/7/cf911_cf8mon_cf_unavailable

Hope it helps you or future readers of this thread, searching for info on that problem.

/Charlie (troubleshooter, carehart. org)
Translate
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