www.ProFTPD.de
13. März 2007, 20:47:04 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
News: SMF - Neu installiert!
 
   Übersicht   Hilfe Suche Login Registrieren  
Seiten: [1]   Nach unten
  Drucken  
Autor Thema: LIST befehl dauer ca 5s  (Gelesen 205 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
GreenRover
ProFTPD
*
Offline Offline

Beiträge: 15

224408346
Profil anzeigen
« am: 02. April 2005, 12:40:23 »

der LIST befehl dauert imemr 3-5 sec WISO??

Aber der dir befehl auf der konsole dauer nur ms also ist davon aus zu gehen das die festplatte funktionier.


debuglog:
Code:

LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching POST_CMD command 'PWD' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'PWD' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'PWD' to mod_log
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'TYPE A' to mod_tls
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'TYPE A' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'TYPE A' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching CMD command 'TYPE A' to mod_xfer
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching POST_CMD command 'TYPE A' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'TYPE A' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'TYPE A' to mod_log
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'PASV' to mod_tls
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'PASV' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'PASV' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching CMD command 'PASV' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - in dir_check_full(): path = '/bla/test/rufjgf', fullpath = '/www/htdocs/vhost/www/bla/test/rufjgf'.
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - Entering Passive Mode (192,168,254,232,128,83).
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching POST_CMD command 'PASV' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'PASV' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'PASV' to mod_log
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'LIST' to mod_tls
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'LIST' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'LIST' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching CMD command 'LIST' to mod_ls



bis zur vorletzten zeile geht alles fix aber die letzte lässt halt 3-5sec auf sich warten.


paranoid log:
Code:
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching POST_CMD command 'PWD' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'PWD' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'PWD' to mod_log
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'TYPE A' to mod_tls
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'TYPE A' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'TYPE A' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching CMD command 'TYPE A' to mod_xfer
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching POST_CMD command 'TYPE A' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'TYPE A' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'TYPE A' to mod_log
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'PASV' to mod_tls
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'PASV' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'PASV' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching CMD command 'PASV' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - in dir_check_full(): path = '/bla/test/rufjgf', fullpath = '/www/htdocs/vhost/www/bla/test/rufjgf'.
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - Entering Passive Mode (192,168,254,232,128,83).
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching POST_CMD command 'PASV' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'PASV' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'PASV' to mod_log
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'LIST' to mod_tls
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'LIST' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'LIST' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching CMD command 'LIST' to mod_ls



config:
Code:
ServerName "LAMPP-FTP-Server"
ServerType standalone
DefaultServer on

# 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 002

# 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 www
Group www-data

# only for the web servers content
DefaultRoot ~

# nobody is no normal user so we have to allow users with no real shell
RequireValidShell off

# nobody may be in /etc/ftpusers so we also have to ignore this file
UseFtpUsers off

LogFormat default "%h %l %u %t \"%r\" %s %b %D %m"
ExtendedLog /opt/lampp/logs/proftpd.paranoid_log ALL default
SQLLogFile /opt/lampp/logs/proftpd_mysql.log

RootLogin off

SQLAuthTypes            Plaintext
SQLAuthenticate         users*

SQLConnectInfo  projekt@localhost ftpserver ftpserver
SQLUserInfo     users username password "NULL" "NULL" Directory "NULL"

SQLDefaultUID   1002
SQLDefaultGID   33

# create a user's home directory on demand if it doesn't exist
SQLHomedirOnDemand on

# Update count every time user logs in
# SQLLog PASS updatecount
# SQLNamedQuery updatecount UPDATE "count=count+1, accessed=now() WHERE userid='%u'" ftpuser

# SQLLog RETR,STOR,ERR_RETR,ERR_STOR transfer
SQLLog RETR,SITE,DELE,STOR,MKD,RMD transfer
SQLNamedQuery transfer INSERT "'%h', '%u', '%D', now(), '%r', %b" `ftp-transferlog`



protokoll des ftp-clients:
Code:
Connecting to 192.168.254.232, Port 21 (#1)
Connected.  Waiting for response.
220 ProFTPD 1.2.10 Server (LAMPP-FTP-Server) [192.168.254.232]
USER cdrom
331 Password required for cdrom.
PASS xxxxxx
230 User cdrom logged in.
SYST
215 UNIX Type: L8
REST 100
350 Restarting at 100. Send STORE or RETRIEVE to initiate transfer
REST 0
350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
PWD
257 "/" is current directory.
TYPE A
200 Type set to A
PASV
227 Entering Passive Mode (192,168,254,232,128,7).
LIST
150 Opening ASCII mode data connection for file list
226 Transfer complete.
Transfer done: 483 bytes in 10,025 secs (0,05 k/sec)
CWD /Welcome in Space
250 CWD command successful
PWD
257 "/Welcome in Space" is current directory.
TYPE A
200 Type set to A
PASV
227 Entering Passive Mode (192,168,254,232,128,8).
LIST
150 Opening ASCII mode data connection for file list
226 Transfer complete.
Transfer done: 750 bytes in 10,044 secs (0,07 k/sec)
TYPE I
200 Type set to I
PASV
227 Entering Passive Mode (192,168,254,232,128,9).
RETR 10-AudioTrack 10.mp3
150 Opening BINARY mode data connection for 10-AudioTrack 10.mp3 (6080640 bytes)
226 Transfer complete.
Transfer done: 6.080.640 bytes in 20,038 secs (303,46 k/sec)
TYPE I
200 Type set to I
PASV
227 Entering Passive Mode (192,168,254,232,128,10).
RETR 09-AudioTrack 09.mp3
150 Opening BINARY mode data connection for 09-AudioTrack 09.mp3 (6901888 bytes)
226 Transfer complete.
Transfer done: 6.901.888 bytes in 11,766 secs (586,60 k/sec)
TYPE I
200 Type set to I
PASV
227 Entering Passive Mode (192,168,254,232,128,11).
RETR 08-AudioTrack 08.mp3
150 Opening BINARY mode data connection for 08-AudioTrack 08.mp3 (6623360 bytes)
226 Transfer complete.
Transfer done: 6.623.360 bytes in 11,806 secs (561,02 k/sec)
TYPE I
200 Type set to I
PASV
227 Entering Passive Mode (192,168,254,232,128,12).
RETR 07-AudioTrack 07.mp3
150 Opening BINARY mode data connection for 07-AudioTrack 07.mp3 (6412416 bytes)
226 Transfer complete.
Transfer done: 6.412.416 bytes in 11,656 secs (550,14 k/sec)
TYPE I
200 Type set to I
PASV



wenn ich z.B. 12 RMD befehle habe. fürhrt er diese innerhalb von ms aus aber das LIST dauert ewig. WISO ??

Festplattenbenchmark:

LAMPP-Serverlein:/# time ls -alR --color=auto

real    0m30.755s
user    0m2.904s
sys     0m5.357s

das finde ich ganz gut für 20GB platte die halb voll ist.
Gespeichert

Seiten: [1]   Nach oben
  Drucken  
 
Gehe zu:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS
Seite erstellt in 0.055 Sekunden mit 15 Zugriffen.