Re: Postgresql not getting assigned memory - Mailing list pgsql-general

From Jeff Janes
Subject Re: Postgresql not getting assigned memory
Date
Msg-id CAMkU=1xVou-B5ydHRXGCT9bU4xsTAXnSAwuaqQR34cusmVCt5A@mail.gmail.com
Whole thread Raw
In response to Postgresql not getting assigned memory  (Oliver <ofabelo@gmail.com>)
Responses Re: Postgresql not getting assigned memory
List pgsql-general
On Fri, Jun 20, 2014 at 4:51 AM, Oliver <ofabelo@gmail.com> wrote:
> Hello,
> I'm new in postgresql, I'm sorry if I do something bad.
> Default value or shared_buffers is 128MB, I have a dedicated server for
> postgresql with 8GB RAM. I've changed shared_buffers value to 2048MB and
> uncommented the entry in postgresql.conf. It shows now:
>
> # - Memory -
>
> shared_buffers = 2048MB                 # min 128kB
>
> When I restart instance or even server, pgstartup.log indicates:
>
> seleccionando el valor para shared_buffers ... 128MB (I'm sorry, I'm spanish
> and server is configured in spanish). But it shows something as: selecting
> shared_buffers value ... 128MB.
> What I do bad? Thanks beforehand.

That message comes from initdb.  initdb should not be run when you
restart the database or the server, but only when you create a new
database cluster.  Perhaps you are looking at an old log file, not a
new one.  Or perhaps you have accidentally created more than one
database cluster on your server (i.e. more than one data directory).

The file "pgstartup.log" is not something that PostgreSQL itself
creates.  It may be part of the PostgreSQL start-up scripts
distributed by the packager.  What repository did you use to install
PostgreSQL?

Cheers,

Jeff


pgsql-general by date:

Previous
From: Steve Crawford
Date:
Subject: Re: Strange Error in postgresql 8.4
Next
From: "enrique.perez"
Date:
Subject: pgAgent