Log Performance Data on the App Server

The App Server includes an option to write information about server performance and the number of connections handled by the App Server to the Digitise Apps standard audit log.

By default, the option to write process monitoring data to the log is enabled and this data will be written to the Audit Log once every 4 hours. You can disable this feature and change how often the information is logged by creating and or editing two data values in the registry on the App Server machine.

 

To enable/disable this feature you need to edit the following registry DWORD value:

32-bit Operating Systems:

HKEY_LOCAL_MACHINE\Software\
ndl-metascybe\mx\ConnectMobile\Ver2\Settings\EnableProcessMonitor

64-bit Operating Systems:

HKEY_LOCAL_MACHINE\Software\Wow6432Node\
ndl-metascybe\mx\ConnectMobile\Ver2\Settings\EnableProcessMonitor

Set this value to 1 to enable process monitoring logging or 0 to disable it and stop writing the process monitor messages to the audit log.

In addition, if process monitoring is enabled, you can change the frequency with which the messages are written to the log by changing the following registry DWORD value:

32-bit Operating Systems:

HKEY_LOCAL_MACHINE\Software\
ndl-metascybe\mx\ConnectMobile\Ver2\Settings\LogProcessMonitorEveryMinutes

64-bit Operating Systems:

HKEY_LOCAL_MACHINE\Software\Wow6432Node\
ndl-metascybe\mx\ConnectMobile\Ver2\Settings\LogProcessMonitorEveryMinutes

The value is specified in minutes and determines how often the information is written to the log. The default value is 240 minutes.

 

When enabled the following informational messages will be written to the audit log at the specified time interval:

[16/02/2014 17:11:14] [Information:] Message:
"Connections: Current=0, Max=0 at n/a, Failed=0; Listens=1 (0 errors)"

[16/02/2014 17:11:14] [Information:] Message:
"Handles: Current=252, Min=222 at 16/02/2014 17:07:49, Max=256 at 16/02/2014 17:09:14"

[16/02/2014 17:11:14] [Information:] Message:
"Private Bytes: Current=4888.00KB, Min=4100.00KB at 16/02/2014 17:07:49, Max=4888.00KB at 16/02/2014 17:10:54"

These messages can be viewed under the Server category's Audit tab in the App Manager utility.