Re: Errors: Too many open files - Mailing list pgsql-general

From Steve Wolfe
Subject Re: Errors: Too many open files
Date
Msg-id 000d01c17f51$13f6bb60$50824e40@iboats.com
Whole thread Raw
In response to Re: Errors: Too many open files  (Jan Wieck <janwieck@yahoo.com>)
List 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 by date:

Previous
From: Holger Krug
Date:
Subject: Re: Where is PL/Python?
Next
From: Jan Wieck
Date:
Subject: Re: When do I Vacuum ?