From: Robin Iddon <robin@edesix.com>
To: Koen Martens <pgsql@metro.cx>
Cc: pgsql-admin@postgresql.org
Subject: Re: Random disconnects
Date: Thu, 23 Mar 2006 17:01:12 +0000
Message-ID: <4422D458.9080204@edesix.com> (raw)
In-Reply-To: <4422B86C.5000703@metro.cx>
References: <4422B86C.5000703@metro.cx>
>In java, this big fat exception:
>
>org.postgresql.util.PSQLException: An I/O error occured while
>sending to the backend.
>Call stack:
>org.postgresql.util.PSQLException: An I/O error occured while
>sending to the backend.
> at
>org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:214)
> at
>
>
<snip>
> at websphinx.Worm.run(Crawler.java:1994)
>Caused by: java.net.SocketException: Network is unreachable
>
>
<snip>
>org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:187)
> ... 9 more
>
>
>
>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!).
Cheers,
Robin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: robin@edesix.com, pgsql@metro.cx
Subject: Re: Random disconnects
In-Reply-To: <4422D458.9080204@edesix.com>
References: <4422B86C.5000703@metro.cx> <4422D458.9080204@edesix.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox