ispCP - Board - Support
proftpd slow when transfering many small files - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: proftpd slow when transfering many small files (/thread-7744.html)



proftpd slow when transfering many small files - lucasgirod - 09-03-2009 05:56 PM

I know there are already many posts on proftpd - but i haven't found the solution to my problem.

My problem is the following: Transfering lots of small files takes extremely long.

I'm on Ubuntu Jaunty (9.04) with the current ispcp trunk installed and ProFTPD 1.3.1. I reinstalled the entire system (including Ubuntu) but the problem stays.
My configuration is quite ispcp-default.

My "investigation" of the problem lead me to the following things:
  • -default ispcp proftpd configuration loads mod_radius.c and mod_quotatab_radius.c in modules.conf => why?
  • -according to proftpd -n -d5 every STOR-command is sent to the following modules of which I don't understand why:
    -mod_tls
    -mod_sql
running these modules takes time for every file - no?

I also set DelayEngine to off - didn't help.

Just to make sure the problems are proftpd-related i installed pureftpd and the problem was gone.. but I want to stay with the "default" ispcp configuration.

Copyinging files with SCP takes 15 Mins - copying them with proftpd more than 1 day...

Any ideas?


RE: proftpd slow when transfering many small files - gOOvER - 09-03-2009 06:41 PM

On Debian i havn't any Problem. About 7000 files takes 15 min's


RE: proftpd slow when transfering many small files - kilburn - 09-03-2009 10:57 PM

Which client are you using? I suspect that it opens one connection per file or something like this, extremely slowing things downs. Try downloading with filezilla with a "10" max connections setting for example, it should be much faster.