vsftpd listing directories with many files fails

When trying to list directories with many files, vsftpd responds with

229 Entering Extended Passive Mode (|||40198|)
150 Here comes the directory listing.
500 OOPS: 421 Service not available, remote server has closed connection.

Same for trying to change to such directories.
vsftpd version 3.0.3-10.2 (current according to zypper).
/etc/vsftpd.conf has not been changed for at least a year.

Problem occurs with Filezilla client, ftp from other client, ftp on server itself (via localhost).

I found https://bugzilla.redhat.com/show_bug.cgi?id=1351458 which describes the same problem, but my vsftpd version seems to be newer. Regression again?

By playing with the number of files in a directory I established that the maximum number of items in a directory for vsftpd to open/list the directory is 31. That is uncannily close to the above bug report.

Question is, how to I solve this??

Hang on that bug report or create a new one.
It seems you have investigated enough to prove your case.

I don’t think that hanging on to a closed and solved bug report in Red Hat Bugzilla is a good idea.
Any tips on how to create an openSUSE Tumbleweed bug report?

I found out myself :slight_smile:

Yes, go here: https://bugzilla.opensuse.org/index.cgi
Same credentials as on the forum.