Verzeichnis und FTP sehr langsam!
Verzeichnis und FTP sehr langsam!
Servus,
Ich mußte feststellen das mein FTP (ProFTP unter Debian) sehr langsam ist.
Ich besitze 2 Server im gleichen Rechenzentrum und der alte läuft wie eine Bine, aber der neue macht Probleme. Es kann doch nicht sein, das ich für eine php-Datei 3 min brauche zum hochladen.
Wer kennt das Problem und hat eine Lösung für mich?
Besten Dank
Ich mußte feststellen das mein FTP (ProFTP unter Debian) sehr langsam ist.
Ich besitze 2 Server im gleichen Rechenzentrum und der alte läuft wie eine Bine, aber der neue macht Probleme. Es kann doch nicht sein, das ich für eine php-Datei 3 min brauche zum hochladen.
Wer kennt das Problem und hat eine Lösung für mich?
Besten Dank
Re: Verzeichnis und FTP sehr langsam!
Package verwendet oder selbst compiled?
Re: Verzeichnis und FTP sehr langsam!
Ich habe zusätzlich VHCS2 auf dem Server zu laufen und als Package installiert mit apt-get...
Re: Verzeichnis und FTP sehr langsam!
gleiche Konfiguration?
Schon mal von anderem Rechner versucht bzw. von einem Server zum anderen über FTP? In den Logs steht nichts?
Schon mal von anderem Rechner versucht bzw. von einem Server zum anderen über FTP? In den Logs steht nichts?
Re: Verzeichnis und FTP sehr langsam!
Also in den Logs steht nicht, da es ja auch soweit geht, das Verzeichnis einlesen dauert immer lange. Wenn ich per SSH drauf bin läuft es normal.
Ich habe schon alles versucht und auch verglichen, kann aber kein Unterschied zwischen den Proftp finden.
Noch Tips?
Ich habe schon alles versucht und auch verglichen, kann aber kein Unterschied zwischen den Proftp finden.
Noch Tips?
Re: Verzeichnis und FTP sehr langsam!
dann lass mal den proftp gesprächiger werden:
Also von anderen Zugängen/anderen Rechner/mit anderen FTP-Clients hast du jetzt auch den FTP-Zugriff getestet und hattest das gleiche Problem?
Poste mal deine Konfig-File.
Code: Select all
ExtendedLog /var/log/ftp_paranoid.log ALL defaultPoste mal deine Konfig-File.
Re: Verzeichnis und FTP sehr langsam!
hier meine conf:
Code: Select all
#
# VHCS proftpd config file
#
#
ServerName "kdserver.net"
ServerType standalone
DeferWelcome off
ShowSymlinks on
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
AllowOverwrite on
LogFormat traff "%b %u"
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayFirstChdir .message
#LsDefaultOptions "-l"
DenyFilter *.*/
DefaultRoot ~
# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd off
# Port 21 is the standard FTP port.
Port 21
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30
# Set the user and group that the server normally runs at.
User nobody
Group nogroup
# Normally, we want files to be overwriteable.
<Directory /*>
# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 022 022
AllowOverwrite on
HideNoAccess on
</Directory>
<Limit ALL>
IgnoreHidden on
</Limit>
<Global>
TransferLog /var/log/xferlog
ExtendedLog /var/log/ftp_traff.log read,write traff
PathDenyFilter ".quota$"
</Global>
<IfModule mod_delay.c>
DelayEngine off
</IfModule>
#
# VHCS2 Managment;
#
SQLAuthTypes Crypt
SQLAuthenticate on
SQLConnectInfo vhcs2@localhost vftp passwort
SQLUserInfo ftp_users userid passwd uid gid homedir shell
SQLGroupInfo ftp_group groupname gid members
SQLMinID 2000
#
# VHCS2 Quota management;
#
QuotaEngine on
QuotaShowQuotas on
QuotaDisplayUnits Mb
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_avail, files_xfer_avail FROM quotalimits WHERE name = '%{0}' AND quota_type = '%{1}'"
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 quotatallies WHERE name = '%{0}' AND quota_type = '%{1}'"
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 + %{2}, files_in_used = files_in_used + %{3}, files_out_used = files_out_used + %{4}, files_xfer_used = files_xfer_used + %{5} WHERE name = '%{6}' AND quota_type = '%{7}'" quotatallies
SQLNamedQuery insert-quota-tally INSERT "%{0}, %{1}, %{2}, %{3}, %{4}, %{5}, %{6}, %{7}" quotatallies
QuotaLock /var/run/proftpd/tally.lock
QuotaLimitTable sql:/get-quota-limit
QuotaTallyTable sql:/get-quota-tally/update-quota-tally/insert-quota-tally
-
der kleine tux
- Posts: 97
- Joined: 2005-10-29 04:12
- Location: Planet Erde
Re: Verzeichnis und FTP sehr langsam!
IdentLookups off
UseReverseDNS off
dann einen restart
gruss
UseReverseDNS off
dann einen restart
gruss
Re: Verzeichnis und FTP sehr langsam!
Hey, klasse für den Tip!
Nun klappt es super schnell und ich kann nun endlich alles schneller hochladen...
Besten Dank
Nun klappt es super schnell und ich kann nun endlich alles schneller hochladen...
Besten Dank
Re: Verzeichnis und FTP sehr langsam!
Genau das gleiche wollte ich auch machen, wenn ich mir
aber die proftpd vom server ziehe sieht sie wie folgt aus:
ist das überhaupt die richtige datei? scheint mir nicht so,
wenn nicht, wo finde ich dann die korrekte?
und selbst wenn, wo ändert man
IdentLookups off
UseReverseDNS off
das sehe ich im vorangegangen config-file auch nicht...!
komisch?
extrano
aber die proftpd vom server ziehe sieht sie wie folgt aus:
Code: Select all
#### CONFIXX PRO-FTPD CONFIG FILE ####
#### created at Sat Sep 30 13:21:43 2006 ###
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName xxx.vserver.de
ServerType inetd
DefaultServer on
ServerAdmin technik@xxx.vserver.de
ServerIdent on "FTP Server ready."
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30
# Set the user and group that the server normally runs at.
User nobody
Group nobody
TransferLog /var/log/xferlog
# Normally, we want files to be overwriteable.
AllowOverwrite on
#
# Do a chroot for web-users (i.e. public or www group), but
# do not change root if the user is also in the users group...
#
#DefaultRoot ~/public_html public,!users
#
DefaultRoot ~
# Groups that are not allowed to login
<Limit LOGIN>
DenyGroup poponly
</Limit>
### ENDE ####
wenn nicht, wo finde ich dann die korrekte?
und selbst wenn, wo ändert man
IdentLookups off
UseReverseDNS off
das sehe ich im vorangegangen config-file auch nicht...!
komisch?
extrano
Last edited by extrano on 2007-01-17 19:28, edited 1 time in total.
-
der kleine tux
- Posts: 97
- Joined: 2005-10-29 04:12
- Location: Planet Erde
Re: Verzeichnis und FTP sehr langsam!
doch ist die richtige ! eintragen zb mit nano vi was einem da gerade besser zusagt
wegen meiner auch
echo "IdentLookups off" >> /etc/proftpd.conf
echo "UseReverseDNS off " >> /etc/proftpd.conf
/etc/init.d/proftpd restart
wegen meiner auch
echo "IdentLookups off" >> /etc/proftpd.conf
echo "UseReverseDNS off " >> /etc/proftpd.conf
/etc/init.d/proftpd restart
Re: Verzeichnis und FTP sehr langsam!
hi, nun meine antwort kommt ein bischen spät
aber die sache ist wie folgt:
habe den kompletten server rebooted, passieren tut leider immer noch nix!
was mache ich falsch?
extrano
aber die sache ist wie folgt:
Code: Select all
#### CONFIXX PRO-FTPD CONFIG FILE ####
#### created at Sat Sep 30 13:21:43 2006 ###
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName xxx.vserver.de
ServerType inetd
DefaultServer on
ServerAdmin technik@xxx.vserver.de
ServerIdent on "FTP Server ready."
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30
# Set the user and group that the server normally runs at.
User nobody
Group nobody
TransferLog /var/log/xferlog
# Normally, we want files to be overwriteable.
AllowOverwrite on
#
# Do a chroot for web-users (i.e. public or www group), but
# do not change root if the user is also in the users group...
#
#DefaultRoot ~/public_html public,!users
#
DefaultRoot ~
# Groups that are not allowed to login
<Limit LOGIN>
DenyGroup poponly
</Limit>
IdentLookups off
UseReverseDNS off
### ENDE ####
was mache ich falsch?
extrano
Re: Verzeichnis und FTP sehr langsam!
Das Problem ist der Router bei mir.
Musste Port 113 noch freischalten, dann klappts!!!
extrano
Musste Port 113 noch freischalten, dann klappts!!!
extrano