Limit bandwidth for pure-ftpd

Discussion in 'General' started by webguyz, Nov 23, 2014.

  1. webguyz

    webguyz Active Member HowtoForge Supporter

    I want to limit the total FTP bandwidth to 4 meg on each of my ISPConfig servers so that all users on that server share that 4 meg. Googling seems to indicate there is not a parameter that you can put into /etc/pure-ftpd/conf like you can when setting passive port ranges. It appears that you have to call a parameter -t or -T when starting up pure-ftpd. Where is that located? the command for pure-ftpd so I can add that option at startup time?

    Thanks!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which Linux distribution do you use?
     
  3. webguyz

    webguyz Active Member HowtoForge Supporter

    Debian Wheezy
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Debian uses the following wrapper script to start pure-ftpd:

    /usr/sbin/pure-ftpd-wrapper

    take a look inside that script to see if -t or -T exist already as options and how the file in /etc/pure-ftpd/conf/ has to be named to activate these switches.
     
  5. webguyz

    webguyz Active Member HowtoForge Supporter

    Exactly what I needed. There is a UserBandwith variable already defined in the wrapper.

    Thanks!!!
     

Share This Page