Broken Pipe Repaired

From: "Frank Morton" <fmorton(at)mail(dot)base2inc(dot)com>
To: <pgsql-interfaces(at)postgreSQL(dot)org>
Cc: "Jason Venner" <jason(at)idiom(dot)com>, "Peter T Mount" <peter(at)retep(dot)org(dot)uk>
Subject: Broken Pipe Repaired
Date: 1998-08-30 05:29:58
Message-ID: 008301bdd3d7$3b817090$8355e5ce@tesla.base2inc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Thanks to all who responded to my JDBC "Broken Pipe"
problem. It turned out to be caused by a combination of
two things.

1. I was just on the edge of my available swap space and
at times under load I ran out. Bad things began to happen,
leading to IOExceptions and "Broken Pipes." My application
is an image management one and it used imagemagik
to convert images...100mb of swap space can disappear
nearly instantly.

2. I learned from Jason Venner something that I did not think
would matter as I thought garbage collection would take care
of it. Jason found that he had continuous problems until
he specifically did a close() on any open statements. In my
case, it seems to have helped considerably to specifically
close() any completed result sets after I am through. Like
I said, I thought gc would take care of it, but it doesn't.

Thanks all.

_________________________________
Frank Morton (fmorton(at)mail(dot)base2inc(dot)com)
Voice: (317) 876-3355
FAX: (317) 876-3398
Home: (317) 574-0815

Browse pgsql-interfaces by date

  From Date Subject
Next Message Anton de Wet 1998-08-30 09:07:10 Feature in tcl interface gone AWOL
Previous Message Goran Thyni 1998-08-29 20:22:58 Re: [INTERFACES] PgSQL released