Thursday, October 8, 2015

How can you tell if Niagara Ax JACE is overloaded?

When using Workbench, right-click on the connected station in the nav sidebar and select View -> Resource Manager.


• The CPU usage should be less than 80% on a continuous basis.
• The heap.used should be less than 75% of the heap.max value. Execute garbage collection before evaluating the heap.max value by right-clicking on the connected station in the nav sidebar and selecting Spy -> util -> gc.

• For a SoftJACE ensure that the resource.total is less than the licensed resource limit. SoftJACEs are licensed for either a 10,000 KRU or 30,000 KRU limit. If actual station resources exceed 110% of the licensed limit for a SoftJACE, the station will fail to start.

If running AX 3.1 or later, when using Workbench right-click on the connected station in the nav sidebar and select 'Spy'. On the Remote Spy page select 'platform diagnostics' and then 'fd usage'. This displays a list of processes and the number of open file descriptors for each.

QNX-based JACE controllers are limited to 1000 open file descriptors. File descriptors include but are not limited to directories, files, histories, and socket connections. If the number of open file descriptors exceeds the limit, the station will behave erratically such as misreporting available file space, missing history collections, etc. A maximum of 800 histories per station is recommended to avoid exhausting the pool of available file descriptors.