Re: Connection lost

From: Hernan Danielan <hernandanielan(at)gmail(dot)com>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: Joshua Tolley <eggyknap(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Connection lost
Date: 2010-05-20 12:49:23
Message-ID: AANLkTin4My44eOQ4zXajjezBcydnGchKukC8XiVpyQHF@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

The server and the client are running in the same machine.That is why a
network connection problem is almost imposible. I do not know if i am doing
something wrong, my code is in my fist message. It is a extrange thing
because with files less than 500KB works great. However with a file of 1.4MB
it fails most of the time. Does the JDBC has a timeOut or something? does
anybody knows another connector that i could use in order to test it?

I am really desperate because i have been with this problem for several days
now.

Thank in advance,
Hernan

On Thu, May 20, 2010 at 12:15 AM, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>wrote:

> On Wed, May 19, 2010 at 8:57 PM, Joshua Tolley <eggyknap(at)gmail(dot)com> wrote:
> > On Wed, May 19, 2010 at 1:46 PM, Hernan Danielan
> > <hernandanielan(at)gmail(dot)com> wrote:
> >> Yes, the most interesting thing is that the log says
> >> unexpected EOF on client connection or could not send data to client:
> >> Broken pipe
> >
> > That log mostly just says something disconnected uncleanly, but
> > doesn't say PostgreSQL closed the connection on purpose. Any JDBC
> > driver people reading this, with ideas?
>
> This sounds like a networking problem to me. Are the any useful
> entries in the system logs of either machine? Can you routine scp /
> rsync large files without network errors between these two boxes? How
> are they connected?
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-05-20 13:34:57 Re: How to insert wchar_t type string to PostgreSQL
Previous Message Scot Kreienkamp 2010-05-20 12:39:47 Re: CIDR data type query help