Re: AIX - Out of Memory - Mailing list pgsql-admin

From Brad Nicholson
Subject Re: AIX - Out of Memory
Date
Msg-id 1266345936.4412.31.camel@bnicholson-desktop
Whole thread Raw
In response to Re: AIX - Out of Memory  ("Thorne, Francis" <thornef@cromwell.co.uk>)
List pgsql-admin
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.



pgsql-admin by date:

Previous
From: Renato Oliveira
Date:
Subject: Re: PG_DUMP backup
Next
From: dx k9
Date:
Subject: Postgresql & PAM & AD