Skip site navigation (1) Skip section navigation (2)

Background writer process terminating

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Background writer process terminating
Date: 2005-03-28 23:45:06
Message-ID: 9f9152698d73bed109115f1254e3985c@biglumber.com (view raw or flat)
Thread:
Lists: pgsql-bugs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


I have a server running 8.0.1 which keeps terminating. I first noticed this
today: it has happened about 7 times already. Periodically, the background
writer process is killed and drags the rest of the server down with it.
Most times PG restarts on its own, but twice I've found a dead server on
the floor and had to resusciate it manually with pg_ctl start. Here's a log
snippet:

<2005-03-28 12:28:27 EST >LOG:  background writer process (PID 17409) was terminated by signal 9
<2005-03-28 12:28:27 EST >LOG:  terminating any other active server processes
<2005-03-28 12:28:27 EST >LOG:  all server processes terminated; reinitializing
<2005-03-28 12:28:27 EST >LOG:  database system was interrupted at 2005-03-28 12:27:49 EST
<2005-03-28 12:28:41 EST >LOG:  startup process (PID 17452) was terminated by signal 9
<2005-03-28 12:28:41 EST >LOG:  aborting startup due to startup process failure
  
I bumped the logging way up and caught it happening again. The logs are too big
to reproduce here, but can be found at:

http://www.gtsm.com/pgboom3.txt

Memory seems to be ok. No entries in /var/log/messages (this is a Linux
2.4 series kernel, gcc 3.4.1, dual 686 CPU, 1 SCSI drive system). There
are two other 8.01 servers running on this box: they are also experiencing
this problem, but only once each so far. There was a recent problem with
running out of filehandles, but this was boosted and is probably not an
issue now. Plenty of disk space on the partitions. Suggestions and hints
very welcome.

- --
Greg Sabino Mullane greg(at)turnstep(dot)com
PGP Key: 0x14964AC8 200503281839
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8

-----BEGIN PGP SIGNATURE-----

iD8DBQFCSJazvJuQZxSWSsgRAk1MAJ0R8Rc4V5ud5XWkdNNZ9/logSdiIgCg05+I
ufwoOhbUaHQIZQ14SerUYbY=
=2XvT
-----END PGP SIGNATURE-----



Responses

pgsql-bugs by date

Next:From: Michael FuhrDate: 2005-03-29 00:17:34
Subject: Re: Background writer process terminating
Previous:From: Bruce MomjianDate: 2005-03-28 22:40:08
Subject: Re: BUG #1567: can't hide password with pg_autovacuum

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group