pgjdbc/pgjdbc GitHub issues and pull requests (mirror)  
help / color / mirror / Atom feed
From: bigfacewo (@bigfacewo) <[email protected]>
To: pgjdbc/pgjdbc <[email protected]>
Subject: Re: [pgjdbc/pgjdbc] issue #194: PgJDBC can experience client/server deadlocks during batch execution
Date: Mon, 26 Apr 2021 09:07:43 +0000
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

> We've found that reducing the batch size avoids the behaviour. In addition, we made sure the operating system TCP configuration have larger allocated buffers. e.g.
> 
> net.core.rmem_max = 134217728
> net.core.wmem_max = 134217728
> net.core.rmem_default = 134217728
> net.core.wmem_default = 134217728
> net.ipv4.tcp_mem = 18569037 24758719 37138074
> net.ipv4.tcp_rmem= 10240 87380 134217728
> net.ipv4.tcp_wmem= 10240 87380 134217728
> 
> This is really just fiddling around the edges and trying to second guess the behaviour. It isn't a solution.

You are right! After configuration, the problem is solved temporarily

view thread (36+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: github://pgjdbc/pgjdbc
  Cc: [email protected], [email protected]
  Subject: Re: [pgjdbc/pgjdbc] issue #194: PgJDBC can experience client/server deadlocks during batch execution
  In-Reply-To: <<[email protected]>>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox