Re: Performance bug: useless MDTM commands in ftp fetch mode

Dirk Pirschel <[email protected]> Sun, 17 Jul 2005 23:38:35 +0200
Newsgroups gmane.comp.web.sitecopy
Message-ID <[email protected]>
Hi Joe,

* Joe Orton wrote on Sun, 17 Jul 2005 at 21:26 +0100:
> On Sat, Jul 16, 2005 at 05:28:31PM +0200, Dirk Pirschel wrote:
> 
> > In FTP fetch mode, sitecopy fetches the modtime for each file, even if
> > the file is excluded.
> > 
> > On one of my websites, i have a excluded mailinglist archive with
> > thousands of files.  sitecopy sends thousands of useless MDTM commands,
> > which takes several minutes over a 56K modem connection...  Can you fix
> > this?
> 
> What version of sitecopy?  The MDTM commands should only be issued if 
> you use safe mode for the site.

Yes, i am using safe mode.  We are two webmasters at this site, so that
safe mode is mandatory.

I have tested an old sitecopy 0.11.4, but if i understand the source
code, this should also happen with version 0.15.1.

The best performance would be: Fetch the directory listing via ls -laR,
remove files which are excluded, and perform MDTM commands only on the
remaining files.  sitecopy currently performs MDTM commands on every
(possibly excluded) file, and excludes the files later... :-(

Regards,
-Dirk

-- 
Close the windows - the penguin is freezing

_______________________________________________
sitecopy maillist  -  [email protected]
http://dav.lyra.org/mailman/listinfo/sitecopy
signature.asc (application/pgp-signature, 232 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQFC2s/bxJ5Dfiog8/YRAi7lAJ4gaDoWb/YvT3ZbHN0VtYP5LekKOgCfXXXX
jYp5mqA4ozIHxnBbpYf2Ulc=
=TNhB
-----END PGP SIGNATURE-----