www.ProFTPD.de

ProFTPD => ProFTPD - Deutsch => Thema gestartet von: StefanW am 07. November 2003, 18:38:46



Titel: schneller Upload, laangsamer Download
Beitrag von: StefanW am 07. November 2003, 18:38:46
hallo proftpd´ler!

unser externer FTP-Server (v1.2.9, default Server off, ein VH mit Port 21) hat das Problem daß ein Upload mit 1,5 Mbit/s geht - der Download aber nur mit 150 kbit/s.

betreff Ratios/Transferrate ist nichts konfiguriert, ident/reversedns ist off.

als interner FTP-Client rede ich über eine NAT-Adresse mit dem FTP-Server, die IP-Adresse ist im öffentl. DNS eingetragen und passt zum
Namen des VH.

den Proftpd habe ich kompiliert, allerdings nur mit dem Modul mod_radius:
./configure --prefix=/opt/proftpd_129 --with-modules=mod_radius

hat jemand eine Idee?

bye
,
Stefan


Titel: Re: schneller Upload, laangsamer Download
Beitrag von: Wörsty am 07. November 2003, 19:10:57
Zitat von: "StefanW"
hat jemand eine Idee?

Nicht wirklich.
Aber bau doch mal eine TransferRate-Direktive für RETR ein.
Vielleicht hilft's?

Und hier http://www.proftpd.de/forum2/viewtopic.php?t=455


Titel: Re: schneller Upload, laangsamer Download
Beitrag von: stonki am 10. November 2003, 08:14:46
Zitat von: "StefanW"


unser externer FTP-Server (v1.2.9, default Server off, ein VH mit Port 21) hat das Problem daß ein Upload mit 1,5 Mbit/s geht - der Download aber nur mit 150 kbit/s.


aus: http://castaglia.proftpd.de/doc/contrib/ProFTPD-mini-HOWTO-BCP.html

Finally, there are some configure options that can be used to tune your proftpd daemon. All of the --enable-tunable options are available; of particular interest are --enable-tunable-buffer-size and --enable-sendfile. Use of the sendfile(2) function (via the latter configure option) may or may not increase download speeds, but it will reduce disk I/O: sendfile(2) implements zero-copy transfers, meaning that the kernel will read data directly from the file into the socket, all in kernel space; normal read() transfers spend time copying buffers from kernel space to application space (reading the file), and then back to kernel space (writing to the socket). By increasing the buffer size using the --enable-tunable-buffer-size option, proftpd reads and writes data in larger chunks, and makes fewer expensive system calls. Use of this option to set buffer sizes of 8K or more has been reported to drastically increase transfer speeds (depending on network configurations).


cu
stonki


Titel: Problem gelöst
Beitrag von: StefanW am 21. November 2003, 13:17:48
das Problem war daß der Switchport auf 100/FD eingestellt war, sobald dies auf auto/auto steht ist der Transfer OK.

die Hardware ist ein HP DL360G3 mit RH8.0

danke für die Mithilfe!

,
Stefan


Titel: Re: Problem gelöst
Beitrag von: stonki am 21. November 2003, 17:45:48
Zitat von: "StefanW"
das Problem war daß der Switchport auf 100/FD eingestellt war, sobald dies auf auto/auto steht ist der Transfer OK.

die Hardware ist ein HP DL360G3 mit RH8.0

danke für die Mithilfe!

,
Stefan


Interessant ! Danke fuer die Loesung...

cu
stonki


Titel: schneller Upload, laangsamer Download
Beitrag von: Wörsty am 25. November 2003, 13:52:29
Das ist ja die gleiche Scheiße wie bei IP-Phones :roll:
Dieses Scheiß Autonegotiation/HalfDuplex/FullDuplex Geraffel nervt :evil: