Received: from montseny-f.ibernet.com (bcnsf.jazztel.es [212.106.195.71] (may be forged)) by postgresql.org (8.11.3/8.11.4) with ESMTP id g1CFsIE80824 for ; Tue, 12 Feb 2002 10:54:18 -0500 (EST) (envelope-from manueltrujillo@dorna.es) Received: from klingon.web.es ([212.163.226.3]) by montseny-f.ibernet.com (Post.Office MTA v3.5.3 release 223 ID# 0-70794U9000L900S0V35) with ESMTP id com; Tue, 12 Feb 2002 16:54:19 +0100 Received: from localhost ([127.0.0.1] helo=localhost.localdomain ident=toomany) by klingon.web.es with esmtp (Exim 3.34 #1 (Debian)) id 16afJX-0000UK-00; Tue, 12 Feb 2002 16:57:51 +0100 Subject: Re: stopping "wal" From: Manuel Trujillo To: Tom Lane Cc: pg-admin In-Reply-To: <21480.1013526979@sss.pgh.pa.us> References: <1013508902.12791.9.camel@klingon> <21480.1013526979@sss.pgh.pa.us> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 12 Feb 2002 16:57:51 +0100 Message-Id: <1013529471.998.7.camel@klingon> Mime-Version: 1.0 X-Archive-Number: 200202/150 X-Sequence-Number: 3307 On Tue, 2002-02-12 at 16:16, Tom Lane wrote: > And this would be worse. > > If you don't care about your data, you can "initdb" to get rid of the > messed-up database. If you do care, you shouldn't be doing any of the > above. The problem here, is a lot of programmers "start-stopping" the database continuosly... :( And I can't make anything, because they need total control over the database. Here it is a bit of log after start the database in her actually state: FATAL 1: The database system is starting up DEBUG: proc_exit(0) DEBUG: shmem_exit(0) DEBUG: exit(0) DEBUG: BackendStartup: forked pid=18416 socket=8 DEBUG: reaping dead processes DEBUG: child process (pid 18416) exited with exit code 0 DEBUG: INSERT @ 0/48F85360: prev 0/48F85320; xprev 0/0; xid 0: XLOG - checkpoint: redo 0/48F85360; undo 0/0; sui 19; xid 2482396; oid 3736683; shutdown DEBUG: XLogFlush: request 0/48F853A0; write 0/48F8 5360; flush 0/48F85360 DEBUG: database system is ready DEBUG: proc_exit(0) DEBUG: shmem_exit(0) DEBUG: exit(0) DEBUG: reaping dead processes DEBUG: BackendStartup: forked pid=18422 socket=8 DEBUG: connection: host=192.168.141.208 user=xxx database=example And make this, to 20 backend processes!!. Tom say me to run "initdb", but... If possible to clean this wal's??? Thank you very much from here to Tom and the rest of pg-admin people. Regards, Manuel. -- Manuel Trujillo manueltrujillo@dorna.es Technical Engineer http://www.motograndprix.com Dorna Sports S.L. +34 93 4702864