Skip to main content

LimitRecursion and MaxDiskUsage

Comments

8 comments

  • Benjamin D.

    Oh, will you look at that.  I wrote 6 YEARS ago about the same issue and nobody even replied to my post.  As a customer, I feel like I'm throwing money at a company that does not care about user experience at all.  https://support.cpanel.net/hc/en-us/community/posts/19131800553239-Permanently-modify-the-LimitRecursion-setting

     

    0
  • quietFinn

    in the last line of /etc/pure-ftpd.conf there is:
    # Include                      additional_configuration.conf

    Did you try that way?

     

    0
  • Benjamin D.

    Can you explain what "that way" means exactly? Are you inferring that additional_configuration.conf will override /etc/pure-ftpd.conf while not getting overwritten after a server restart and/or a WHM update?

    As a side question: Do you know what makes /etc/pure-ftpd.conf revert some of the settings (but not all of them) and why?

     

    0
  • cPRex Jurassic Moderator

    Hey there!  In general, on a cPanel machine, you aren't going to be able to edit configuration files directly, and that includes the /etc/pure-ftpd.conf file.  You would need to use the details outlined on this documentation page to edit a local version of that file that cPanel reads:

    https://docs.cpanel.net/whm/service-configuration/ftp-server-configuration/#increase-file-limit

    You can also add the MaxDiskUsage or any other values you'd like to adjust to that custom file and those will survive nightly updates and future changes as expected.

    Once that work is complete, ensure that you run the

    /usr/local/cpanel/scripts/setupftpserver pure-ftpd --force

    command to update the /etc/pure-ftpd.conf file.

    0
  • Benjamin D.

    OK and so do I have to pass that /var/cpanel/conf/pureftpd/local file path on that line like quietFinn suggested?

    # Include additional_configuration.conf

     

    0
  • cPRex Jurassic Moderator

    As far as I'm aware, no.

    0
  • Benjamin D.

    OK I ran that command and the /etc/pure-ftpd.conf file got updated with new values, so I think it worked.  Now we'll leave this thread open until a WHM update or a server restart and we'll see if the values "stick".

    /usr/local/cpanel/scripts/setupftpserver pure-ftpd --force

    Thanks!

     

    0
  • cPRex Jurassic Moderator

    You're very welcome!

    0

Please sign in to leave a comment.