- Plesk for Linux
When listing a directory with more than 20000 files in it via FTP, it takes more than 2 minutes to complete.
ProFTPd version 1.3.6 is installed:
# proftpd -v
ProFTPD Version 1.3.6
High CPU usage 100% maybe observed on the server.
This is a ProFTPd bug 4360: Slow listing for a directory with 20000 files.
The issue is also registered as a Plesk bug with ID PPPM-9486, which will be fixed in one of the future product updates.
As a workaround, it's possible to downgrade ProFTPd as follows:
Download 1.3.5d package here:
# wget http://autoinstall.plesk.com/PSA_17.5.3/extras-rpm-CentOS-7-x86_64/opt/hosting/proftpd/psa-proftpd-1.3.5d-cos7.build1705170314.14.x86_64.rpm
Note: The versions in the example above, are Plesk 17.5 and CentOS 7. Select the version according to the specific needs on the affected server.
# yum downgrade psa-proftpd-1.3.5d-cos7.build1705170314.14.x86_64.rpm
Add ProFTPd to exclusions for upgrade: exclude=psa-proftpd-1.3.6* to /etc/yum.conf
Note: This won't cause any issues because 1.3.5d satisfies the requirements of dependencies