serge111 Posted November 1, 2007 Share Posted November 1, 2007 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! Quote Link to comment https://forums.phpfreaks.com/topic/75650-cant-modify-procsysfile-max/ Share on other sites More sharing options...
steviewdr Posted November 2, 2007 Share Posted November 2, 2007 server:~# echo 33517 > /proc/sys/fs/file-max The above works for me. -steve Quote Link to comment https://forums.phpfreaks.com/topic/75650-cant-modify-procsysfile-max/#findComment-383175 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.