accept: Too many open files - after opening SSH proxyfying

P

postcd

Guest
Hello, i enabled ssh proxy on server using this tutorial (internetlifeforum com/linux-forums/1326-fastest-way-make-linux-socks-proxy/) and after around hour very roughly i started getting these messages in terminal.

accept: Too many open files
accept: Too many open files
accept: Too many open files

It was like a flood so i was unable to enter any command. :) So from VPS host server i did "pkill -f mysshporthere" and it stopped

So i want to ask where i can increase this open files limit value, or what do you recommend doing when this flood happen again? thx
 


OP
R

ryanvade

Guest
the ulimit command may help.
Code:
ulimit -a
To be specific:
Code:
ulimit -n INSERT_NUMBER_HERE
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top