数据库使用的greenplum,用了一段时间,应用出现报错 message":"SQLSTATE[08006] [7] FATAL: too many sessions DETAIL: Could not acquire resources for additional sessions. HINT: Disconnect some sessions and try again.
报错显示连接回话过多,进行了重启操作,当前数据库连接数设置的是
Master value: 250
Segment value: 750
日常连接数只有三十,由于故障时重启前期不是我操作的,没有重启前的信息,在gpAdminLogs/gpstop_20231012.log中看到
There were 62 user connections at the start of the shutdown. Note: These connections may be outdated.
这个信息,是不是说明停库的时候只有62个连接,那为什么会出现too many sessions的报错。
报错显示连接回话过多,进行了重启操作,当前数据库连接数设置的是
Master value: 250
Segment value: 750
日常连接数只有三十,由于故障时重启前期不是我操作的,没有重启前的信息,在gpAdminLogs/gpstop_20231012.log中看到
There were 62 user connections at the start of the shutdown. Note: These connections may be outdated.
这个信息,是不是说明停库的时候只有62个连接,那为什么会出现too many sessions的报错。