Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aTbDy-0007uI-JI for pgsql-admin@arkaria.postgresql.org; Wed, 10 Feb 2016 20:18:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aTbDy-0004GQ-5q for pgsql-admin@arkaria.postgresql.org; Wed, 10 Feb 2016 20:18:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aTbDx-0004GF-Q0 for pgsql-admin@postgresql.org; Wed, 10 Feb 2016 20:18:53 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aTbDv-0001lp-AO for pgsql-admin@postgresql.org; Wed, 10 Feb 2016 20:18:53 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u1AKImgu011958; Wed, 10 Feb 2016 15:18:48 -0500 From: Tom Lane To: Kiriakos Georgiou cc: pgsql-admin@postgresql.org Subject: Re: is it cool to restart servers as preventive maintenance? In-reply-to: References: Comments: In-reply-to Kiriakos Georgiou message dated "Wed, 10 Feb 2016 14:10:19 -0500" Date: Wed, 10 Feb 2016 15:18:48 -0500 Message-ID: <11957.1455135528@sss.pgh.pa.us> X-Pg-Spam-Score: -2.1 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Kiriakos Georgiou writes: > In the last 12 months I have noticed 3-4 instances of database flakiness that is cured by restarting. > I’ve been using PostgreSQL since 2007 and I haven’t seen such issues requiring a reboot, but on my current project we do some rather heavy duty PostGIS analysis that apparently stresses the system enough to occasionally cause this (that’s my theory anyway.) I’m beginning to seriously consider restarting servers on a monthly basis. What sort of "database flakiness"? It's possible you're encountering some kind of bug (memory leak?) in PostGIS, but that would be a bug you ought to get them to fix, not a reason why periodic restarts are a good idea. regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin