Current time: 11-15-2024, 06:52 PM Hello There, Guest! (LoginRegister)


Post Reply 
proftpd slow when transfering many small files
Author Message
lucasgirod Offline


Posts: 2
Joined: Jul 2009
Reputation: 0
Post: #1
Sad proftpd slow when transfering many small files
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?


Attached File(s)
.txt  proftd.log.txt (Size: 60.5 KB / Downloads: 3)
.txt  proftpd.conf.txt (Size: 7.85 KB / Downloads: 3)
.txt  modules.conf.txt (Size: 1.42 KB / Downloads: 2)
09-03-2009 05:56 PM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #2
RE: proftpd slow when transfering many small files
On Debian i havn't any Problem. About 7000 files takes 15 min's
09-03-2009 06:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #3
RE: proftpd slow when transfering many small files
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.
09-03-2009 10:57 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)