Re: FATAL: shmat(id=3342337) failed: Cannot allocate memory

From: Khangelani Gama <kgama(at)argility(dot)com>
To: John R Pierce <pierce(at)hogranch(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: FATAL: shmat(id=3342337) failed: Cannot allocate memory
Date: 2013-04-24 06:08:30
Message-ID: e92b5bbddbf1c4cdda866e9b830b9f1e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi John

Yes that's the whole messege

# free -m

total used free shared buffers cached
Mem: 8079 1770 6309 0 95 549
-/+ buffers/cache: 1125 6953
Swap: 1023 0 1023

Thanks

-----Original Message-----
From: pgsql-general-owner(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of John R Pierce
Sent: Wednesday, April 24, 2013 7:58 AM
To: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] FATAL: shmat(id=3342337) failed: Cannot allocate
memory

On 4/23/2013 10:53 PM, Khangelani Gama wrote:
> We are running postgres 9.1 on CentOS 5. We can't start up postgres .
> It complains about memory allocation . Please help
>
> FATAL: shmat(id=3342337) failed: Cannot allocate memory
>

is that the entire error message? it usually says something about setting
kernel.shmmax and/or shmall... for most flavors of linux, you set these in
/etc/sysctl.conf (and then update the live system with "sysctl -p").

--
john r pierce 37N 122W
somewhere on the middle of the left coast

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

CONFIDENTIALITY NOTICE
The contents of and attachments to this e-mail are intended for the addressee only, and may contain the confidential
information of Argility (Proprietary) Limited and/or its subsidiaries. Any review, use or dissemination thereof by anyone
other than the intended addressee is prohibited.If you are not the intended addressee please notify the writer immediately
and destroy the e-mail. Argility (Proprietary) Limited and its subsidiaries distance themselves from and accept no liability
for unauthorised use of their e-mail facilities or e-mails sent other than strictly for business purposes.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Khangelani Gama 2013-04-24 06:13:35 Re: FATAL: shmat(id=3342337) failed: Cannot allocate memory
Previous Message John R Pierce 2013-04-24 05:58:19 Re: FATAL: shmat(id=3342337) failed: Cannot allocate memory