Re: Thousands of errors...what happened?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Thousands of errors...what happened?
Дата
Msg-id 20140324164323.GB9567@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на Thousands of errors...what happened?  (Jerry Levan <jerry.levan@gmail.com>)
Ответы Re: Thousands of errors...what happened?  (john gale <john@smadness.com>)
Список pgsql-general
Jerry Levan wrote:
> The other day I attempted to connect to my 9.3.2 postgresql data base and my connection
> attempts kept failing.
>
> I found about 100000 lines in the log file that looked like:
>
> ERROR:  could not seek to end of file "global/12292": Too many open files
> LOG:  out of file descriptors: Too many open files; release and retry

I think this means there is a file descriptor leak somewhere; maybe a
third-party module by Apple.  It might be useful to see what files are
open by the offending process; in Linux you would just see
ls -l /proc/{pid}/fd
but I don't know if this works on Mac OS X.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


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

Предыдущее
От: Jerry Levan
Дата:
Сообщение: Re: Thousands of errors...what happened?
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Do we have a range of SQLSTATE codes assigned for custom use?