Ciao
Sto ammattendo.
Sono alcuni giorni che mi lamento che MandrivaUpdate è lento invece ho scoperto che la colpa non è sua ma bensi del server FTP proftp che mi accetta un operazione ogni 10 secondi.
Non riesco proprio a capire cosa possa causare un problema del genere ecco un tipico Log del trasferimento di alcuni piccoli files via FTP.
<br />Sat Jun 24 09:16:25 2006 0 192.168.7.99 4357 /home/public/scambio/Linux/Thacs2006.0/libhspell0-devel-0.9-4.mdk2006.0.mde.i586.rpm b _ o a aaaa@bbbb.it ftp 1 * c<br />Sat Jun 24 09:16:35 2006 0 192.168.7.99 3755 /home/public/scambio/Linux/Thacs2006.0/gnbd-devel-2.6.10-5.mdk2006.0.mde.i586.rpm b _ o a aaaa@bbbb.it ftp 1 * c<br />Sat Jun 24 09:16:45 2006 0 192.168.7.99 3444 /home/public/scambio/Linux/Thacs2006.0/libresmgr1-devel-1.0-5.mdk2006.0.mde.i586.rpm b _ o a aaaa@bbbb.it ftp 1 * c<br />Sat Jun 24 09:16:55 2006 0 192.168.7.99 3039 /home/public/scambio/Linux/Thacs2006.0/libfluidsynth-dssi0-devel-0.9.1-0.1.20060mde.i586.rpm b _ o a aaaa@bbbb.it ftp 1 * c<br />Sat Jun 24 09:17:05 2006 0 192.168.7.99 3005 /home/public/scambio/Linux/Thacs2006.0/libtcltls1.5-devel-1.5-1.mdk2006.0.mde.i586.rpm b _ o a aaaa@bbbb.it ftp 1 * c<br />Sat Jun 24 09:17:15 2006 0 192.168.7.99 2593 /home/public/scambio/Linux/Thacs2006.0/libk3bmonkeyaudioplugin0-devel-3.0-2.mdk2006.0.mde.i586.rpm b _ o a aaaa@bbbb.it ftp 1 * c<br />
Come si può notare il trasferimento dei file parte esattamente ogno 10Sec la dimensione dei file ha poca importanza.
Ho trasferito file enormi a 11MB/Sec per cui quando parte il trasferimento non ci sono problemi di transfer rate.
Il mio proftp.conf è banalmente:<br /># This is a basic ProFTPD configuration file (rename it to<br /># 'proftpd.conf' for actual use. It establishes a single server<br /># and a single anonymous login. It assumes that you have a user/group<br /># "nobody" and "ftp" for normal operation and anon.<br /><br />ServerName "ProFTPD Default Installation"<br />ServerType standalone<br />DefaultServer on<br />TransferLog /var/log/proftpd/proftpd.log<br /><br /># Allow FTP resuming.<br /># Remember to set to off if you have an incoming ftp for upload.<br />AllowStoreRestart on<br /><br /># Port 21 is the standard FTP port.<br />Port 21<br /><br /># Umask 022 is a good standard umask to prevent new dirs and files<br /># from being group and world writable.<br />Umask 022<br /><br /># To prevent DoS attacks, set the maximum number of child processes<br /># to 30. If you need to allow more than 30 concurrent connections<br /># at once, simply increase this value. Note that this ONLY works<br /># in standalone mode, in inetd mode you should use an inetd server<br /># that allows you to limit maximum number of processes per service<br /># (such as xinetd).<br />MaxInstances 30<br /><br /># Set the user and group under which the server will run.<br />User nobody<br />Group nogroup<br /><br /># To cause every FTP user to be "jailed" (chrooted) into their home<br /># directory, uncomment this line.<br />#DefaultRoot ~<br /><br /># Normally, we want files to be overwriteable.<br />AllowOverwrite on<br /><br /># Bar use of SITE CHMOD by default<br /><Limit SITE_CHMOD><br /> DenyAll<br /></Limit><br /><br /># Needed for NIS.<br /><br />PersistentPasswd off<br /><br /># Default root can be used to put users in a chroot environment.<br /># As an example if you have a user foo and you want to put foo in /home/foo<br /># chroot environment you would do this:<br />#<br /># DefaultRoot /home/foo foo<br />DefaultRoot /home/public<br /><br /><br /><Anonymous /home/public><br /> User ftp<br /> Group ftp<br /> UserAlias anonymous ftp<br /> MaxClients 10<br /> RequireValidShell no<br /> AnonRequirePassword off<br /> AccessGrantMsg "Welcome to my FTP Server!"<br /><br /> <Limit WRITE><br /> Deny from all<br /> </Limit><br /><br /> </Anonymous><br />
C'è qualcuno che ha qualche idea ??
Ciao Ciao Moreno
Ciao
Ho capito che non è colpa di ProFTP ma bensi di qualche stupida tabella di resolv/route/ etc.
Io ho internet su eth2 e la rete locale su eth0, se fermo eth2 funziona tutto a meraviglia, appena riavvio eth2 va tutto in crisi.
Ora vedro di capire che cavolo succede.
Ciao Ciao Moreno
Addio, e grazie per tutto il pesce.
Avatar by moonlight-dream.