FTP Error Encountered: 421.
Environment
- Red Hat Enterprise Linux 5 or 6
Issue
- Occasionally the following error is observed in
var/log/messageson the FTP server:
FTP Error Encountered: 421.
Resolution
- Check the limit of the vsftpd service:
# grep processes /proc/$(pidof vsftpd)/limits
Max processes 1024 967610 processes
- Manually increase the maximum number of processes limit for the vsftpd process.
- Edit
/etc/rc.d/init.d/vsftpdand add the following 2 lines, around line 31 :
start() {
# ulimit increase
ulimit -u 10000
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
