Search Postgresql Archives

Re: PANIC: could not create file "pg_xlog/xlogtemp.7884": No space left on device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Raymond. 

But I think the symptoms that I am seeing are different though I get the 
no disk space issue in the following ways:

1. There is enough disk space on my device (output of df -h), 300M is used from 56G space.

/dev/mapper/data1-object--cache
                       58G  300M   58G   1% /object-cache1



2.  ls -rtl pg_xlog:

drwx------ 2 postgres 75     4096 Sep 28 03:45 archive_status
-rw------- 1 postgres 75 16777216 Sep 28 04:33 00000001000000000000000B
-rw------- 1 postgres 75 16777216 Sep 28 04:34 00000001000000000000000C

( I see the WAL xlog files are getting created and the older ones are getting deleted correctly and 
   they are using hardly 32MB from a partition of 58G so where is the question of no space)

3. Could this be related to: 
         http://www.postgresql.org/message-id/20140414014442.15385.74268@xxxxxxxxxxxxxxxxxxxxxxx.

Here there is mention of 'long writes and short writes', will trying out latest version of postgress help? 

4. I tried with 'archive_command = /usr/bin.true' but still I face the ""pg_xlog/xlogtemp.7884": No space left on device" issue.

5. Once I  hit ""pg_xlog/xlogtemp.7884": No space left on device" I start seeing it for other files as well: 

    "WARNING:  could not create relation-cache initialization file "base/16384/pg_internal.init.13715": No space left 
     on device DETAIL:  Continuing anyway, but there's something wrong."

6. I am seeing this issue when I create around 60,000 to 70,000 files (each of size 4k) in the data base.


Appreciate any quick help on this.

--
Thanks and regards,
Rupesh


-----Original Message-----
From: Raymond O'Donnell [mailto:rod@xxxxxx] 
Sent: Friday, September 26, 2014 9:41 PM
To: Roopeshakumar Narayansa Shalgar (rshalgar); 'PostgreSQL'
Subject: Re:  PANIC: could not create file "pg_xlog/xlogtemp.7884": No space left on device

On 25/09/2014 11:44, Roopeshakumar Narayansa Shalgar (rshalgar) wrote:
> Hi,
> 
>  
> 
> I am using version 9.3.1 and see the "no space device error" even though
> there is enough space (99% free) on my disk.
> 
>  
> 
> Error: PANIC:  could not create file "pg_xlog/xlogtemp.7884": No space
> left on device
> 
>  
> 
> I want to know whether this is a bug and if yes whether fix or
> workaround is available.

It's not a bug - you're out of disk space. As it happens, I saw a blog
post yesterday on precisely this problem, and approaches to fixing it:

http://blog.endpoint.com/2014/09/pgxlog-disk-space-problem-on-postgres.html


HTH,

Ray.


-- 
Raymond O'Donnell :: Galway :: Ireland
rod@xxxxxx


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux