Too many connections in 8.0.25-15 Percona Server (GPL), Release 15, Revision a558ec2

Why do I have too many connections exception when I turn on the thread pool?
java app error:

mysql error log:
image

percona server mysql config:
image
image
image

show processlist:
image

mysql ulimit:
image

1 Like

When this exception occurs, it will cause the app to fail to create a new connection

1 Like