ProFTPD uploadrate extrem langsam
Posted: 2006-08-04 09:43
Hi,
Wie ich immer wieder feststellen musste ist das das Uploaden extrem lange daert. IUch habe teilweise nur 2,5 kb/sec.
Damals mit vsftpd hatte ich nie das Problem.
So brauche ich für 1 MB Upload teils 15 Minuten mit Proftpd und das kann es ja nicht sein.
Hier meine proftpd.conf
Woran kann das liegen das ich nur manchmal 2,5 kb/sec habe und dann mal wieder 30 kb/sec.?
Die Anbindung ist ok und wie gesagt mit vsftpd hatte ich nie das Problem gehabt. Hab ProFTPD genommen wegen der Quota unterstützung.
Hatte jemand schon solch ähnliche Probleme?
edit:
habe gerade wieder den vsftpd an und da rast der upload nur so.
Ich hoffe mir kann da jemand helfen in sachen proftpd.
Wie ich immer wieder feststellen musste ist das das Uploaden extrem lange daert. IUch habe teilweise nur 2,5 kb/sec.
Damals mit vsftpd hatte ich nie das Problem.
So brauche ich für 1 MB Upload teils 15 Minuten mit Proftpd und das kann es ja nicht sein.
Hier meine proftpd.conf
Code: Select all
ServerName "SERVERNAME"
ServerType standalone
ServerAdmin admin@meinedomain.tld
ServerIdent on "ftp.meinserver.de"
DeferWelcome on
DefaultServer on
ServerType inetd
Port 21
Umask 022
User nobody
Group nogroup
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
#
# FXP Unterstuetzung
#
AllowForeignAddress on
# Maximal Werte setzen
MaxClientsPerHost 2 "Nicht mehr als %m Verbindungen"
MaxClients 8 "Leider sind schon %m Clients verbunden"
MaxLoginAttempts 3
MaxInstances 30
#
# Restart erlauben
#
AllowStoreRestart on
AllowRetrieveRestart on
#
# Jail all users into their virtual home dir
#
DefaultRoot ~
RequireValidShell off
#
# Logging options
#
TransferLog /var/log/proftpd.xferlog
# Some logging formats
#
LogFormat default "%h %l %u %t "%r" %s %b"
LogFormat auth "%v [%P] %h %t "%r" %s"
LogFormat write "%h %l %u %t "%r" %s %b"
# Log file/dir access
ExtendedLog /var/log/proftpd.access_log WRITE,READ write
# Record all logins
ExtendedLog /var/log/proftpd.auth_log AUTH auth
# Paranoia logging level....
ExtendedLog /var/log/proftpd.paranoid_log ALL default
SQLAuthTypes Plaintext
SQLAuthenticate users
SQLConnectInfo proftpd@localhost proftpd micha1
SQLDefaultGID 65534
SQLDefaultUID 65534
SQLMinUserGID 100
SQLMinUserUID 100
SQLUserInfo ftp username password uid gid homedir shell
#
# aktive SQL Kommandos, ab hier passiert etwas :-)
#
SQLLog PASS counter
SQLNamedQuery counter UPDATE "letzter_zugriff=now(), count=count+1 WHERE username='%u'" users
# xfer Log in mysql
SQLLog RETR,STOR transfer1
SQLNamedQuery transfer1 INSERT "'%u', '%f', '%b', '%h', '%a', '%m','%T',now(), 'c', NULL" xfer_stat
SQLLOG ERR_RETR,ERR_STOR transfer2
SQLNamedQuery transfer2 INSERT "'%u', '%f', '%b', '%h', '%a', '%m','%T',now(), 'i', NULL" xfer_stat
#
# mod_quota tab
#
QuotaEngine on
QuotaShowQuotas on
QuotaLimitTable sql:/get-quota-limit
QuotaTallyTable sql:/get-quota-tally/update-quota-tally/insert-quota-tally
SQLNamedQuery get-quota-limit SELECT "name, quota_type,per_session,limit_type, bytes_in_avail, bytes_out_avail,bytes_xfer_avail, files_in_avail, files_out_a
SQLNamedQuery get-quota-tally SELECT "name, quota_type, bytes_in_used,bytes_out_used, bytes_xfer_used, files_in_used, files_out_used,files_xfer_used FROM qu
SQLNamedQuery update-quota-tally UPDATE "bytes_in_used = bytes_in_used + %{0}, bytes_out_used = bytes_out_used + %{1}, bytes_xfer_used = bytes_xfer_used + %
SQLNamedQuery insert-quota-tally INSERT "%{0}, %{1}, %{2}, %{3}, %{4},%{5}, %{6}, %{7}" quotatallies
Die Anbindung ist ok und wie gesagt mit vsftpd hatte ich nie das Problem gehabt. Hab ProFTPD genommen wegen der Quota unterstützung.
Hatte jemand schon solch ähnliche Probleme?
edit:
habe gerade wieder den vsftpd an und da rast der upload nur so.
Ich hoffe mir kann da jemand helfen in sachen proftpd.