Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Novice > Re: Client conn...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 3089 of 3323
Post > Topic >>

Re: Client connection lost; still in the task list

by didiergm@[EMAIL PROTECTED] ("Didier Gasser-Morlay") Apr 24, 2008 at 11:12 AM

Resucing the tcp_keepalive to 900 seconds did help immensely

thanks for the advice Tom

Didier

>You're right, this morning most connections had been freed.
>
>I have seen that the tcp_keepalive
> is 7200 second, I'll shorten that to see.

>thanks

>Didier


On Tue, Apr 22, 2008 at 7:29 PM, Tom Lane <tgl@[EMAIL PROTECTED]
> wrote:
> "Didier Gasser-Morlay" <didiergm@[EMAIL PROTECTED]
> writes:
>  > So my question is what makes PostgreSQL realise that a connection is
>  > dead ? when will it drop it and free the connection ?
>
>  It'll drop it when the kernel tells it the connection is dead.
>  Standard TCP timeouts are measured in hours, though.  You might
>  be able to get a shorter timeout to be applied by fooling with
>  the "keepalive" parameters, if those can be adjusted on your platform.
>
>                         regards, tom lane
>

-- 
Sent via pgsql-novice mailing list (pgsql-novice@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice
 




 1 Posts in Topic:
Re: Client connection lost; still in the task list
didiergm@[EMAIL PROTECTED  2008-04-24 11:12:47 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 6:07:43 CST 2008.