PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Langsamer ProFTPd



dackel
14.06.04, 01:14
Hi

Ich habe hier eben versucht einen Proftpd 1.2.10_rc1 aufzusetzen ... er funktioniert im Prinzip auch, nur ist er extrem langsam. Man kann sich schnell einloggen. Ein "get $file" geht auch schnell, aber bei "ls", bzw. "dir" wartet man teils 5 Sekunden. Auch startet der Daemon extrem langsam. Es dauert ca. 20 Sekunden (wobei ich hier natürlich nicht weiß, ob das nicht eventuell normal ist).
Wie die Geschwindigkeit im Internet ist, weiß ich nicht, da ich nur die Möglichkeit hatte, ihn im lokalen Netz zu testen.
Ein früher laufender "oftpd" spuckte den Verzeichnisinhalt immer sehr schnell aus.

Hier die proftpd.conf:


# 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 "HomeServer"
ServerType standalone
DefaultServer on

########### LOGGINOPTIONS ################


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"

ExtendedLog /var/log/proftpd.access_log WRITE,READ write

ExtendedLog /var/log/proftpd.auth_log AUTH auth

ExtendedLog /var/log/proftpd.paranoid_log ALL default


##############################################

# Port 21 is the standard FTP port.
Port 21

RequireValidShell off
RootLogin off



# 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 under which the server will run.
User ftp
Group ftp

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~

# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>

# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous /home/ftp>
AnonRequirePassword off
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp

# Limit the maximum number of anonymous logins
MaxClients 30

# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin /etc/proftpd/login.msg
DisplayFirstChdir .message

# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>

Es ist eine nur leicht veränderte basic.conf von proftpd.org.

Hat jemand eine Idee, woran das liegen könnte?


mfg
Dackel

dackel
14.06.04, 14:49
hmm da war sie mal wieder ... meine Dummheit.
Der Hostname war nicht in /etc/hosts eingetragen, nun geht alles wunderbar