From: | Vasiliy G Tolstov <v(dot)tolstov(at)selfip(dot)ru> |
---|---|
To: | Anh Ky Huynh <xkyanh(at)gmail(dot)com> |
Cc: | PostgreSQL Admin <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: graceful reload |
Date: | 2010-06-03 07:48:23 |
Message-ID: | 1275551303.23110.1.camel@work.selfip.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
В Чтв, 03/06/2010 в 14:45 +0700, Anh Ky Huynh пишет:
> On Thu, 03 Jun 2010 10:23:36 +0400
> Vasiliy G Tolstov <v(dot)tolstov(at)selfip(dot)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 will restart posgresql daemon in case the configuration was changed. You can use `stat` command (try `stat --help`) to get the right information about file's modifcation. You should *check* if your configuration is valid before restart the daemon as 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 the name of that tool.
>
> Regards,
>
Sorry for incorrect question. I mean: does postgresql can be reloaded
without breaking current connections?
For example:
I need to increate some values in postgresql conf file and want to this
valies applied on running server, can i do this without full restart?
--
Vasiliy G Tolstov <v(dot)tolstov(at)selfip(dot)ru>
Selfip.Ru
From | Date | Subject | |
---|---|---|---|
Next Message | Shoaib Mir | 2010-06-03 07:54:52 | Re: graceful reload |
Previous Message | Anh Ky Huynh | 2010-06-03 07:45:28 | Re: graceful reload |