You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the following error when starting the application and refreshing the node:
2021-10-01 11:23:21,887 [CollectorStatusDto-0] DEBUG d.i.m.s.m.MongoDbAccessor:166 - runCommand {"buildInfo": 1} execTime in ms: 18 on [core-hash01.xxxx.qqq:27017]/admin
2021-10-01 11:23:21,888 [CollectorStatusDto-1] ERROR d.i.m.s.c.CollectorManager:641 - ExecutionException while getting updated server status within 2000 ms for 'lt02-hash-dbs' at core-hash01.xxxx.qqq:27017/wwww-sh-lt
java.util.concurrent.ExecutionException: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:206)
at de.idealo.mongodb.slowops.collector.CollectorManager$4.run(CollectorManager.java:630)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
at org.bson.Document.getInteger(Document.java:243)
at de.idealo.mongodb.slowops.collector.ProfilingReader.updateHostInfo(ProfilingReader.java:440)
at de.idealo.mongodb.slowops.collector.CollectorManager$3.run(CollectorManager.java:610)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
... 3 common frames omitted
2021-10-01 11:23:21,889 [http-nio-8080-exec-3] INFO d.i.m.s.c.CollectorManager:664 - Waited termination of CollectorStatusDto executorService for 71 ms, isTerminated: true
2021-10-01 11:23:21,891 [http-nio-8080-exec-3] DEBUG d.i.m.s.c.CollectorManager:718 - <<< getApplicationStatus
2021-10-01 11:23:21,892 [http-nio-8080-exec-3] DEBUG d.i.m.s.servlet.Action:80 - getApplicationJSON result:
2021-10-01 11:23:21,894 [http-nio-8080-exec-3] DEBUG d.i.m.s.d.ApplicationStatusDto:43 - getCollectorStatuses size:1
2021-10-01 11:23:21,907 [http-nio-8080-exec-3] DEBUG d.i.m.s.servlet.Action:81 - {
"collectorStatuses" : [ {
"instanceId" : 6,
"label" : "lt02-hash-dbs",
"replSetName" : "wwww-lt01-hash",
"database" : "wwww-sh-lt",
"collections" : [ "*" ],
"slowMs" : 250,
"systemProfileMaxSizeInBytes" : 0,
"replSetStatus" : "PRIMARY",
"doneJobsHistory" : [ 0, 0, 0, 0, 0, 0, 0, 0 ],
"cpuArch" : "x86_64",
"numCores" : 64,
"cpuFreqMHz" : 800,
"memSizeMB" : 0,
"mongodbVersion" : null,
"lastTsFormatted" : "",
"collecting" : true,
"collectionsAsString" : "*",
"serverAddressAsString" : "core-hash01.xxxx.qqq:27017",
"profiling" : false
} ],
"collectorServerDto" : {
"hosts" : [ {
"host" : "mongo1.qqq",
"port" : 27017,
"socketAddress" : {
"hostString" : "mongo1.qqq",
"address" : "mongo1.qqq",
"port" : 27017,
"unresolved" : false,
"hostName" : "mongo1.qqq"
},
"socketAddresses" : [ {
"hostString" : "mongo1.qqq",
"address" : "mongo1.qqq",
"port" : 27017,
"unresolved" : false,
"hostName" : "mongo1.qqq"
} ]
} ],
"db" : "mongodba",
"collection" : "slowops",
"adminUser" : "",
"adminPw" : "",
"ssl" : false
},
"collectorRunningSince" : 1633076310478,
"numberOfReads" : 0,
"numberOfWrites" : 0,
"numberOfReadsOfRemovedReaders" : 0,
"numberOfWritesOfRemovedWriters" : 0,
"config" : null,
"lastRefresh" : 1633076601891,
"webLog" : "2021/10/01 11:20:19,410 ExecutionException while getting updated server status within 2000 ms for 'lt02-hash-dbs' at core-hash03.prod02.wwww.qqq:27017/wwww-sh-lt\n2021/10/01 11:20:19,505 ExecutionException while getting updated server status within 2000 ms for 'lt02-hash-dbs' at core-hash01.prod02.wwww.qqq:27017/wwww-sh-lt\n2021/10/01 11:20:19,509 ExecutionException while getting updated server status within 2000 ms for 'lt02-hash-dbs' at core-hash02.xxxx.qqq:27017/wwww-sh-lt\n2021/10/01 11:20:19,512 ExecutionException while getting updated server status within 2000 ms for 'lt02-hash-dbs' at core-hash02.prod02.wwww.qqq:27017/wwww-sh-lt\n2021/10/01 11:20:21,221 TimeoutException while getting updated server status within 2000 ms for 'lt02-hash-dbs' at core-hash03.xxxx.qqq:27017/wwww-sh-lt\n2021/10/01 11:20:21,226 Pool of max. 13 threads to get updated server status is going to be closed after max. response timeout of 2000 ms although not all threads have terminated. Add CPU cores or increment response timeout to solve the issue.\n2021/10/01 11:20:21,236 InterruptedException while getting updated server status within 2000 ms for 'lt02-hash-dbs' at core-hash01.xxxx.qqq:27017/wwww-sh-lt\n2021/10/01 11:21:07,743 ExecutionException while getting updated server status within 2000 ms for 'lt02-hash-dbs' at core-hash02.prod02.wwww.qqq:27017/wwww-sh-lt\n2021/10/01 11:21:07,745 ExecutionException while getting updated server status within 2000 ms for 'lt02-hash-dbs' at core-hash03.prod02.wwww.qqq:27017/wwww-sh-lt\n2021/10/01 11:21:07,748 ExecutionException while getting updated server status within 2000 ms for 'lt02-hash-dbs' at core-hash01.prod02.wwww.qqq:27017/wwww-sh-lt\n2021/10/01 11:21:07,764 ExecutionException while getting updated server status within 2000 ms for 'lt02-hash-dbs' at core-hash02.xxxx.qqq:27017/wwww-sh-lt\n2021/10/01 11:21:07,851 ExecutionException while getting updated server status within 2000 ms for 'lt02-hash-dbs' at core-hash01.xxxx.qqq:27017/wwww-sh-lt\n2021/10/01 11:21:07,851 ExecutionException while getting updated server status within 2000 ms for 'lt02-hash-dbs' at core-hash03.xxxx.qqq:27017/wwww-sh-lt\n2021/10/01 11:21:14,974 ExecutionException while getting updated server status within 2000 ms for 'lt02-hash-dbs' at core-hash01.xxxx.qqq:27017/wwww-sh-lt\n2021/10/01 11:23:21,888 ExecutionException while getting updated server status within 2000 ms for 'lt02-hash-dbs' at core-hash01.xxxx.qqq:27017/wwww-sh-lt\n"
}
2021-10-01 11:23:21,908 [http-nio-8080-exec-3] INFO d.i.m.s.servlet.Action:91 - <<< getApplicationJSON
2021-10-01 11:23:21,908 [http-nio-8080-exec-3] DEBUG d.i.m.s.d.ApplicationStatusDto:43 - getCollectorStatuses size:1
My MongoDB version is 4.4.8.
Maybe the reason "memSizeMB" : NumberLong(772652) for this?
Hi,
I am getting the following error when starting the application and refreshing the node:
My MongoDB version is 4.4.8.
Maybe the reason "memSizeMB" : NumberLong(772652) for this?
In ProfilingReader i made the following changes and the error disappeared:
Now I am getting the following error in other actions:
The text was updated successfully, but these errors were encountered: