Jump to content

can't modify /proc/sys/file-max


serge111

Recommended Posts

hi, i have a virtual dedicated server with godaddy that has been freezing and i have to restart it. this happens every couple of days. their support told me the problem is too many files open. the number that limits that is in /proc/sys/file-max however i can't change that file even under root. i have tried chmod, chown and echo 8096 > /proc/sys/file-max but the file still stays the same....

 

-rw-r--r--  1 root root 0 Nov  1 07:42 file-max

 

thats the permissions on it, but it doesn't change! its current value is like 262,000 which is too large, it should be like 8096. please help!

Link to comment
https://forums.phpfreaks.com/topic/75650-cant-modify-procsysfile-max/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.