Re: graceful reload

Поиск
Список
Период
Сортировка
От Anh Ky Huynh
Тема Re: graceful reload
Дата
Msg-id 20100603144528.2234301e@icy.localdomain
обсуждение исходный текст
Ответ на graceful reload  (Vasiliy G Tolstov <v.tolstov@selfip.ru>)
Ответы Re: graceful reload  (Vasiliy G Tolstov <v.tolstov@selfip.ru>)
Список pgsql-admin
On Thu, 03 Jun 2010 10:23:36 +0400
Vasiliy G Tolstov <v.tolstov@selfip.ru> wrote:

> Hello.
>
> I'm use linux and postgresql under xen vps. Vps supports memory
> balloon (i need to increase memory some time). Can postgresql
> server has ability to graceful reload itself after it configuration
> files changed? Thank You.

I'm afraid *NOT*. You can write a script / cronjob for this task. The script will check postgresql periodically and
willrestart posgresql daemon in case the configuration was changed. You can use `stat` command (try `stat --help`) to
getthe right information about file's modifcation. You should *check* if your configuration is valid before restart the
daemonas any wrong modification can cause your server to stop :) 

I know there's a tool that will do some tasks whenever a(ny) file in the system has been modified. But I can't remember
thename of that tool. 

Regards,

--
Anh Ky Huynh

В списке pgsql-admin по дате отправления:

Предыдущее
От: Vasiliy G Tolstov
Дата:
Сообщение: graceful reload
Следующее
От: Vasiliy G Tolstov
Дата:
Сообщение: Re: graceful reload