Re: Errors: Too many open files

Поиск
Список
Период
Сортировка
От Steve Wolfe
Тема Re: Errors: Too many open files
Дата
Msg-id 000d01c17f51$13f6bb60$50824e40@iboats.com
обсуждение исходный текст
Ответ на Re: Errors: Too many open files  (Jan Wieck <janwieck@yahoo.com>)
Список pgsql-general
> > > echo "8192" > /proc/sys/fs/file-max
> > > (did not seem to make a difference)

  You'll probably want to do something like this:

echo '16384' > /proc/sys/fs/file-max
echo '65536' > /proc/sys/fs/inode-max

  The documentation in the kernel sources mentions that inode-max should
be something like two or three times the file-max.  Also, depending on
your local configuration, you may need to use ulimit to raise the file
limits for that individual user.

  It's so much easier than years ago, when you had to recompile the kernel
to raise those limits. ; )

steve



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

Предыдущее
От: Holger Krug
Дата:
Сообщение: Re: Where is PL/Python?
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: When do I Vacuum ?