From: | Richard Huxton <dev(at)archonet(dot)com> |
---|---|
To: | Kananda <Kananda(at)stepsoftware(dot)com(dot)br> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: PostgreSQL keepalives help |
Date: | 2010-07-30 13:51:51 |
Message-ID: | 4C52D8F7.6020705@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Bryan Payne | 2010-07-30 14:39:40 | Autovacuum missing tables |
Previous Message | Kananda | 2010-07-30 11:58:10 | RES: [GENERAL] PostgreSQL keepalives help |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2010-07-30 14:08:32 | Re: Comparison of Oracle and PostgreSQL full text search |
Previous Message | Greg Smith | 2010-07-30 13:17:16 | Re: Which CMS/Ecommerce/Shopping cart ? |