Git Product home page Git Product logo

multi-cloud-mirror's People

Contributors

phumpal avatar

Watchers

James Cloos avatar

multi-cloud-mirror's Issues

Compatible

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

The script dies with "Cannot allocate memory" error on a relatively large S3 bucket

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.