Ubuntu - FTP - VSFTP - Limits in VsFtpd

vi /etc/vsftpd.conf

and add or modify as:

# Connection limit for each IP:
max_per_ip=2
 
# Maximum number of clients:
max_clients=20