SSL connection abort screws up logger pipe

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема SSL connection abort screws up logger pipe
Дата
Msg-id 40FA62AF.7070001@pse-consulting.de
обсуждение исходный текст
Список pgsql-hackers
While testing the logger subprocess, I found that I get a
"could not read from system logger pipe: Too many open files" if I abort 
a SSL connection.

After that, the ereport(FATAL) will screw up the backend, semctl etc (To 
fix this, I'm using ereport(COMMERROR) and exit(1) now, logger will 
restart gracefully).

It appears that the SSL connection cleanup code does some harmful stuff 
to the logger pipe, while the normal cleanup code will leave the pipe 
workable.

Regards,
Andreas


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

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: pg_dump bug fixing
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: pg_dump bug fixing