View Single Post

   
  #3 (permalink)  
Old 04-10-2008, 08:28 AM
'Srinivas Kotapally'
 
Posts: n/a
Default Re: Intermittent Postgres Connection refused Errors (JDBC)

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


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply With Quote