cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

ctrlX CORE stops working suddenly

ctrlX CORE stops working suddenly

Akseer
Established Member

Hi,

Our ctrlX CORE device sometimes show abnormal behaviour. Following are some the observations regarding this issue so far:

  • We can ping ctrlX CORE device but it's not reachable via browser.
  • We have noticed that the PLC app, Cedalo MQTT broker, and python scripts are still running in the background but Node-RED app is not working.

Questions:

  • How to troubleshoot this issue?
  • What may be the reasons for this problem?

Please find attached the screenshot of browser trying to access PLC. Also find attached the ctrlX CORE system report and diagnostics files. 

6 REPLIES 6

nickH
Community Moderator
Community Moderator

Hi, 

What I would try:

  • Reboot the device
  • Delete the browser cache and refresh 

Best regards, 

Nick 

Akseer
Established Member

Hi Nick,

Thanks for the message. But I don't think that cache of browser is responsible for this problem since I have tried to open the ctrlX CORE from another PC as well that is in the same local network. Furthermore, the Node-RED app is also not working at the back-end so there is some issue at the ctrlX CORE device side. 

Some more information:

Manual rebooting of ctrlX CORE device is not a solution since the device has to be operational 24/7 hours of a week. Furthermore, the device is installed at a remote place so manual ON/OFF is not an option. There should be a feature to restart the device via SSH in such cases to handle the problems.

 

Regarding the issue of ctrlX CORE being not reachable, there are couple of pre-released versions of apps installed in device. So, can they cause a problem? Thanks

CodeShepherd
Community Moderator
Community Moderator

The only quite not fitting app on your system is the IDE 1.18.7. There it could be that is trying to acces interfaces not existing on the used apps like ctrlX MOTION 1.12.8, CTRLX CORE Python runtime 1.12.4 and ctrlX AutomationCore 1.12.8.

The only problem that I know that gets device get slow and at some point unreachable is 100% filled up internal RAM or flash storage. Are there e.g. files writiten via Node-RED? Could you do a reboot of the control and afterwards have a look to the CPU and storage utilisation?

You can restart the ctrlX CORE even via its web UI (not needing any ssh connection). See this post if it it is really necessary to get ssh access to your control.

Akseer
Established Member

Hi @CodeShepherd,

Thanks for the response. 
We'll go for the SSH user as a last option and for now try to restart device and fix issue.

I have just found one interesting point and it might be causing the internal memory to be 100% filled. The diagnostic log I have attached contains 10000 logs that are generated within 40 seconds. That's like a flood of messages and most of them are the repeatation of 2 lines below. I think once the device will start, the diagnostic log memory will be cleaned. This issue might be related to IDE. I'll check and update here. Please let me know if you find a potential reason of repeatation of below logs. Thanks

 

  • 2023/05/19 12:03:11 POST /license-manager/api/v1/license AcquireLicense 5.58392ms
  • 12:03:11 ERROR /var/jenkins/workspace/common.licensing/private/src/flx2go/Flx2GoHelperFunctions.c:33: : category - public, code - 0x7000000b (Requested feature was not found.), system - 0x00000000, location - 0x000702c7

Akseer
Established Member

Hi,

The issue with repeation of error logs at high speed seems to be cleared for now after changing the MQTT broker app version from 2.0.17 to 2.0.16. We'll continue to check the performance of device with current setup. Please see the Storage and CPU Performance screenshots of device below.

Akseer_0-1684870810844.png



Akseer_1-1684870820251.png

 

CodeShepherd
Community Moderator
Community Moderator

The logbook itself is designed as a ring buffer and will not grow excessively. In standard it will also be cleared while reboot if persistence was not switched on manually.

Please keep an eye on CPU, RAM and Flash utilization as working on maximum load in one of each could cause problems.

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist