Too many warning logs after MongoDB crashes
Too many warning logs after MongoDB crashes:
10:56:03.617 [r-worker-5] WARN a.p.p.c.i.StreamingCrawler - [Unexpected] ai.platon.shaded.com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting for a server that matches ai.platon.shaded.com.mongodb.client.internal.MongoClientDeleg ate$1@7335a5ec. Client view of cluster state is {type=STANDALONE, servers=[{address=127.0.0.1:27017, type=UNKNOWN, state=CONNECTING, exception={ai.platon.shaded.com.mongodb.Mongo SocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused (Connection refused)}}] at ai.platon.shaded.com.mongodb.internal.connection.BaseCluster.createTimeoutException(BaseCluster.java:408) at ai.platon.shaded.com.mongodb.internal.connection.BaseCluster.selectServer(BaseCluster.java:123) at ai.platon.shaded.com.mongodb.internal.connection.AbstractMultiServerCluster.selectServer(AbstractMultiServerCluster.java:54) at ai.platon.shaded.com.mongodb.client.internal.MongoClientDelegate.getConnectedClusterDescription(MongoClientDelegate.java:152) at ai.platon.shaded.com.mongodb.client.internal.MongoClientDelegate.createClientSession(MongoClientDelegate.java:102) at ai.platon.shaded.com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.getClientSession(MongoClientDelegate.java:282) at ai.platon.shaded.com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.execute(MongoClientDelegate.java:206) at ai.platon.shaded.com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.execute(MongoClientDelegate.java:180) at ai.platon.shaded.com.mongodb.DBCollection.executeWriteOperation(DBCollection.java:356) at ai.platon.shaded.com.mongodb.DBCollection.update(DBCollection.java:588) at ai.platon.shaded.com.mongodb.DBCollection.update(DBCollection.java:507) at ai.platon.shaded.com.mongodb.DBCollection.update(DBCollection.java:482) at ai.platon.shaded.com.mongodb.DBCollection.update(DBCollection.java:459) at ai.platon.shaded.com.mongodb.DBCollection.update(DBCollection.java:527) at org.apache.gora.mongodb.store.MongoStore.performPut(MongoStore.java:380) at org.apache.gora.mongodb.store.MongoStore.put(MongoStore.java:345) at org.apache.gora.mongodb.store.MongoStore.put(MongoStore.java:70) at ai.platon.pulsar.persist.WebDb.putInternal(WebDb.kt:134) at ai.platon.pulsar.persist.WebDb.put(WebDb.kt:109) at ai.platon.pulsar.persist.WebDb.put$default(WebDb.kt:109) at ai.platon.pulsar.crawl.component.LoadComponent.persist(LoadComponent.kt:575) at ai.platon.pulsar.crawl.component.LoadComponent.onLoaded(LoadComponent.kt:371) at ai.platon.pulsar.crawl.component.LoadComponent.loadDeferred1(LoadComponent.kt:231) at ai.platon.pulsar.crawl.component.LoadComponent.access$loadDeferred1(LoadComponent.kt:41) at ai.platon.pulsar.crawl.component.LoadComponent$loadDeferred1$1.invokeSuspend(LoadComponent.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)