Optimizing ProFTPD Login/Transfer Speed
I run ProFTPD on both of my development machines – one is a Mandrake Linux 10.1 box and one is Fedora Core 5. The FC5 machine was recently setup as I needed a devoted PHP5 development machine, but the ftp server was taking up to three seconds per directory to perform an action. I needed to transfer some client code and it took about ten minutes just scan through all of the directories – this was completely unaccpetable.
I was curious as to what the differences were between the two machines – one worked very quickly and one did not. After a bit of a searching I discovered a few tweaks that solved all of the problems:
Adding the following to the config file really sped up the login process:
IdentLookups off UseReverseDNS off
However, my directory listings were still running slowly. When I added:
AllowOverride off
To the global config file, it told ProFTPD to stop looking for an .ftpaccess file in every single directory.
Once I restarted the server, things were blazing along. All it took were a few minor changes to be back in business!
No related posts.