From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Biagioni <andrew.biagioni@e-greek.net>
Cc: pgsql-admin@postgresql.org, "Yudha Setiawan" <yudha@bonbon.net>
Subject: Re: Can not deleted all record
Date: Fri, 29 Aug 2003 09:45:52 -0400
Message-ID: <14647.1062164752@sss.pgh.pa.us> (raw)
In-Reply-To: <C8BB7H1YXGDLFKJRQC951LG3WDAOM.3f4f4551@Laptop>
References: <C8BB7H1YXGDLFKJRQC951LG3WDAOM.3f4f4551@Laptop>
Andrew Biagioni <andrew.biagioni@e-greek.net> writes:
> "ERROR: Query was cancelled." usually means that the query is taking too long,
> and you exceeded the maximum time specified in your postgresql.conf file.
I doubt he has statement_timeout set, or it would have occurred to him
that he's shooting himself in the foot ;-)
My bet is that something external to Postgres is sending a SIGINT signal
to the backend. There are a number of possible reasons for this, but
two mistakes I've seen newbies make are:
* launch the postmaster from an interactive terminal, and forget to
dissociate it completely from the interactive session (should use
nohup and make sure that stdin, stdout, stderr are all redirected).
Then any control-C typed in that session will zap the postmaster
and all backends.
* launch postmaster with non-infinite ulimit settings. The backend
trying to do a complete vacuum could be hitting limits on process
runtime or amount of I/O.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, andrew.biagioni@e-greek.net, yudha@bonbon.net
Subject: Re: Can not deleted all record
In-Reply-To: <14647.1062164752@sss.pgh.pa.us>
References: <C8BB7H1YXGDLFKJRQC951LG3WDAOM.3f4f4551@Laptop> <14647.1062164752@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox