From: | Mariel Cherkassky <mariel(dot)cherkassky(at)gmail(dot)com> |
---|---|
To: | PostgreSQL mailing lists <pgsql-performance(at)postgresql(dot)org> |
Subject: | pgpool 2 rotate logs |
Date: | 2018-02-18 15:19:08 |
Message-ID: | CA+t6e1nbNxymrFNivQr3m2RUH_1hi4_kKsKWYSPzn-_=_+TFUQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
Hi,
I have installed pgpool 2 version 3.7.0 . I'm trying to configure log
rotation on the pgpool.log but It seems that something wrong. I configured
in logrotate conf file the parameters :
/PostgreSQL/pgpool/log/pgpool.log {
daily
dateext
missingok
compress
notifempty
maxage 7
maxsize 21118320640
rotate 7
create 644 postgres postgres
postrotate
su - postgres -c "~/pgpool/bin/pgpool reload"
endscript
}
After the first rotation, an archive is generated but the pool stops
writing to the original log. Any idea what can be the reason ?
From | Date | Subject | |
---|---|---|---|
Next Message | Tatsuo Ishii | 2018-02-19 01:03:39 | Re: pgpool 2 rotate logs |
Previous Message | mkslaf | 2018-02-15 12:18:00 | Re: Efficiently searching for the most recent rows where a column matches any result from a different query |