From: Richard Huxton <dev@archonet.com>
To: Kananda <Kananda@stepsoftware.com.br>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: PostgreSQL keepalives help
Date: Fri, 30 Jul 2010 14:51:51 +0100
Message-ID: <4C52D8F7.6020705@archonet.com> (raw)
In-Reply-To: <4A704C139DFD804DB74FFB9CC0BE79FC790B5631C3@SBS.step.local>
References: <4A704C139DFD804DB74FFB9CC0BE79FC790B5631C3@SBS.step.local>
On 29/07/10 21:16, Kananda wrote:
> I need the records are free for edit, in few minutes. Therefore I set
> the KEEPALIVE configuration in my "postgresql.conf":
> tcp_keepalives_idle = 60 # TCP_KEEPIDLE, in seconds;
> tcp_keepalives_interval = 60 # TCP_KEEPINTVL, in seconds;
> tcp_keepalives_count TCP_KEEPCNT = 5 #;
If this is actually what you have in your file, you have an error in
your count setting.
Try "show tcp_keepalives_count;" and so on - just check they're set as
you expect them to be. If they have the right values, put wireshark or
some other network monitor onto the connection and see if any packets
are being sent back and fore while there is no real traffic.
Oh, and please don't cross-post to multiple lists (particular
-cluster-hackers - can't see the relevance of that).
--
Richard Huxton
Archonet Ltd
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: pgsql-admin@postgresql.org
Cc: dev@archonet.com, Kananda@stepsoftware.com.br, pgsql-general@postgresql.org
Subject: Re: PostgreSQL keepalives help
In-Reply-To: <4C52D8F7.6020705@archonet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox