Applicationl Crash - Connection reset by peer !!!

From: "Pradeepkumar, Pyatalo (IE10)" <Pradeepkumar(dot)Pyatalo(at)honeywell(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Applicationl Crash - Connection reset by peer !!!
Date: 2004-09-01 11:43:08
Message-ID: 77ED2BF75D59D1439F90412CC5B109741104F137@ie10-sahara.hiso.honeywell.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-novice


Hi,

I am using Postgresql 7.4.3 running on RedHat Linux 2.4.7. My Application is
coded in C. I am using libpq functions inorder to connect to the database.
I am using PQsetdbLogin() to connect and PQfinish() to release the database
connection. In my application I have around 15-20 C functions. In each
function i connect to the database, perform some query and then release the
connection. Today the application is crashing. It says SEGMENTATION FAULT in
PQsetdbLogin().
In the LOG, I see -
LOG: could not receive data from client: broken pipe
LOG: connection reset by peer
LOG: unexpected EOF on client connection.

any inputs on this most welcome.
Thanks in advance.
> With Best Regards
> Pradeep Kumar P J
>

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message G u i d o B a r o s i o 2004-09-01 11:58:53 Re: slower every day
Previous Message G u i d o B a r o s i o 2004-09-01 10:57:15 Re: slower every day

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2004-09-01 14:27:05 Re: [NOVICE] Applicationl Crash - Connection reset by peer !!!
Previous Message Dmitry Karasik 2004-08-31 07:44:16 First query slow, subsequent queries fast