Re: out of memory

From: Emanuel Calvo Franco <postgres(dot)arg(at)gmail(dot)com>
To: Fabricio <fabrixio1(at)hotmail(dot)com>
Cc: vladimir(at)greenmice(dot)info, pgsql-admin(at)postgresql(dot)org
Subject: Re: out of memory
Date: 2009-08-01 16:11:15
Message-ID: f205bb120908010911j16e5dc84ic70a8ba95607069d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

>
> Some one know why this is happening?
>
> I change the OS to 64 bits and now the oom-killer not hapend but Postgres is
> still showing out of memory
>
> Linux SERVER 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64
> x86_64 GNU/Linux
> Red Hat Enterprise Linux Server release 5.2 (Tikanga)
> PostgreSQL 8.1.15
> 32GB RAM
>
> My postgresql.conf:
> # - Memory -
>
> shared_buffers = 1048576                        # min 16 or
> max_connections*2, 8KB each
> temp_buffers = 1024                     # min 100, 8KB each
> max_prepared_transactions = 20         # can be 0 or more
> # note: increasing max_prepared_transactions costs ~600 bytes of shared
> memory
> # per transaction slot, plus lock space (see max_locks_per_transaction).
> work_mem = 1024                 # min 64, size in KB
> maintenance_work_mem = 65536            # min 1024, size in KB
> max_stack_depth = 2048                  # min 100, size in KB
>

What about the shmmax and shmall kernel parametters?
Which values you are managing?

--
Emanuel Calvo Franco
www.emanuelcalvofranco.com.ar

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Fabricio 2009-08-03 00:17:40 Re: out of memory
Previous Message Vladimir Rusinov 2009-08-01 08:20:27 Re: out of memory