Re: Debug advice when postgres connection maxing out

From: Jayadevan M <Jayadevan(dot)Maymala(at)ibsplc(dot)com>
To: anypossibility <anypossibility(at)zoho(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-general-owner(at)postgresql(dot)org
Subject: Re: Debug advice when postgres connection maxing out
Date: 2010-11-23 03:47:36
Message-ID: OF9D6E4CC1.E70BC88D-ON652577E4.00149CE3-652577E4.0014ECC1@ibsplc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,
>
> Server: OS X 10.5
> PostgreSQL version: 8.3
>
> We experience this connection maxing out once in the full moon.
> The request from client reaches to the server but client never
> receive response back.
> The queries are very simple update on one record or select one
> record using primary key (checked current_query from pg_stat_activity).
> Once this started, I normally disconnect all the client (quit client
> programs) however, the processes don't die on postgres server.
Will this command help?
select pg_cancel_backend(pid);
Please see
http://www.postgresql.org/docs/9.0/static/functions-admin.html

Regards,
Jayadevan

DISCLAIMER:

"The information in this e-mail and any attachment is intended only for
the person to whom it is addressed and may contain confidential and/or
privileged material. If you have received this e-mail in error, kindly
contact the sender and destroy all copies of the original communication.
IBS makes no warranty, express or implied, nor guarantees the accuracy,
adequacy or completeness of the information contained in this email or any
attachment and is not liable for any errors, defects, omissions, viruses
or for resultant loss or damage, if any, direct or indirect."

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2010-11-23 05:06:57 Re: Extending COALESCE()
Previous Message Jayadevan M 2010-11-23 03:42:15 Re: gap between error and cure