Re: Intermittent Postgres Connection refused Errors (JDBC) - Mailing list pgsql-admin

From Srinivas Kotapally
Subject Re: Intermittent Postgres Connection refused Errors (JDBC)
Date
Msg-id 01c801c78c5d$92ec10e0$800101df@srinilaptop
Whole thread Raw
In response to Re: Intermittent Postgres Connection refused Errors (JDBC)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
Hi Tom

I installed CentOS 4.4 final late last year.  The kernel version was the latest
about a year back.  I have been running yum updates and applying patches
regularly.  Can you give me any ideas on how to troubleshoot (and establish that
this issue is due to a kernel bug) the kernel packet drops?  I am beginning to
think it is a firewall related issue.  But I have been unable to replicate the
issue!

I have been monitoring the firewall logs (could not find much there).  Maybe I
will also sifting through the messages log on the servers.

Will post if I find anything!

Thanks

Srini

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Tuesday, May 01, 2007 6:52 PM
To: ksrinivas@coriendo.com
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Intermittent Postgres Connection refused Errors (JDBC)

"Srinivas Kotapally" <ksrinivas@coriendo.com> writes:
> I am managing an application that uses the Postgres backend.  Of late
> we have started getting connection refused errors every now and then.
> We have not been able to identify the cause of this.  Any hints or
> known bugs that I should be aware of?  Thanks for any help extended!

"Connection refused" means it was refused at the kernel level; if the postmaster
had rejected the connection the message would be different.
So you need to be looking for OS-level issues.  Given that you seem to be
running a rather hoary kernel (2.6.9 is a ways back no?), maybe an update there
is indicated.  Firewall problems are a possibility too.

            regards, tom lane


pgsql-admin by date:

Previous
From: "Sandy Spence"
Date:
Subject: pg_user pg_shadow out of sync
Next
From: Alvaro Herrera
Date:
Subject: Re: infinite blocking statements in 8.2.3