This is off the top of my head, If you have root access and are editing for root: sysctl -w fs.file-max=2500 and to save it upon reboot add it to /etc/sysctl.conf in this format: fs.file-max = 2500 Obviously not that low Hopefully this helps
Do i have to run the command and add also on /etc/sysctl.conf the: fs.file-max = 65000 I must do both? Do i have to restart anything to start use this setting? Thank you
You can run the command to have it take immediate effect and then add it to the sysctl file to make it 'stick' after reboot. Or just add it to the sysctl and reboot.