All zenon components write in the background messages to joint log file(s) saved in '%programdata%\COPA-DATA\LOG' folder.
These files can be read and configured with Diagnosis Viewer.
You can modify the logging level of a component by clicking 'Client Configuration' in 'Settings' menu and after select the respective process name.
Attention: Set the logging parameters wisely as the time-frame of the LOGs decrease when increasing the detail of the logs written.
You can also find LOG files in SIC in 'Platform > Versions > Version XXXX > Directories > LogDirectory' folder.
Service Engine writes log messages in regard zenrt32.exe stability in case of errors or warnings.
You can find these entries in Diagnosis Viewer by filtering the column Function name = 'CZenonrtApp::MonitoringThread'.
Some of the most relevant performance entries are:
- Memory: “Total available memory fell below warning/error level to [xxx]%”
- CPU: Total CPU-Load exceeded warning/error level to [xxx]%”
- Service Engine not responding for XXX ms: "100ms Timer has not cycled for [xxx]ms”
- Handles: "(%)
“Handles exceeded error level to [xxx]”.
In case Service Engine closes unexpectedly, zenon Drivers write in the logs "RPC error!" as they can no longer communicate with zenrt32.exe.
Some remarks:
- It is important to distinguish short continuous freezes from one single continuous freeze.
- A process can be temporarily unresponsive when performing heavy operations.
-
Consider different strategies to balance and flatten the overall load of the system by splitting functionality through different computers (e.g. Process Gateway runs on a specific Service Engine Client) and different moments (e.g. heavy duty tasks such as the ones requiring data processing are executed a long a certain period and not at the same time).
- Consider to acquire better hardware.