meskyanichi/backup — Issue #279: Too many open files on sync
Author: adaline
Created: 2012-02-21 12:50:33+00:00
State: open

I have been having an issue with 2.0.23
First off its 'no such file to load' (issue 271, which seems to have died a week ago), but i temporarily got around it by using the develop branch.
Now i get the 'Too many files open' error (see log below).
Can you please fix these, or suggest a way around as not having a working backup is very distressing!!!

'''
[2012/02/21 12:41:59][message] [transferring] catalog/medium/768.jpg
[2012/02/21 12:41:59][message] [transferring] catalog/medium/769.jpg
[2012/02/21 12:41:59][message] [transferring] catalog/medium/77.jpg
[2012/02/21 12:41:59][message] [transferring] catalog/medium/770.jpg
[2012/02/21 12:41:59][error] ModelError: Backup for Description for juicy (juicy) Failed!
[2012/02/21 12:41:59][error] An Error occured which has caused this Backup to abort before completion.
[2012/02/21 12:41:59][error] Reason: Errno::EMFILE
[2012/02/21 12:41:59][error] Too many open files - /home/jerry/Backup/log/backup.log
[2012/02/21 12:41:59][error]
[2012/02/21 12:41:59][error] Backtrace:
[2012/02/21 12:41:59][error] /home/jerry/backup/lib/backup/logger.rb:116:in `initialize'
[2012/02/21 12:41:59][error] /home/jerry/backup/lib/backup/logger.rb:116:in `open'
[2012/02/21 12:41:59][error] /home/jerry/backup/lib/backup/logger.rb:116:in `to_file'
[2012/02/21 12:41:59][error] /home/jerry/backup/lib/backup/logger.rb:13:in `message'
[2012/02/21 12:41:59][error] /home/jerry/backup/lib/backup/syncer/cloud.rb:152:in `block in sync_file'
[2012/02/21 12:41:59][error] :10:in `synchronize'
[2012/02/21 12:41:59][error] /home/jerry/backup/lib/backup/syncer/cloud.rb:152:in `sync_file'
[2012/02/21 12:41:59][error] /home/jerry/backup/lib/backup/syncer/cloud.rb:73:in `block in sync!'
[2012/02/21 12:41:59][error] /home/jerry/.rvm/gems/ruby-1.9.3-p125/gems/parallel-0.5.14/lib/parallel.rb:289:in `call'
[2012/02/21 12:41:59][error] /home/jerry/.rvm/gems/ruby-1.9.3-p125/gems/parallel-0.5.14/lib/parallel.rb:289:in `call_with_index'
[2012/02/21 12:41:59][error] /home/jerry/.rvm/gems/ruby-1.9.3-p125/gems/parallel-0.5.14/lib/parallel.rb:132:in `block (2 levels) in work_in_threads'
[2012/02/21 12:41:59][error] /home/jerry/.rvm/gems/ruby-1.9.3-p125/gems/parallel-0.5.14/lib/parallel.rb:125:in `loop'
[2012/02/21 12:41:59][error] /home/jerry/.rvm/gems/ruby-1.9.3-p125/gems/parallel-0.5.14/lib/parallel.rb:125:in `block in work_in_threads'
[2012/02/21 12:41:59][error] /home/jerry/.rvm/gems/ruby-1.9.3-p125/gems/parallel-0.5.14/lib/parallel.rb:16:in `block (2 levels) in in_threads'
'''