Re: Random disconnects

From: Koen Martens <pgsql(at)metro(dot)cx>
To: Robin Iddon <robin(at)edesix(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Random disconnects
Date: 2006-03-24 11:39:45
Message-ID: 4423DA81.6010300@metro.cx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Robin Iddon wrote:
>> But I think there might be some underlying problem and if so, i'd
>> like to know about it and fix it.
>>
>>
> It seems to me that the JVM is having problems writing to the socket
> that connects to the postgres server with the "Network is unreachable"
> error being the cause.
> What's the connectivity from your clients to your database - localhost,
> same LAN, routed LANs, WAN, ...?
>
> Even though the perl script says "This probably means the server
> terminated abnormally before or while processing the request", I doubt
> that's what happened - more likely is you lost the network between them
> (but not if you were running on localhost, probably!).

Well, that is the strange thing, it is on the same machine. The
client is in a freebsd jail however, the database is not. I
suspected that maybe the default setting of 128 of maximum number of
sockets had something to do with it, but increasing that (to, say,
32768) did not help much..

It is indeed not the case that the server exited abnormally, it is
just fine. It could, of course, be that the server process serving
the particular client died, then i should enable some more verbose
logging probably to find out such things.. Something to dive into!

Gr,

Koen

--
K.F.J. Martens, Sonologic, http://www.sonologic.nl/
Networking, hosting, embedded systems, unix, artificial intelligence.
Public PGP key: http://www.metro.cx/pubkey-gmc.asc
Wondering about the funny attachment your mail program
can't read? Visit http://www.openpgp.org/

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jim C. Nasby 2006-03-24 11:42:22 Re: Archive Command Configuration
Previous Message Peter Eisentraut 2006-03-24 10:50:19 Re: Bloated pg_shdepend_depender_index