Linux:: SSH not working after increasing Open Files / File Descriptors (FD)
Hi
I am not able to ssh my ec2 instance [linux based] after I have executed following command.[Before that I am able to ssh to server] # vim /etc/sysctl.conf I have update file-max number to 4000000 fs.file-max = 4000000 Then I exit my ec2 insatnce & try to ssh again but of no luck. I have tried ssh with -v option & what I get is only [debug1: Exit status 254]. Note: This is the only change I have made. |
How much memory does the system have?
It takes memory allocate space for 4,000,000 possible files. My 8GB system only allocates 815,155 possible files. You very possibly overloaded the system and it can't allocate memory for the process to to be able to open the necessary files. You really shouldn't need to change the value. reference: http://stackoverflow.com/questions/6...g-to-my-own-se Quote:
If you can boot into single user mode you should be able to remove/comment out those lines you put in /etc/sysctl.conf to recover. |
All times are GMT -5. The time now is 06:45 AM. |