too many open files. How to increase the limit
Vijay Gill
vijay.s.gill at gmail.com
Thu Nov 2 09:32:49 UTC 2006
> By the way... there is a place in which tell to the system that the
> maximum number of open file is different from 1024?
>
> Bye
> Ambrogio
>
Run the command sysctl -a to see the kernel params. One of them is
fs.file-max. Increase the value there to allow kernel to have more
file handles.
Increase the number of file handles by editing /etc/sysctl.conf and
changing the property fs.file-max to some higher number than what you
saw earlier.
If there isn't a value set already for this property, you need to add
the line fs.file-max=some value.
Then run sysctl -p to apply your changes to your system.
Vijay
More information about the users
mailing list