Re: Logspace not being freed up?



bart770@xxxxxxxxx wrote:
I know for sure that the Postgres process is keeping the logs open
because when I kill the process(es) all reserved hdd space is given
back to me. But I don't like to kill postgres to free the space. It
would mean that the website which is depending on it will be offline
for some time, which is unacceptable to me :)

Use 'kill -HUP' to send it SIGHUP which is by convention the way to tell daemons to close/reopen log files and reload config files. You don't kill and restart the process. You signal it!
.