Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to stop people from opening 300 ftp connections to the server

Discussion in 'General Discussion' started by nat, Feb 10, 2005.

  1. nat

    nat Well-Known Member

    Jan 16, 2003
    Likes Received:
    Trophy Points:
    Some people set their ftp application to make 300 simultaneous connections to the server thinking it will make uploading to the server through their 56k modem 300 times faster.

    These 300 proftp connections cause a higher than normal load on the server.

    /etc/proftpd.conf has this:

    MaxClients 3 "Sorry, this ftp server has reached its maximum user count (%m). Please try again later"

    That isn't working.

    Is there any way to set proftp to only allow 1 connections to the server per ftp username?
  2. bsasninja

    bsasninja Well-Known Member

    Sep 2, 2004
    Likes Received:
    Trophy Points:
    Try This

    Add this line to your /etc/proftpd.conf

    MaxClientsPerUser 2

    This will allow 2 max connections per user at the ftp server.

    Bye! :D

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice