OpenVZ Forum


Home » General » Support » openVZ7: how to set fs.file-max ?
Re: openVZ7: how to set fs.file-max ? [message #53055 is a reply to message #52724] Wed, 13 December 2017 06:07 Go to previous message
jamesmoliver is currently offline  jamesmoliver
Messages: 1
Registered: December 2017
Location: United Kingdom
Junior Member
Your operating system set limits on how many files can be opened by any running application on your host. You can extend the basic values usually 1024 easily by modifying 2 configuration files:

# vi /etc/sysctl.conf

fs.file-max = 32000

# vi /etc/security/limits.conf

youruser soft nofile 10000
youruser hard nofile 30000

[Updated on: Thu, 14 December 2017 17:22] by Moderator

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is OPREN VZ at the End and is not developed?
Next Topic: Is there any ChangeLog for vzkernel for Virtuozzo Linux 7?
Goto Forum:
  


Current Time: Sun Jul 14 02:44:20 GMT 2024

Total time taken to generate the page: 0.02102 seconds