MongoDB出现Overridden by new authentication session

nbyang

问题描述

debian 12
PHP 8.3.15
MongoDB 8.0.0

"workerman/webman-framework": "^v1.5.23",
"mongodb/laravel-mongodb": "v4.7.1",

主进程8
自定义进程3(同一个类)
启动后每隔1分钟在mongodb.log就会出现如下信息
AuthenticationAbandoned: Overridden by new authentication session
尝试过修改mongodb的连接数 也试过增加配置poolSize
均无法解决

{"t":{"$date":"2025-04-23T10:49:14.691+08:00"},"s":"I",  "c":"WTCHKPT",  "id":22430,   "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1745376554,"ts_usec":691471,"thread":"853550:0x7fa50a23b6c0","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":7,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 28621, snapshot max: 28621 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 1587426"}}}
{"t":{"$date":"2025-04-23T10:49:44.364+08:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn33","msg":"Failed to authenticate","attr":{"client":"127.0.0.1:51008","isSpeculative":false,"isClusterMember":false,"mechanism":"","user":"","db":"","error":"AuthenticationAbandoned: Overridden by new authentication session","result":337,"metrics":{"conversation_duration":{"micros":60000428,"summary":{}}},"extraInfo":{}}}
{"t":{"$date":"2025-04-23T10:49:59.604+08:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn44","msg":"Failed to authenticate","attr":{"client":"127.0.0.1:54104","isSpeculative":false,"isClusterMember":false,"mechanism":"","user":"","db":"","error":"AuthenticationAbandoned: Overridden by new authentication session","result":337,"metrics":{"conversation_duration":{"micros":63993814,"summary":{}}},"extraInfo":{}}}
{"t":{"$date":"2025-04-23T10:50:07.357+08:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn34","msg":"Failed to authenticate","attr":{"client":"127.0.0.1:51010","isSpeculative":false,"isClusterMember":false,"mechanism":"","user":"","db":"","error":"AuthenticationAbandoned: Overridden by new authentication session","result":337,"metrics":{"conversation_duration":{"micros":60001371,"summary":{}}},"extraInfo":{}}}
{"t":{"$date":"2025-04-23T10:50:07.535+08:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn47","msg":"Failed to authenticate","attr":{"client":"127.0.0.1:54120","isSpeculative":false,"isClusterMember":false,"mechanism":"","user":"","db":"","error":"AuthenticationAbandoned: Overridden by new authentication session","result":337,"metrics":{"conversation_duration":{"micros":63995509,"summary":{}}},"extraInfo":{}}}
{"t":{"$date":"2025-04-23T10:50:07.546+08:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn45","msg":"Failed to authenticate","attr":{"client":"127.0.0.1:54106","isSpeculative":false,"isClusterMember":false,"mechanism":"","user":"","db":"","error":"AuthenticationAbandoned: Overridden by new authentication session","result":337,"metrics":{"conversation_duration":{"micros":63997802,"summary":{}}},"extraInfo":{}}}
{"t":{"$date":"2025-04-23T10:50:08.230+08:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn42","msg":"Failed to authenticate","attr":{"client":"127.0.0.1:54072","isSpeculative":false,"isClusterMember":false,"mechanism":"","user":"","db":"","error":"AuthenticationAbandoned: Overridden by new authentication session","result":337,"metrics":{"conversation_duration":{"micros":63997906,"summary":{}}},"extraInfo":{}}}
{"t":{"$date":"2025-04-23T10:50:08.253+08:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn43","msg":"Failed to authenticate","attr":{"client":"127.0.0.1:54088","isSpeculative":false,"isClusterMember":false,"mechanism":"","user":"","db":"","error":"AuthenticationAbandoned: Overridden by new authentication session","result":337,"metrics":{"conversation_duration":{"micros":63996551,"summary":{}}},"extraInfo":{}}}
{"t":{"$date":"2025-04-23T10:50:09.391+08:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn48","msg":"Failed to authenticate","attr":{"client":"127.0.0.1:54126","isSpeculative":false,"isClusterMember":false,"mechanism":"","user":"","db":"","error":"AuthenticationAbandoned: Overridden by new authentication session","result":337,"metrics":{"conversation_duration":{"micros":64009886,"summary":{}}},"extraInfo":{}}}
{"t":{"$date":"2025-04-23T10:50:14.696+08:00"},"s":"I",  "c":"WTCHKPT",  "id":22430,   "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1745376614,"ts_usec":696720,"thread":"853550:0x7fa50a23b6c0","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":7,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 28709, snapshot max: 28709 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 1587426"}}}
{"t":{"$date":"2025-04-23T10:50:15.542+08:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn46","msg":"Failed to authenticate","attr":{"client":"127.0.0.1:54112","isSpeculative":false,"isClusterMember":false,"mechanism":"","user":"","db":"","error":"AuthenticationAbandoned: Overridden by new authentication session","result":337,"metrics":{"conversation_duration":{"micros":63934229,"summary":{}}},"extraInfo":{}}}
{"t":{"$date":"2025-04-23T10:50:44.366+08:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn33","msg":"Failed to authenticate","attr":{"client":"127.0.0.1:51008","isSpeculative":false,"isClusterMember":false,"mechanism":"","user":"","db":"","error":"AuthenticationAbandoned: Overridden by new authentication session","result":337,"metrics":{"conversation_duration":{"micros":60001166,"summary":{}}},"extraInfo":{}}}
{"t":{"$date":"2025-04-23T10:51:04.216+08:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn44","msg":"Failed to authenticate","attr":{"client":"127.0.0.1:54104","isSpeculative":false,"isClusterMember":false,"mechanism":"","user":"","db":"","error":"AuthenticationAbandoned: Overridden by new authentication session","result":337,"metrics":{"conversation_duration":{"micros":64612509,"summary":{}}},"extraInfo":{}}}
{"t":{"$date":"2025-04-23T10:51:10.356+08:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn34","msg":"Failed to authenticate","attr":{"client":"127.0.0.1:51010","isSpeculative":false,"isClusterMember":false,"mechanism":"","user":"","db":"","error":"AuthenticationAbandoned: Overridden by new authentication session","result":337,"metrics":{"conversation_duration":{"micros":62998506,"summary":{}}},"extraInfo":{}}}
{"t":{"$date":"2025-04-23T10:51:11.529+08:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn47","msg":"Failed to authenticate","attr":{"client":"127.0.0.1:54120","isSpeculative":false,"isClusterMember":false,"mechanism":"","user":"","db":"","error":"AuthenticationAbandoned: Overridden by new authentication session","result":337,"metrics":{"conversation_duration":{"micros":63994392,"summary":{}}},"extraInfo":{}}}
{"t":{"$date":"2025-04-23T10:51:11.544+08:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn45","msg":"Failed to authenticate","attr":{"client":"127.0.0.1:54106","isSpeculative":false,"isClusterMember":false,"mechanism":"","user":"","db":"","error":"AuthenticationAbandoned: Overridden by new authentication session","result":337,"metrics":{"conversation_duration":{"micros":63997958,"summary":{}}},"extraInfo":{}}}
{"t":{"$date":"2025-04-23T10:51:12.230+08:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn42","msg":"Failed to authenticate","attr":{"client":"127.0.0.1:54072","isSpeculative":false,"isClusterMember":false,"mechanism":"","user":"","db":"","error":"AuthenticationAbandoned: Overridden by new authentication session","result":337,"metrics":{"conversation_duration":{"micros":63999490,"summary":{}}},"extraInfo":{}}}
{"t":{"$date":"2025-04-23T10:51:12.252+08:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn43","msg":"Failed to authenticate","attr":{"client":"127.0.0.1:54088","isSpeculative":false,"isClusterMember":false,"mechanism":"","user":"","db":"","error":"AuthenticationAbandoned: Overridden by new authentication session","result":337,"metrics":{"conversation_duration":{"micros":63998621,"summary":{}}},"extraInfo":{}}}
{"t":{"$date":"2025-04-23T10:51:13.392+08:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn48","msg":"Failed to authenticate","attr":{"client":"127.0.0.1:54126","isSpeculative":false,"isClusterMember":false,"mechanism":"","user":"","db":"","error":"AuthenticationAbandoned: Overridden by new authentication session","result":337,"metrics":{"conversation_duration":{"micros":64000780,"summary":{}}},"extraInfo":{}}}
{"t":{"$date":"2025-04-23T10:51:14.703+08:00"},"s":"I",  "c":"WTCHKPT",  "id":22430,   "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1745376674,"ts_usec":703259,"thread":"853550:0x7fa50a23b6c0","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":7,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 28814, snapshot max: 28814 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 1587426"}}}
{"t":{"$date":"2025-04-23T10:51:19.552+08:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn46","msg":"Failed to authenticate","attr":{"client":"127.0.0.1:54112","isSpeculative":false,"isClusterMember":false,"mechanism":"","user":"","db":"","error":"AuthenticationAbandoned: Overridden by new authentication session","result":337,"metrics":{"conversation_duration":{"micros":64009830,"summary":{}}},"extraInfo":{}}}
{"t":{"$date":"2025-04-23T10:51:45.364+08:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn33","msg":"Failed to authenticate","attr":{"client":"127.0.0.1:51008","isSpeculative":false,"isClusterMember":false,"mechanism":"","user":"","db":"","error":"AuthenticationAbandoned: Overridden by new authentication session","result":337,"metrics":{"conversation_duration":{"micros":60997997,"summary":{}}},"extraInfo":{}}}
{"t":{"$date":"2025-04-23T10:52:08.219+08:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn44","msg":"Failed to authenticate","attr":{"client":"127.0.0.1:54104","isSpeculative":false,"isClusterMember":false,"mechanism":"","user":"","db":"","error":"AuthenticationAbandoned: Overridden by new authentication session","result":337,"metrics":{"conversation_duration":{"micros":64002283,"summary":{}}},"extraInfo":{}}}
{"t":{"$date":"2025-04-23T10:52:13.356+08:00"},"s":"I",  "c":"ACCESS",   "id":5286307, "ctx":"conn34","msg":"Failed to authenticate","attr":{"client":"127.0.0.1:51010","isSpeculative":false,"isClusterMember":false,"mechanism":"","user":"","db":"","error":"AuthenticationAbandoned: Overridden by new authentication session","result":337,"metrics":{"conversation_duration":{"micros":62999953,"summary":{}}},"extraInfo":{}}}
32 1 0
1个回答

nbyang
  • 暂无评论
×
🔝