Re: [ADMIN] Unable to reload postgresql.conf without restarting

Поиск
Список
Период
Сортировка
От sk baji
Тема Re: [ADMIN] Unable to reload postgresql.conf without restarting
Дата
Msg-id CAAYGEJbJrpDu6OVng5ShAHqiF9Cod2w0c2NnAg0793LCex=k3Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [ADMIN] Unable to reload postgresql.conf without restarting  (Bruce Momjian <bruce@momjian.us>)
Список 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 по дате отправления:

Предыдущее
От: Matheus de Oliveira
Дата:
Сообщение: Re: [ADMIN] Unable to reload postgresql.conf without restarting
Следующее
От: Bèrto ëd Sèra
Дата:
Сообщение: Re: Database Design: Maintain Audit Trail of Changes