Got it

Connection to the cluster through JDBC fails because the concurrent queue is full

228 0 10 0 4

This post refers to the connection to the cluster through JDBC fails because the concurrent queue is full. Let's see below the process of fixing it.


Symptom


Common users' connections to the cluster through JDBC failed but the connections of initial users and gsql are successful.


Cause analysis


The possible cause is that the connection through JDBC is blocked because the concurrent queue is full.


Analysis procedure


1. Connect to the cluster as an initial user and check the capacity of the concurrent queue.


show max_active_statements;


2. Check the usage of the concurrent queue.


select usename,attribute,status,enqueue,resource_pool,count(*) from pg_session_wlmstat group by 1,2,3,4,5;


Check whether the number of active common users has reached the upper limit specified by max_active_statements.


Solution


Increase the value of max_active_statements as user omm.

gs_guc reload -Z coordinator -N all -I all -c "max_active_statements=40"


Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.