Cpanel – Pureftpd Max Clients Per IP Limit Reached
Posted by admin | Filed under Computing and IT, Pick and Mix
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:
-
nano /etc/pure-ftpd.conf
-
Ctrl + W (for search)
-
Type: "MaxClientsPerIP" Return / Enter to issue the command
-
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.
Tags: centos 5.2, cpanel, pure-ftpd

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
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!