Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 500B61337BCE for ; Thu, 27 Jan 2011 12:25:21 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 33371-08-3 for ; Thu, 27 Jan 2011 16:25:14 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from exprod7og120.obsmtp.com (exprod7og120.obsmtp.com [64.18.2.18]) by mail.postgresql.org (Postfix) with ESMTP id 8FC4A1337BD7 for ; Thu, 27 Jan 2011 12:25:12 -0400 (AST) Received: from source ([209.85.215.171]) (using TLSv1) by exprod7ob120.postini.com ([64.18.6.12]) with SMTP ID DSNKTUGcZMMmgwAmXOkORezubKfJK6bYwAZX@postini.com; Thu, 27 Jan 2011 08:25:13 PST Received: by eyg5 with SMTP id 5so1149305eyg.2 for ; Thu, 27 Jan 2011 08:25:07 -0800 (PST) Received: by 10.213.30.20 with SMTP id s20mr3315357ebc.15.1296145506997; Thu, 27 Jan 2011 08:25:06 -0800 (PST) Received: from [192.168.1.183] (dsl-hkibrasgw2-ff7ac300-240.dhcp.inet.fi [88.195.122.240]) by mx.google.com with ESMTPS id x54sm13032859eeh.17.2011.01.27.08.25.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 27 Jan 2011 08:25:05 -0800 (PST) Message-ID: <4D419C5F.8050603@enterprisedb.com> Date: Thu, 27 Jan 2011 18:25:03 +0200 From: Heikki Linnakangas User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; fi-FI; rv:1.9.1.15) Gecko/20101030 Icedove/3.0.10 MIME-Version: 1.0 To: zoulx1982 CC: PostgreSQL Bugs Subject: Re: =?UTF-8?B?5Zue5aSNOlJlOiBbQlVHU10gQlVHICM1ODUzOiB3aGVuIHRoZSA=?= =?UTF-8?B?d2Fsc2VuZGVyIGNhbm5vdCBleGl0IHdoZW4gcmVib290IHNsYXZlIGNvbXB1dGU=?= =?UTF-8?B?cg==?= References: <4D417C6A.1040601@enterprisedb.com> <201101271318.p0RDI88H045941@wwwmaster.postgresql.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-4.2 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3 X-Spam-Level: X-Archive-Number: 201101/229 X-Sequence-Number: 29251 (Please keep the mailing list cc'd so that others can help) On 27.01.2011 16:38, zoulx1982 wrote: > There is no error or log, but when i use "ps -ef | grep postgres" to watch the process, i find walsender process already exists. > In my view, whether this process should exit, because the walreceiver have exit (caused by computer restart). If the client just goes away, like if the computer is reset, it can take up to a few minutes for the operating system to declare the TCP connection as dead. And you'll need to generate a little bit of WAL so that the walsender has something it tries to send to the receiver, otherwise it might take even longer. You can also look at "netstat" output, to see if the OS thinks the connection is still established. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com