Re: [ADMIN] Unable to reload postgresql.conf without restarting - Mailing list pgsql-general

From sk baji
Subject Re: [ADMIN] Unable to reload postgresql.conf without restarting
Date
Msg-id CAAYGEJbJrpDu6OVng5ShAHqiF9Cod2w0c2NnAg0793LCex=k3Q@mail.gmail.com
Whole thread Raw
In response to Re: [ADMIN] Unable to reload postgresql.conf without restarting  (Bruce Momjian <bruce@momjian.us>)
List pgsql-general
> Hi,
>
> I made some changes to postgresql.conf and I want them to take effect without
> having to restart the server.
>
> I tried
>
> select pg_reload_conf();
> /usr/pgsql-9.1/bin/pg_ctl reload
>
> but when I do 'show all', I see no changes take effect.
>
> There settings I tried to change are:
> -effective_cache_size
> -work_mem
>
> Im using posgres 9.1 on Centos Linux (amazon ec2)

I think, these parameters are duplicated in postgresql.conf file. Can you check whether the same parameters are exits in bottom of the file. If so, you need to change at the bottom(or comment them).


Regards,
Baji Shaik.



On Thu, Jan 3, 2013 at 5:17 PM, Bruce Momjian <bruce@momjian.us> wrote:
On Thu, Jan  3, 2013 at 11:25:41AM -0500, Jose Martinez wrote:
> Hi,
>
> I made some changes to postgresql.conf and I want them to take effect without
> having to restart the server.
>
> I tried
>
> select pg_reload_conf();
> /usr/pgsql-9.1/bin/pg_ctl reload
>
> but when I do 'show all', I see no changes take effect.
>
> There settings I tried to change are:
> -effective_cache_size
> -work_mem
>
> Im using posgres 9.1 on Centos Linux (amazon ec2)

That is quite odd.  Can you show us the commands and the postgresql.conf
line you are changing?

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +


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

pgsql-general by date:

Previous
From: Matheus de Oliveira
Date:
Subject: Re: [ADMIN] Unable to reload postgresql.conf without restarting
Next
From: Bèrto ëd Sèra
Date:
Subject: Re: Database Design: Maintain Audit Trail of Changes