08006 Connection Closed

From: Marlon Pascoal <pascoal(at)live(dot)nl>
To: pgsql-general(at)postgresql(dot)org
Subject: 08006 Connection Closed
Date: 2012-06-25 19:04:43
Message-ID: 12914e08-6248-4975-a13c-d805846e7139@googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello guys,

I have a application, using PHP/PDO and postgres 8.4 and recently I started getting the errno 08006, which means connection fail. The thing is that my aplication works fine, even in other hosts, but somewhy, i guess when this one is working hardly, by a little time the database rejects the requests.

I've tuned the postgres.conf, and it improved, but the problem persists.

Could you guys help me to figure out how to solve it?

Thanks in advance.

Marlon Pascoal

----
Erro: SQLSTATE[08006] [7] could not connect to server: Cannot assign requested address
Is the server running on host "8.8.8.2" and accepting
TCP/IP connections on port 5432?

Browse pgsql-general by date

  From Date Subject
Next Message David Kerr 2012-06-25 20:17:22 Calculating Replication Lag - units
Previous Message Pawel Veselov 2012-06-25 18:00:50 Re: 31.11. Notice Processing - associating notices with calls