Re: AIX - Out of Memory

From: Brad Nicholson <bnichols(at)ca(dot)afilias(dot)info>
To: "Thorne, Francis" <thornef(at)cromwell(dot)co(dot)uk>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: AIX - Out of Memory
Date: 2010-02-16 18:45:35
Message-ID: 1266345936.4412.31.camel@bnicholson-desktop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message dx k9 2010-02-17 14:36:09 Postgresql & PAM & AD
Previous Message Renato Oliveira 2010-02-16 17:34:05 Re: PG_DUMP backup