Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UrTaQ-0003es-OH for pgsql-bugs@arkaria.postgresql.org; Tue, 25 Jun 2013 13:47:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1UrTaQ-0001kH-6W for pgsql-bugs@arkaria.postgresql.org; Tue, 25 Jun 2013 13:47:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UrTaP-0001jJ-6j for pgsql-bugs@postgresql.org; Tue, 25 Jun 2013 13:47:09 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UrTaM-0003bm-DB for pgsql-bugs@postgresql.org; Tue, 25 Jun 2013 13:47:08 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r5PDkldP008882; Tue, 25 Jun 2013 09:46:47 -0400 (EDT) From: Tom Lane To: "Yuri Levinsky" cc: pgsql-bugs@postgresql.org Subject: Re: Postgres crash? could not write to log file: No space left on device In-reply-to: References: Comments: In-reply-to "Yuri Levinsky" message dated "Tue, 25 Jun 2013 15:23:00 +0300" Date: Tue, 25 Jun 2013 09:46:47 -0400 Message-ID: <8881.1372168007@sss.pgh.pa.us> X-Pg-Spam-Score: -3.2 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org "Yuri Levinsky" writes: > I have the following issue on Sun Solaris 10. PostgreSQL version is > 9.2.3. The wall logging is minimal and no archiving. The DB restarted > several time, the box is up for last 23 days. The PostgreSQL > installation and files under /data/postgres that is half empty. Is it > some other destination that might cause the problem? Can I log the space > consumption and directory name where the problem is happening by some > debug level or trace setting? > PANIC: could not write to log file 81, segment 125 at offset 13959168, > length 1392640: No space left on device That's definitely telling you it got ENOSPC from a write in $PGDATA/pg_xlog. Maybe you have a user-specific space quota affecting the postgres account? regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs