My server was having error due to high traffic and it showed this message often when I access the website
Error: EMFILE: too many open files, open '/home/ubuntu/chat2/public/style.css' at Error (native)
To fix this, I googled and tried to increase the Ulimit in Ubuntu.
Recently I changed the following files
as I followed this tutorial http://ithubinfo.blogspot.in/2013/07/how-to-increase-ulimit-open-file-and.html
and also changed
After I did that, I logged out of my ssh and then tried logging in and since then I am unable to get in.
It logs in and then tell me that Connection to (server ip) closed.
How can I get access to my terminal back and/or restore my
How do I edit those files again without terminal access?