<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[NetXMS V5.2.3 - Data loss and requests not loading]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">We are investigating an issue where objects disappeared after a NetXMS crash and we are seeing unusual behaviour with the database connection pool and parts of the UI. We would appreciate guidance on possible causes.</p>
<p dir="auto">Environment</p>
<p dir="auto">NetXMS: v5.2.3</p>
<p dir="auto">Database: MariaDB 10.11</p>
<p dir="auto">NetXMS server and DB run on separate VMs with separate disks</p>
<p dir="auto">NetXMS server specs:<br />
16 CPU cores<br />
64 GB RAM</p>
<p dir="auto">System size:<br />
Objects: 23022<br />
Nodes: 1129<br />
Interfaces: 21081<br />
Access Points: 0<br />
Sensors: 0<br />
Collectible DCIs: 14890</p>
<p dir="auto">MaxTransactionSize = 1000</p>
<p dir="auto"><strong>Incident</strong><br />
The NetXMS server crashed after the root partition on the NetXMS server VM became full. The database is hosted on a different VM with its own storage and did not run out of space.</p>
<p dir="auto"><strong>When bringing NetXMS back online:</strong><br />
Some objects that had been created several days earlier had disappeared.<br />
Other newer objects and data were still present (inc alarms for dci that had disappered), suggesting that only some metadata was lost or never committed.</p>
<p dir="auto"><strong>Shutdown behaviour</strong><br />
When attempting to restart the NetXMS service:<br />
The server did not shut down gracefully.<br />
It had to be killed manually.</p>
<p dir="auto"><strong>Database connection pool observation</strong><br />
During investigation we ran show dbcp and noticed that for extended periods (10–30 seconds) it reports:<br />
0 database connections in use</p>
<p dir="auto">This occurs even though the system is actively monitoring ~23k objects and ~14.8k collectible DCIs.</p>
<p dir="auto"> show dbstat<br />
SQL query counters:<br />
   Total .......... 1100783<br />
   SELECT ......... 306641<br />
   Non-SELECT ..... 794106<br />
   Long running ... 0<br />
   Failed ......... 0<br />
Background writer requests:<br />
   DCI data ....... 246179<br />
   DCI raw data ... 246179<br />
   Others ......... 234</p>
<p dir="auto"><strong>Additional anomalies</strong><br />
We are also seeing unusual behaviour in both the web client and the desktop client:<br />
Some log views fail to load or take an extremely long time to load pages or do not load at all.<br />
Pagination for logs sometimes does not work or stalls.</p>
<p dir="auto">These behaviours appear in both the web UI and the native NetXMS client.<br />
This makes us suspect there may be an issue with database access, internal queues, or blocked threads.</p>
<p dir="auto"><strong>Questions</strong><br />
Could a full root partition on the NetXMS server prevent metadata commits to the database even if the DB is on a separate system?<br />
Is it possible that object metadata was only held in server memory and never committed, resulting in the objects disappearing after the crash?<br />
What could cause the DB connection pool to show 0 connections in use for long periods on a system of this size?<br />
Could this indicate blocked writer threads, transaction batching issues, or internal locks?<br />
Could the log loading and pagination issues in both clients be related to the same underlying database or thread issue?</p>
<p dir="auto">Any guidance on what diagnostics we should run (thread state, DB writer queues, etc.) would be greatly appreciated.</p>
<p dir="auto">Thanks<br />
Darren</p>
]]></description><link>https://forum.netxms.org/topic/8352/netxms-v5.2.3-data-loss-and-requests-not-loading</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 10:20:01 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/8352.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 13 Mar 2026 16:11:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NetXMS V5.2.3 - Data loss and requests not loading on Thu, 16 Apr 2026 12:34:52 GMT]]></title><description><![CDATA[<p dir="auto">Sorry, this was overlooked for a while. First guess is that there are some issues with syncer thread. It's not visible in show threads, as there's just one syncer threads. In debug console there's</p>
<p dir="auto">netxmsd: sh sy<br />
Last run at .........: 16.Apr.2026 15:22:58<br />
Last run time .......: 1 ms<br />
Average run time ....: 119 ms<br />
Max run time ........: 132 ms<br />
Min run time ........: 0 ms</p>
<p dir="auto">And System -&gt; NetXMS Server -&gt; Server Performance has metrics for it, specifically Server.SyncerRunTime.Last. Pls check if this metric looks reasonable.</p>
<p dir="auto">Slow log opening might indicate problems with DB performance, DB might need tuning. What are the specs on DB VM, is it dedicated to NetXMS or a shared database? How's CPU consumption and IO stats? How big is the database on disk?<br />
You can also use mysql subagent to collect stats about DB operation - <a href="https://netxms.org/documentation/adminguide/database-monitoring.html#mysql" rel="nofollow ugc">https://netxms.org/documentation/adminguide/database-monitoring.html#mysql</a></p>
]]></description><link>https://forum.netxms.org/post/35343</link><guid isPermaLink="true">https://forum.netxms.org/post/35343</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Thu, 16 Apr 2026 12:34:52 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS V5.2.3 - Data loss and requests not loading on Fri, 13 Mar 2026 16:15:51 GMT]]></title><description><![CDATA[<p dir="auto">Additional info that I missed from the main post</p>
<p dir="auto"><strong>show thread</strong><br />
MAIN<br />
   Threads.............. 8 (8/512)<br />
   Load average......... 0.00 0.01 0.00<br />
   Current load......... 0%<br />
   Usage................ 1%<br />
   Active requests...... 0<br />
   Scheduled requests... 1<br />
   Total requests....... 104912<br />
   Thread starts........ 0<br />
   Thread stops......... 0<br />
   Wait time EMA........ 0 ms<br />
   Wait time SMA........ 0 ms<br />
   Wait time SD......... 0 ms<br />
   Queue size EMA....... 0<br />
   Queue size SMA....... 0<br />
   Queue size SD........ 0</p>
