phumpal / multi-cloud-mirror Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/multi-cloud-mirror
Automatically exported from code.google.com/p/multi-cloud-mirror
Not sure if anyone reads this, but this is compatible with the current latest
versions of boto and python-cloudfiles
easy_install python-cloudfiles==1.7.10
easy_install boto==2.5.2
For use on rightscale, you must clone the server template, download a new
Multi-CloudImage (I'm using Ubuntu 10.04 EBS.) and add that as the default
image in your cloned server template.
Original issue reported on code.google.com by [email protected]
on 24 Aug 2012 at 12:53
What steps will reproduce the problem?
1. Start the sync on a relatively large bucket (in my case that was about 10
million files)
2. After some time, the script simply dies:
ubuntu@ip-10-86-150-235:~/bin$ PYTHONUNBUFFERED=1
./2011-10-14-multi_cloud_mirror.py --debug 1 's3://mybucket->cf://mybucket' >
/mnt/tmp/s3-to-cf.log
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 504, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python2.7/multiprocessing/pool.py", line 302, in _handle_workers
pool._maintain_pool()
File "/usr/lib/python2.7/multiprocessing/pool.py", line 206, in _maintain_pool
self._repopulate_pool()
File "/usr/lib/python2.7/multiprocessing/pool.py", line 199, in _repopulate_pool
w.start()
File "/usr/lib/python2.7/multiprocessing/process.py", line 130, in start
self._popen = Popen(self)
File "/usr/lib/python2.7/multiprocessing/forking.py", line 120, in __init__
self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory
It works fine on smaller buckets.
Apparently the script tries to built the complete sync scenario before actually
doing anything - not really how a sync tool should work.
Original issue reported on code.google.com by [email protected]
on 23 Aug 2012 at 5:48
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.