X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 74CB24763CD for ; Wed, 7 May 2003 06:28:43 -0400 (EDT) Received: from TactiCom-MA1.TactiCom.com (unknown [216.235.244.20]) by postgresql.org (Postfix) with SMTP id 82323476355 for ; Wed, 7 May 2003 06:28:42 -0400 (EDT) Received: from [203.124.133.194] by TactiCom-MA1.Nulinkinc.com (NTMail 4.30.0013/NU4135.00.d4f82e0c) with ESMTP id mmtyhaaa for ; Wed, 7 May 2003 06:28:35 -0400 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C31483.671C2DA4" Subject: Out of disk space- error code X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Date: Wed, 7 May 2003 15:58:29 +0530 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ADMIN] Out of disk space- error code Thread-Index: AcMUgyJIr8aJ6oB0EdedgABABabtaA== From: "Anagha Joshi" To: X-Spam-Status: No, hits=2.7 required=5.0 tests=BAYES_20,HTML_70_80,RCVD_IN_NJABL,RCVD_IN_OPM version=2.50 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/72 X-Sequence-Number: 8634 This is a multi-part message in MIME format. ------_=_NextPart_001_01C31483.671C2DA4 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Hi, =20 I'm using PostgreSQL 7.1.2 on Sun Solaries 8. =20 My Server was kept for overnight test and I observed that on my server hostmachine I could not switch user (su) to 'postgres' to see the postgres pid. It looked as if the postgres process was tied up some how. =20 The server pids were available but postgress was not. This looked like a potential database crash although there are no postgres core files or logs that give clues as to what may have happned=20 The zipped server logs display lots of error trying to locate the postgres PID =20 The snapshot of the Postgres log is like this: ERROR: cannot extend trap: No space left on device. Check free disk space. ERROR: cannot extend trap: No space left on device. Check free disk space. ERROR: cannot extend trap: No space left on device. Check free disk space. ERROR: cannot extend trap: No space left on device. =20 That was clear from the logs that disk is full. But is there anyway that I can check this programatically? i.e. when I call 'PgDatabase::Exec()' to execute query from C++ API, I get error code reflecting 'low on the disk'? I know I can get corresponding error message in C++ from Postgres by 'errorMessage()' method. I want specific error code for this. =20 Pls. help ASAP. Thanks in advance, =20 Anagha Joshi =20 =20 ------_=_NextPart_001_01C31483.671C2DA4 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

Hi,

 

I’m using PostgreSQL 7.1.2 on Sun Solaries 8.
 <=
/o:p>
My Server wa=
s kept for overnight test and I observed that on my server hostmachine I could not switch user (su) t=
o 'postgres' to see the postgres pid. It looked as if the postgres process was tied up =
some how. 
 <=
/o:p>
The server p=
ids were available but postgress was not. This looked like a potential data=
base crash although there are no postgres core files or logs that give clue=
s as to what may have happned 
=
The zipped s=
erver logs display lots of error trying to locate the postgres PID
 <=
/o:p>

The snapshot of the Postgres log is like this:

ERROR:  can= not extend trap: No space left on device.

    =         Check free disk space.

ERROR:  can= not extend trap: No space left on device.

    =         Check free disk space.

ERROR:  can= not extend trap: No space left on device.

    =         Check free disk space.

ERROR:  can= not extend trap: No space left on device.

 
That was cle=
ar from the logs that disk is full. But is there anyway that I can check th=
is programatically? i.e. when I call ‘PgDatabase::Exec()’ to e=
xecute query from C++ API, I get error code reflecting ‘low on the di=
sk’? I know I can get corresponding error message in C++ from Postgre=
s by
‘errorMessage()’ method. I want specific error code for this.<=
o:p>
 <=
/o:p>
Pls. help AS=
AP.
Thanks in ad=
vance,
 <=
/o:p>
Anagha J=
oshi
 

 

=00 ------_=_NextPart_001_01C31483.671C2DA4--