Cpanel – Pureftpd Max Clients Per IP Limit Reached

I had a few clients with a fast internet connection running into the pure-ftpd max clients per ip address limit of 8. Because it was happening quite frequently, I made the changes in the pure-ftpd config file located here:

/etc/pure-ftpd.conf

You can edit the file like so:

  1. nano /etc/pure-ftpd.conf
  2. Ctrl + W (for search)
  3. Type: "MaxClientsPerIP" Return / Enter to issue the command
  4. Change the value to something higher. Like 20.

The normal limit is actually 20, so I’m not sure why Cpanel have opted for it to be so low. There is actually a server wide setting of max clients, so technically, 2-3 users could reach this limit, so it might be an idea to increase this value as well.



Share and Enjoy:
  • Print
  • email
  • Google Bookmarks
  • Digg
  • Facebook
  • del.icio.us
  • Mixx
  • Live
  • NewsVine
  • Slashdot
  • Technorati
  • Ma.gnolia

Tags: , ,

2 Responses to “Cpanel – Pureftpd Max Clients Per IP Limit Reached”

  1. ionut_d Says:
    October 8th, 2009 at 8:17 am

    Or, if you have pure-ftpd-mysql installed:

    nano /etc/pure-ftpd/conf/MaxClientsPerIP

    In the blank file just created enter the number of max connections per IP, 20 in our example.

    Save (ctrl+x, Y, Enter) and restart pure-ftpd-mysql:

    /etc/init.d/pure-ftpd-mysql restart

  2. admin Says:
    October 8th, 2009 at 10:06 am

    I’ve not tested this, but the way it reads the configuration files is similiar to htaccess and gotroot rules, so it should work.

    Thanks for the tip!

Leave a Reply