pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Brad Nicholson <bnichols@ca.afilias.info>
To: Thorne, Francis <thornef@cromwell.co.uk>
Cc: pgsql-admin@postgresql.org
Subject: Re: AIX - Out of Memory
Date: Tue, 16 Feb 2010 13:45:35 -0500
Message-ID: <1266345936.4412.31.camel@bnicholson-desktop> (raw)
In-Reply-To: <81976671721DF04B9DCA6ECD87941A401E2255B5@roundway.Cromwell-tools.co.uk>
References: <81976671721DF04B9DCA6ECD87941A401E2255B5@roundway.Cromwell-tools.co.uk>

On Tue, 2010-02-16 at 16:44 +0000, Thorne, Francis wrote:
> Please find details as requested, thanks again for you help
> 
>  /usr/local/pgsql837-64/bin/postgres:
> 
> 			***Object Module Header***
> # Sections      Symbol Ptr      # Symbols       Opt Hdr Len     Flags
>          4	0x005e247c	    46124	        120	0x9002
> Flags=( EXEC DYNLOAD RWNONEXEC )
> Timestamp = "06 Nov 12:55:11 2009"
> Magic = 0x1f7  (64-bit XCOFF)

Your binary is 64-bit.

> 			***Optional Header***
> Tsize        Dsize       Bsize       Tstart      Dstart
> 0x003cc912  0x0005dde6  0x00073a38  0x100001f8  0x20000b0a
> 
> SNloader     SNentry     SNtext	     SNtoc       SNdata
> 0x0004      0x0002      0x0001      0x0002      0x0002    
> 
> TXTalign     DATAalign   TOC         vstamp      entry
> 0x0005      0x0003      0x20059418  0x0001      0x20039c6c
> 
> maxSTACK     maxDATA     SNbss       magic       modtype
> 0x00000000  0x00000000  0x0003      0x010b        1L

Bingo - maxDATA of 0x00000000.  Ken's posting was correct.  You have
1x256MB segment of memory available per process.

If you watch your server process while this is happening, it will be
hitting 256MB in size.  

Upping this limit is probably the way to go.  You can use the ldedit
command to up this limit for your binaries, or specify it when you build
Postgres.  See the file docs/FAQ_AIX with the PG source for details.
-- 
Brad Nicholson  416-673-4106
Database Administrator, Afilias Canada Corp.





view thread (12+ messages)  latest in thread

Message-ID: <1266345936.4412.31.camel@bnicholson-desktop>
Permalink:  ../1266345936.4412.31.camel@bnicholson-desktop/
Also on:    postgresql.org/message-id/1266345936.4412.31.camel@bnicholson-desktop

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: bnichols@ca.afilias.info, thornef@cromwell.co.uk
  Subject: Re: AIX - Out of Memory
  In-Reply-To: <1266345936.4412.31.camel@bnicholson-desktop>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox