Re: AIX - Out of Memory

From: "Thorne, Francis" <thornef(at)cromwell(dot)co(dot)uk>
To: "Brad Nicholson" <bnichols(at)ca(dot)afilias(dot)info>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: AIX - Out of Memory
Date: 2010-02-18 08:46:07
Message-ID: 81976671721DF04B9DCA6ECD87941A401E2CCE18@roundway.Cromwell-tools.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Brad,

Thanks for all your help with this, sorry for my ignorance on this.
I've read through the F.A.O and found the section on setting MAXDATA but
can only see the example of setting this to 0x00000000 for 32-bit. I
cant see any example of what I need to change this to if I wanted to run
64-bit, I don't suppose you have an idea what I would need to change
this maxData figure to.

I assume using the LDEDIT command the maxData setting can be changed on
the fly and we wont need to re-compile Postgres.

Thanks again for all your help and patience !!

Fran

-----Original Message-----
From: Brad Nicholson [mailto:bnichols(at)ca(dot)afilias(dot)info]
Sent: 16 February 2010 18:46
To: Thorne, Francis
Cc: pgsql-admin(at)postgresql(dot)org
Subject: RE: [ADMIN] AIX - Out of Memory

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.

___________________________________________________

This email is intended for the named recipient. The information contained
in it is confidential. You should not copy it for any purposes, nor
disclose its contents to any other party. If you received this email
in error, please notify the sender immediately via email, and delete it from
your computer.

Any views or opinions presented are solely those of the author and do not
necessarily represent those of the company.

Cromwell Tools Limited, PO Box 14, 65 Chartwell Drive
Wigston, Leicester LE18 1AT. Tel 0116 2888000
Registered in England and Wales, Reg No 00986161
VAT GB 115 5713 87 900
__________________________________________________

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Brad Nicholson 2010-02-18 18:01:39 Re: AIX - Out of Memory
Previous Message Hyung Joo Lee 2010-02-18 00:55:04 the problem about the geometry