Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Java problem may crash my instance
-
Hi guys, I found these WARN in ma.log that increase size of ma.log up to 100 MB/file/day. I tried upgrade to AdoptOpenJDK 20 (latest) and the problem is still there. Any idea?
My mango instance is 4.5.0 (latest) on Windows 11WARN 2023-04-27T23:16:40,322 (com.infiniteautomation.mango.spring.components.ServerMonitoringService.doPoll:321) - Failed to poll monitor internal.monitor.LOAD_AVERAGE java.lang.IllegalStateException: Unmapped relationship: 7 at com.sun.jna.platform.win32.WinNT$SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX.fromPointer(WinNT.java:3033) ~[jna-platform-5.6.0.jar:5.6.0 (b0)] at com.sun.jna.platform.win32.Kernel32Util.getLogicalProcessorInformationEx(Kernel32Util.java:715) ~[jna-platform-5.6.0.jar:5.6.0 (b0)] at oshi.driver.windows.LogicalProcessorInformation.getLogicalProcessorInformationEx(LogicalProcessorInformation.java:61) ~[oshi-core-5.4.1.jar:5.4.1] at oshi.hardware.platform.windows.WindowsCentralProcessor.initProcessorCounts(WindowsCentralProcessor.java:155) ~[oshi-core-5.4.1.jar:5.4.1] at oshi.hardware.common.AbstractCentralProcessor.<init>(AbstractCentralProcessor.java:74) ~[oshi-core-5.4.1.jar:5.4.1] at oshi.hardware.platform.windows.WindowsCentralProcessor.<init>(WindowsCentralProcessor.java:66) ~[oshi-core-5.4.1.jar:5.4.1] at oshi.hardware.platform.windows.WindowsHardwareAbstractionLayer.createProcessor(WindowsHardwareAbstractionLayer.java:60) ~[oshi-core-5.4.1.jar:5.4.1] at oshi.util.Memoizer$1.get(Memoizer.java:87) ~[oshi-core-5.4.1.jar:5.4.1] at oshi.hardware.common.AbstractHardwareAbstractionLayer.getProcessor(AbstractHardwareAbstractionLayer.java:68) ~[oshi-core-5.4.1.jar:5.4.1] at com.infiniteautomation.mango.spring.service.ServerInformationService.getProcessor(ServerInformationService.java:96) ~[mango-4.5.0.jar:?] at com.infiniteautomation.mango.spring.service.ServerInformationService.systemLoadAverage(ServerInformationService.java:181) ~[mango-4.5.0.jar:?] at com.infiniteautomation.mango.spring.components.ServerMonitoringService.lambda$new$0(ServerMonitoringService.java:197) ~[mango-4.5.0.jar:?] at com.infiniteautomation.mango.monitor.PollableMonitorImpl.poll(PollableMonitorImpl.java:56) ~[mango-4.5.0.jar:?] at com.infiniteautomation.mango.spring.components.ServerMonitoringService.doPoll(ServerMonitoringService.java:318) ~[mango-4.5.0.jar:?] at com.infiniteautomation.mango.spring.components.PollingService.tryPoll(PollingService.java:30) ~[mango-4.5.0.jar:?] at org.springframework.security.concurrent.DelegatingSecurityContextRunnable.run(DelegatingSecurityContextRunnable.java:82) ~[spring-security-core-5.4.2.jar:5.4.2] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?] at java.lang.Thread.run(Thread.java:1623) [?:?] WARN 2023-04-27T23:16:40,323 (com.infiniteautomation.mango.spring.components.ServerMonitoringService.doPoll:321) - Failed to poll monitor java.lang.Runtime.availableProcessors java.lang.IllegalStateException: Unmapped relationship: 7 at com.sun.jna.platform.win32.WinNT$SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX.fromPointer(WinNT.java:3033) ~[jna-platform-5.6.0.jar:5.6.0 (b0)] at com.sun.jna.platform.win32.Kernel32Util.getLogicalProcessorInformationEx(Kernel32Util.java:715) ~[jna-platform-5.6.0.jar:5.6.0 (b0)] at oshi.driver.windows.LogicalProcessorInformation.getLogicalProcessorInformationEx(LogicalProcessorInformation.java:61) ~[oshi-core-5.4.1.jar:5.4.1] at oshi.hardware.platform.windows.WindowsCentralProcessor.initProcessorCounts(WindowsCentralProcessor.java:155) ~[oshi-core-5.4.1.jar:5.4.1] at oshi.hardware.common.AbstractCentralProcessor.<init>(AbstractCentralProcessor.java:74) ~[oshi-core-5.4.1.jar:5.4.1] at oshi.hardware.platform.windows.WindowsCentralProcessor.<init>(WindowsCentralProcessor.java:66) ~[oshi-core-5.4.1.jar:5.4.1] at oshi.hardware.platform.windows.WindowsHardwareAbstractionLayer.createProcessor(WindowsHardwareAbstractionLayer.java:60) ~[oshi-core-5.4.1.jar:5.4.1] at oshi.util.Memoizer$1.get(Memoizer.java:87) ~[oshi-core-5.4.1.jar:5.4.1] at oshi.hardware.common.AbstractHardwareAbstractionLayer.getProcessor(AbstractHardwareAbstractionLayer.java:68) ~[oshi-core-5.4.1.jar:5.4.1] at com.infiniteautomation.mango.spring.service.ServerInformationService.getProcessor(ServerInformationService.java:96) ~[mango-4.5.0.jar:?] at com.infiniteautomation.mango.spring.service.ServerInformationService.availableProcessors(ServerInformationService.java:226) ~[mango-4.5.0.jar:?] at com.infiniteautomation.mango.spring.components.ServerMonitoringService.lambda$new$11(ServerMonitoringService.java:225) ~[mango-4.5.0.jar:?] at com.infiniteautomation.mango.monitor.MonitoredValues$ValueMonitorBuilder.lambda$buildPollable$0(MonitoredValues.java:147) ~[mango-4.5.0.jar:?] at com.infiniteautomation.mango.monitor.PollableMonitorImpl.poll(PollableMonitorImpl.java:56) ~[mango-4.5.0.jar:?] at com.infiniteautomation.mango.spring.components.ServerMonitoringService.doPoll(ServerMonitoringService.java:318) ~[mango-4.5.0.jar:?] at com.infiniteautomation.mango.spring.components.PollingService.tryPoll(PollingService.java:30) ~[mango-4.5.0.jar:?] at org.springframework.security.concurrent.DelegatingSecurityContextRunnable.run(DelegatingSecurityContextRunnable.java:82) ~[spring-security-core-5.4.2.jar:5.4.2] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?] at java.lang.Thread.run(Thread.java:1623) [?:?] WARN 2023-04-27T23:16:40,323 (com.infiniteautomation.mango.spring.components.ServerMonitoringService.doPoll:321) - Failed to poll monitor os.cpu_load.system java.lang.IllegalStateException: Unmapped relationship: 7 at com.sun.jna.platform.win32.WinNT$SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX.fromPointer(WinNT.java:3033) ~[jna-platform-5.6.0.jar:5.6.0 (b0)] at com.sun.jna.platform.win32.Kernel32Util.getLogicalProcessorInformationEx(Kernel32Util.java:715) ~[jna-platform-5.6.0.jar:5.6.0 (b0)] at oshi.driver.windows.LogicalProcessorInformation.getLogicalProcessorInformationEx(LogicalProcessorInformation.java:61) ~[oshi-core-5.4.1.jar:5.4.1] at oshi.hardware.platform.windows.WindowsCentralProcessor.initProcessorCounts(WindowsCentralProcessor.java:155) ~[oshi-core-5.4.1.jar:5.4.1] at oshi.hardware.common.AbstractCentralProcessor.<init>(AbstractCentralProcessor.java:74) ~[oshi-core-5.4.1.jar:5.4.1] at oshi.hardware.platform.windows.WindowsCentralProcessor.<init>(WindowsCentralProcessor.java:66) ~[oshi-core-5.4.1.jar:5.4.1] at oshi.hardware.platform.windows.WindowsHardwareAbstractionLayer.createProcessor(WindowsHardwareAbstractionLayer.java:60) ~[oshi-core-5.4.1.jar:5.4.1] at oshi.util.Memoizer$1.get(Memoizer.java:87) ~[oshi-core-5.4.1.jar:5.4.1] at oshi.hardware.common.AbstractHardwareAbstractionLayer.getProcessor(AbstractHardwareAbstractionLayer.java:68) ~[oshi-core-5.4.1.jar:5.4.1] at com.infiniteautomation.mango.spring.service.ServerInformationService.getProcessor(ServerInformationService.java:96) ~[mango-4.5.0.jar:?] at com.infiniteautomation.mango.spring.service.ServerInformationService.systemCpuLoadPercent(ServerInformationService.java:202) ~[mango-4.5.0.jar:?] at com.infiniteautomation.mango.monitor.PollableMonitorImpl.poll(PollableMonitorImpl.java:56) ~[mango-4.5.0.jar:?] at com.infiniteautomation.mango.spring.components.ServerMonitoringService.doPoll(ServerMonitoringService.java:318) ~[mango-4.5.0.jar:?] at com.infiniteautomation.mango.spring.components.PollingService.tryPoll(PollingService.java:30) ~[mango-4.5.0.jar:?] at org.springframework.security.concurrent.DelegatingSecurityContextRunnable.run(DelegatingSecurityContextRunnable.java:82) ~[spring-security-core-5.4.2.jar:5.4.2] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?] at java.lang.Thread.run(Thread.java:1623) [?:?]
-
@tungthanh500 stick to adopt11, it's fast and works
Fox
-
I have seen situations where our monitoring library can't handle the hardware it is running on. You can disable this using the mango property:
# enables getting operating system, process, and hardware information via the OSHI native library internal.monitor.enableOperatingSystemInfo=true
-
@MattFox said in Java problem may crash my instance:
@tungthanh500 stick to adopt11, it's fast and works
Fox
Thank you for your advice. How are you doing?
@terrypacker said in Java problem may crash my instance:
I have seen situations where our monitoring library can't handle the hardware it is running on. You can disable this using the mango property:
# enables getting operating system, process, and hardware information via the OSHI native library internal.monitor.enableOperatingSystemInfo=true
Thank you, I will try to add that.