<p dir="auto">AGENT<br />
   Threads.............. 32 (32/256)<br />
   Load average......... 0.00 0.00 0.00<br />
   Current load......... 0%<br />
   Usage................ 12%<br />
   Active requests...... 0<br />
   Scheduled requests... 0<br />
   Total requests....... 0<br />
   Thread starts........ 0<br />
   Thread stops......... 0<br />
   Wait time EMA........ 0 ms<br />
   Wait time SMA........ 0 ms<br />
   Wait time SD......... 0 ms<br />
   Queue size EMA....... 0<br />
   Queue size SMA....... 0<br />
   Queue size SD........ 0</p>
<p dir="auto">POLLERS<br />
   Threads.............. 80 (10/500)<br />
   Load average......... 15.51 28.01 35.31<br />
   Current load......... 2%<br />
   Usage................ 16%<br />
   Active requests...... 2<br />
   Scheduled requests... 0<br />
   Total requests....... 367629<br />
   Thread starts........ 427<br />
   Thread stops......... 357<br />
   Wait time EMA........ 274 ms<br />
   Wait time SMA........ 152 ms<br />
   Wait time SD......... 272 ms<br />
   Queue size EMA....... 7<br />
   Queue size SMA....... 0<br />
   Queue size SD........ 0</p>
<p dir="auto">FILE-TRANSFER<br />
   Threads.............. 2 (2/16)<br />
   Load average......... 0.00 0.00 0.00<br />
   Current load......... 0%<br />
   Usage................ 12%<br />
   Active requests...... 0<br />
   Scheduled requests... 0<br />
   Total requests....... 0<br />
   Thread starts........ 0<br />
   Thread stops......... 0<br />
   Wait time EMA........ 0 ms<br />
   Wait time SMA........ 0 ms<br />
   Wait time SD......... 0 ms<br />
   Queue size EMA....... 0<br />
   Queue size SMA....... 0<br />
   Queue size SD........ 0</p>
<p dir="auto">NPE<br />
   Threads.............. 1 (1/1024)<br />
   Load average......... 0.00 0.00 0.00<br />
   Current load......... 0%<br />
   Usage................ 0%<br />
   Active requests...... 0<br />
   Scheduled requests... 0<br />
   Total requests....... 0<br />
   Thread starts........ 0<br />
   Thread stops......... 0<br />
   Wait time EMA........ 0 ms<br />
   Wait time SMA........ 0 ms<br />
   Wait time SD......... 0 ms<br />
   Queue size EMA....... 0<br />
   Queue size SMA....... 0<br />
   Queue size SD........ 0</p>
<p dir="auto">DATACOLL<br />
   Threads.............. 17 (10/300)<br />
   Load average......... 0.00 0.07 0.42<br />
   Current load......... 0%<br />
   Usage................ 5%<br />
   Active requests...... 0<br />
   Scheduled requests... 0<br />
   Total requests....... 275896<br />
   Thread starts........ 17<br />
   Thread stops......... 10<br />
   Wait time EMA........ 80 ms<br />
   Wait time SMA........ 0 ms<br />
   Wait time SD......... 0 ms<br />
   Queue size EMA....... 0<br />
   Queue size SMA....... 0<br />
   Queue size SD........ 0</p>
