Skip to main content
Aug 27, 2021 4:04 AM UTC
Solved

CPU memory utilization for Apache is very high

 CPU memory utilization for Apache is very very high when the Thingworx Industrial Thing is connected. It's closed to 12 Giga Byte when ThingWorx Industrial Thing is connected.

CPU memory utization is near about 3 Giga Byte only when ThingWorx Industrial Thing is not connected.

 

When I am going through application logs I can see this below log appearing multiple times. How to fix this below error?

 

[T: TWEventProcessor-11] Error Executing Event Handler 'RunScheduler' for event Type.Thing:Entity.PTC.SCA.SCO.KPIScheduler:Event.ScheduledEvent

 

Also is there any suggestions which we can do to lower down the memory utilization for Tomcat

PaiChungAnswer
Aug 30, 2021 11:44 AM UTC

131 updates a second shouldn't impact your system, I do see that you have cached for a specific time set to 1000, which would mean that if your system is polling these properties with a service it will read from the device if the value hasn't been updated for over 1 second. I recommend you set that to read from cache without expiration (so just read from cache)

Beyond that, it will be what the system might do based on a value update, not sure what subscriptions you are running based on the value updates.

4 replies

Aug 27, 2021 2:16 PM UTC

Most of this likely traces back to how many tags you have connected and how often they update.

It will cause data change events and then go into the actual KPI calculation after that.

Aug 30, 2021 5:17 AM UTC

Hi Pai,

 

Thanks for your reply. There are 131 active tags and the scan rate is 1000 ms.

Also, below I have pasted the screenshot of configurations for the remote bounded properties. Any recommendation will be helpful for lowering down the memory consumptions.

AK_10010302_0-1630300504237.png

Best Regards,

Aditya Kumar

PaiChungAnswer
Aug 30, 2021 11:44 AM UTC

131 updates a second shouldn't impact your system, I do see that you have cached for a specific time set to 1000, which would mean that if your system is polling these properties with a service it will read from the device if the value hasn't been updated for over 1 second. I recommend you set that to read from cache without expiration (so just read from cache)

Beyond that, it will be what the system might do based on a value update, not sure what subscriptions you are running based on the value updates.

Sep 10, 2021 8:57 PM UTC

Hi @AK_10010302.

 

If you feel your question has been answered, please mark the appropriate response as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon