<?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[3.3 does not reconnect to postgres]]></title><description><![CDATA[<p dir="auto">Postgres backend is functioning, but netxms reports 'Server has lost connection with backend database'.</p>
<p dir="auto">sh dbcp<br />
netxmsd: sh dbcp<br />
0x7f8745e44780 04.May.2020 17:42:14 dbwrite.cpp:457<br />
0x7f873cbd5d80 04.May.2020 17:42:15 dcitem.cpp:1309<br />
0x7f873cbd5960 04.May.2020 17:42:05 syncer.cpp:238<br />
3 database connections in use</p>
<p dir="auto">Stuck since yesterday.</p>
<p dir="auto">sh q</p>
<p dir="auto">netxmsd: sh q<br />
Data collector                   : 0<br />
DCI cache loader                 : 46673<br />
Template updates                 : 0<br />
Database writer                  : 5<br />
Database writer (IData)          : 3354870<br />
Database writer (raw DCI values) : 28133<br />
Event processor                  : 1334<br />
Event log writer                 : 0<br />
Poller                           : 1319<br />
Node discovery poller            : 1187<br />
Syslog processing                : 0<br />
Syslog writer                    : 0<br />
Scheduler                        : 0</p>
<p dir="auto">dbcp reset doesn't do much:</p>
<p dir="auto">netxmsd: dbcp reset<br />
Resetting database connection pool<br />
Database connection pool reset completed<br />
netxmsd: sh dbcp<br />
0x7f8745e44780 04.May.2020 17:42:14 dbwrite.cpp:457<br />
0x7f873cbd5d80 04.May.2020 17:42:15 dcitem.cpp:1309<br />
0x7f873cbd5960 04.May.2020 17:42:05 syncer.cpp:238<br />
3 database connections in use</p>
]]></description><link>https://forum.netxms.org/topic/6516/3.3-does-not-reconnect-to-postgres</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:07:26 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6516.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 05 May 2020 15:56:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 3.3 does not reconnect to postgres on Wed, 06 May 2020 20:07:40 GMT]]></title><description><![CDATA[<p dir="auto">The grep could afford to be a bit more detailed, for example, 'bin/netxmsd', as any open/tailed netxms log files will pass the grep and cause script failure later on.</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000005141-netxmsd-threads-8416.zip">netxmsd-threads-8416.zip</a></p>
]]></description><link>https://forum.netxms.org/post/27841</link><guid isPermaLink="true">https://forum.netxms.org/post/27841</guid><dc:creator><![CDATA[jermudgeon]]></dc:creator><pubDate>Wed, 06 May 2020 20:07:40 GMT</pubDate></item><item><title><![CDATA[Reply to 3.3 does not reconnect to postgres on Wed, 06 May 2020 06:26:27 GMT]]></title><description><![CDATA[<p dir="auto">If it's still in that condition, can you run this script to get thread statuses:<br />
<a href="https://github.com/netxms/netxms/blob/master/tools/capture_netxmsd_threads.sh" rel="nofollow ugc">https://github.com/netxms/netxms/blob/master/tools/capture_netxmsd_threads.sh</a></p>
<p dir="auto">Please run it twice with about 1 minute interval and attach the files it creates in /tmp.<br />
The script requires gdb to be installed.</p>
]]></description><link>https://forum.netxms.org/post/27837</link><guid isPermaLink="true">https://forum.netxms.org/post/27837</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Wed, 06 May 2020 06:26:27 GMT</pubDate></item></channel></rss>