From: | "Deepa K" <kdeepa(at)midascomm(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | [Fwd: Abrupt close of pgsql backend] |
Date: | 2004-10-26 05:00:32 |
Message-ID: | 1070.192.168.13.85.1098766832.squirrel@192.168.13.85 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
---------------------------- Original Message ----------------------------
Subject: Abrupt close of pgsql backend
From: "Deepa K" <kdeepa(at)midascomm(dot)com>
Date: Mon, October 25, 2004 8:04 pm
To: postgresql-general(at)postgresql(dot)org
--------------------------------------------------------------------------
Hi,
I am running postgresql 7.1.3 in RedHat Linux 7.2. From an external C
application, three connections are established with postmaster (it is
started with -i option) through unix sockets. Two times I received EPIPE
error when trying to send a query to postmaster. This is because of the
abrupt closure of pgsql backend.
The query sent is formed dynamically and hence I'm unable to get
the query whose processing may have led to such abrupt closure. But this
application is working for 2 years till now without any such
problems. So I don't really suspect the query.
The postgresql todo lists that usage of views can lead to
such abrupt closure. But there are no views used in my application.
The last reason, for abnormal closure that I understand is if
the hard disk is full. But this is also not the case under study.
Coming to the question,
a. What are the (other) reasons for postmaster closing
sockets abnormally?
b. How can the application detect such a abnormal closure of
socket?
--
regards,
Deepa K
--
regards,
Deepa K
From | Date | Subject | |
---|---|---|---|
Next Message | Tom.Zschockelt | 2004-10-26 06:03:26 | counting records of schema |
Previous Message | Michael Fuhr | 2004-10-26 04:04:39 | Re: list fieldnames in table? (from PHP) |