-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Platform] Getting "too many clients already" issue while connecting to ysqlsh #8416
Comments
Observed this problem in 2.7.1 (dev portal) |
Sample apps was running from 10.9.6.228 with
causing many postgres processes (295) in "idle" status as seen at https://gist.github.com/iSignal/c6cce1239d6f64ca3c17005922d80aa8 Killing the sample apps processes reduced the number of postgres processes to <5. There were repeated postgres errors of the form in the db postgres logs - https://gist.github.com/iSignal/2003f756551edf5ed7cd38c41f05799e
/mnt/d0/pg_data/ysql_pg.conf showed postgres max_connections setting at 300 @gurushant-yb : I saw that you made some changes to yb-sample-apps recently, is this something you have run into or have some idea about? |
@iSignal : I have observed 'unique constraint violation' , this happens when you have a --num_unique_keys < --num_writes |
hi @gurushant-yb - Can you add input validation & throw an error to handle |
Hi @streddy-yb @iSignal : Shall I set
|
Sometimes getting "too many clients already" health alert while connecting to ysqlsh for some nodes. Was running postgresqlkeyvalue sample apps on that universe.
Error executing command ['ssh', '[email protected]', '-p',
'54422', '-o', 'StrictHostKeyChecking no', '-o', 'ConnectTimeout=10',
'-o', 'UserKnownHostsFile /dev/null', '-o', 'LogLevel ERROR', '-i',
u'/opt/yugabyte/yugaware/data/keys/109e95b5-bf08-4a8f-a7fb-2d2866865e15/yb-gcp-config-key.pem',
'set -o pipefail; /home/yugabyte/tserver/bin/ysqlsh -h 10.150.1.107 -p
5433 -U yugabyte -c "\conninfo"']: ysqlsh: FATAL: sorry, too many
clients already
The text was updated successfully, but these errors were encountered: