accept: Too many open files - after opening SSH proxyfying

Discussion in 'Command Line' started by postcd, Apr 24, 2014.

  1. postcd

    postcd Member

    Messages:
    64
    Likes Received:
    5
    Trophy Points:
    8
    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.

    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

    DevynCJohnson likes this.
  2. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,260
    Likes Received:
    428
    Trophy Points:
    83
    the ulimit command may help.
    Code:
    ulimit -a
    To be specific:
    Code:
    ulimit -n INSERT_NUMBER_HERE

Share This Page