The query we run is as follows:
Code: Select all
timeRange = "TIMERANGE(\"" + (string)tFrom + "\",\"" + (string)tTo + "\",1,0)";
DebugTN("historical count start");
dpQuery("SELECT 'COUNT(_online.._value)'" +
"FROM '{*}' REMOTE '"+sSys+":' " + timeRange, dda);
dyn_errClass deErr = getLastError();
DebugTN("historical count end",dda[2][2]);
if (dynlen(deErr) == 0 && dda[2][2] < 100000)
{
// Create the historical data query
DebugTN("historical select start");
dpQuery("SELECT '_online.._value'," +
"'_online.._stime'," +
"'_original.._user' " +
"FROM '{*}' REMOTE '"+sSys+":' " + timeRange, dda);
deErr = getLastError();
DebugTN("historical select end", dynlen(dda) - 1);
DebugTN("Last error", deErr);
}
Code: Select all
WCCOAui201:2022.03.17 20:32:18.283["historical count start"]
WCCOAui201:2022.03.17 20:32:48.157["historical count end"][44635]
WCCOAui201:2022.03.17 20:32:48.157["historical select start"]
Code: Select all
WCCILdata (0), 2022.03.17 20:32:50.518, SYS, SEVERE, 39, Connection lost, Send buffer limit exceeded, closing connection to (SYS: 3 Data -num 99 CONN: 1) @ localhost, [PeerItcIOHandler::sendCall]
WCCILpmon (1), 2022.03.17 20:32:57.683, SYS, WARNING, 36/pmon, Blocking Manager WCCILdata(0) detected. No heartbeat since 30 seconds.We are runnning 3.17 P014 on RHEL 8.2.
Cheers
Eric