Problem when forking

Поиск
Список
Период
Сортировка
От Rodrigo Barboza
Тема Problem when forking
Дата
Msg-id CANs8QJYUu4QYpGV963_xdBjX+gUWAMFct_-At80KtvzwHdqzqg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Problem when forking  ("Greg Sabino Mullane" <greg@turnstep.com>)
Список pgsql-interfaces
Hello everyone,

I am seeing too many messages like "unexpected EOF on client connection".
I've made a reasearch and I know the reason: I have processes that fork and don't close the connection causing those warnings.

My questions is: is there a way to avoid that behavior beside of closing the connection before forking? 

Maybe close the file descriptor without closing the connection...

This is not causing any trouble, but my log increases very quickly with useless information.

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

Предыдущее
От: Bill Clay
Дата:
Сообщение: Re: libpq connect keepalive* parms: no effect!?
Следующее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: Problem when forking