<p dir="auto">CLIENT<br />
   Threads.............. 16 (16/2048)<br />
   Load average......... 0.00 0.00 0.00<br />
   Current load......... 12%<br />
   Usage................ 0%<br />
   Active requests...... 2<br />
   Scheduled requests... 0<br />
   Total requests....... 84567<br />
   Thread starts........ 0<br />
   Thread stops......... 0<br />
   Wait time EMA........ 0 ms<br />
   Wait time SMA........ 0 ms<br />
   Wait time SD......... 0 ms<br />
   Queue size EMA....... 0<br />
   Queue size SMA....... 0<br />
   Queue size SD........ 0</p>
<p dir="auto">DISCOVERY<br />
   Threads.............. 8 (8/64)<br />
   Load average......... 0.00 0.00 0.00<br />
   Current load......... 0%<br />
   Usage................ 12%<br />
   Active requests...... 0<br />
   Scheduled requests... 0<br />
   Total requests....... 0<br />
   Thread starts........ 0<br />
   Thread stops......... 0<br />
   Wait time EMA........ 0 ms<br />
   Wait time SMA........ 0 ms<br />
   Wait time SD......... 0 ms<br />
   Queue size EMA....... 0<br />
   Queue size SMA....... 0<br />
   Queue size SD........ 0</p>
<p dir="auto">SCHEDULER<br />
   Threads.............. 1 (1/64)<br />
   Load average......... 0.00 0.00 0.00<br />
   Current load......... 0%<br />
   Usage................ 1%<br />
   Active requests...... 0<br />
   Scheduled requests... 1<br />
   Total requests....... 40<br />
   Thread starts........ 0<br />
   Thread stops......... 0<br />
   Wait time EMA........ 0 ms<br />
   Wait time SMA........ 0 ms<br />
   Wait time SD......... 0 ms<br />
   Queue size EMA....... 0<br />
   Queue size SMA....... 0<br />
   Queue size SD........ 0</p>
<p dir="auto">MOBILE<br />
   Threads.............. 4 (4/256)<br />
   Load average......... 0.00 0.00 0.00<br />
   Current load......... 0%<br />
   Usage................ 1%<br />
   Active requests...... 0<br />
   Scheduled requests... 0<br />
   Total requests....... 0<br />
   Thread starts........ 0<br />
   Thread stops......... 0<br />
   Wait time EMA........ 0 ms<br />
   Wait time SMA........ 0 ms<br />
   Wait time SD......... 0 ms<br />
   Queue size EMA....... 0<br />
   Queue size SMA....... 0<br />
   Queue size SD........ 0</p>
<p dir="auto">PACKAGE-MANAGER<br />
   Threads.............. 2 (2/25)<br />
   Load average......... 0.00 0.00 0.00<br />
   Current load......... 0%<br />
   Usage................ 8%<br />
   Active requests...... 0<br />
   Scheduled requests... 0<br />
   Total requests....... 0<br />
   Thread starts........ 0<br />
   Thread stops......... 0<br />
   Wait time EMA........ 0 ms<br />
   Wait time SMA........ 0 ms<br />
   Wait time SD......... 0 ms<br />
   Queue size EMA....... 0<br />
   Queue size SMA....... 0<br />
   Queue size SD........ 0</p>
<p dir="auto"> <strong>show queue</strong><br />
Data collector                   : 105<br />
DCI cache loader                 : 0<br />
Template updater                 : 0<br />
Database writer                  : 0<br />
Database writer (IData)          : 2<br />
Database writer (raw DCI values) : 6119<br />
Event processor                  : 0<br />
Event log writer                 : 0<br />
Poller                           : 0<br />
Node discovery poller            : 0<br />
SNMP trap processor              : 0<br />
SNMP trap writer                 : 0<br />
Syslog processor                 : 0<br />
Syslog writer                    : 0<br />
Scheduler                        : 0<br />
Windows event processor          : 0<br />
Windows event writer             : 0</p>
]]></description><link>https://forum.netxms.org/post/35296</link><guid isPermaLink="true">https://forum.netxms.org/post/35296</guid><dc:creator><![CDATA[Derwood1985]]></dc:creator><pubDate>Fri, 13 Mar 2026 16:15:51 GMT</pubDate></item></channel></rss>