Bug#930728: pg_cltlcluster leaks logfile descriptor into PostgreSQL backends

2019-06-26 Thread Andrey Borodin
Hi! > 26 июня 2019 г., в 19:22, Christoph Berg написал(а): > > Re: Andrey Borodin 2019-06-19 > <4178a7b3-b742-49d7-afa9-fcb3439a0...@yandex-team.ru> >> On my observation - yes, descriptor 4 is no longer in lsof. > > Ah, I had not noticed the "4" bef

Bug#930728: pg_cltlcluster leaks logfile descriptor into PostgreSQL backends

2019-06-20 Thread Andrey Borodin
> 19 июня 2019 г., в 21:05, Andrey Borodin написал(а): > > But I've checked only on Yandex.Cloud clusters. I think I'll do repro on > fresh Ubuntu... So, I've tried the fix on Ubuntu 18. There are much more leaked descriptors in this case and fix helps only part

Bug#930728: pg_cltlcluster leaks logfile descriptor into PostgreSQL backends

2019-06-19 Thread Andrey Borodin
> 19 июня 2019 г., в 20:57, Christoph Berg написал(а): > > Control: tags -1 moreinfo > > Re: Andrey Borodin 2019-06-19 > <3fd6aec7-55c8-4129-a46c-0bb3e4296...@yandex-team.ru> >> Package: postgresql-common >> Version: 199 >> >> When I execu

Bug#930728: pg_cltlcluster leaks logfile descriptor into PostgreSQL backends

2019-06-19 Thread Andrey Borodin
ich could be prevented by monitoring. If I apply following patch descriptor stops leaking. I use Ubuntu. Description:Ubuntu 18.04.2 LTS Release:18.04 Codename: bionic Best regards, Andrey Borodin. diff --git a/pg_ctlcluster b/pg_ctlcluster index 1690d3d..6039659 100755 --- a/pg_ctlcl