[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] FTP Failure on DreamHost
From: |
Jay Summet |
Subject: |
Re: [Duplicity-talk] FTP Failure on DreamHost |
Date: |
Sun, 20 May 2007 07:18:59 -0400 |
User-agent: |
Thunderbird 1.5.0.10 (X11/20070305) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dreamhost has a process killer that will kill user process (such as an FTP or
SCP backend server) when that user ID is taking up too much CPU time on the box.
If you have a PHP heavy website (such as a gallery or wordpress install) running
under the same username as your backup, the two together may trigger this.
One way to get around that (Dreamhost specific) is to create a second username
(username_backup) for your scp/ftp backups, and only use it for backups. (The
other solution is to only host static websites...)
This solved many of my connection drop problems with dreamhost.
Jay
Steve Sloan wrote:
> When trying to backup to DreamHost via FTP, I keep getting:
>
> File "/usr/bin/duplicity", line 373, in ?
> if __name__ == "__main__": main()
> File "/usr/bin/duplicity", line 349, in main
> globals.archive_dir).set_values()
> File "/usr/lib/python2.4/site-packages/duplicity/collections.py", line
> 406, in set_values
> backend_filename_list = self.backend.list()
> File "/usr/lib/python2.4/site-packages/duplicity/backends.py", line
> 373, in list
> try: return self.error_wrap('nlst')
> File "/usr/lib/python2.4/site-packages/duplicity/backends.py", line
> 343, in error_wrap
> except ftplib.all_errors, e: raise BackendException(e)
> duplicity.backends.BackendException: 226 Transfer complete.
>
> Why is a successful result code generating an exception? Is this an
> ftplib bug or a duplicity bug? And why is it only DH? Any ideas?
>
> Thanks ...
>
> -- Steve
>
>
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iQCVAwUBRlAuo7WkkhmZq4xxAQJINwP5AZ3TuSNxupGOWJnsftebXUL2xgbWklcI
Bt0bhHvsW2BYxv1UNhekTFuYXSomw1grvMWvxxXe1EMz/r1p2hJArHc9Sod5W1SF
4/YCsoBwaTq3EbAnFW449P/VQTO3OB67g2p0rap2AInY9CNVIx6nOZ3O4lwxVmnw
2Pvmqm+UhQw=
=zFeI
-----END PGP SIGNATURE-----