Traceback (most recent call last):File "/nix/store/20dz2927kl675zsfhrfc46qi4525chk1-bup-0.28.1/lib/bup/cmd/bup-save", line 460, in <module>w.close() # must close before we can update the refFile "/nix/store/20dz2927kl675zsfhrfc46qi4525chk1-bup-0.28.1/lib/bup/bup/git.py", line 790, in closereturn self._end(run_midx=run_midx)File "/nix/store/20dz2927kl675zsfhrfc46qi4525chk1-bup-0.28.1/lib/bup/bup/git.py", line 768, in _endobj_list_sha = self._write_pack_idx_v2(self.filename + '.idx', idx, packbin)File "/nix/store/20dz2927kl675zsfhrfc46qi4525chk1-bup-0.28.1/lib/bup/bup/git.py", line 812, in _write_pack_idx_v2idx_map.close()AttributeError: 'str' object has no attribute 'close'
def _mmap_do(f, sz, flags, prot, close):
if not sz:
st = os.fstat(f.fileno())
sz = st.st_size
if not sz:
# trying to open a zero-length map gives an error, but an empty
# string has all the same behaviour of a zero-length map, ie. it has
# no elements :)
return ''
map = mmap.mmap(f.fileno(), sz, flags, prot)
if close:
f.close() # map will persist beyond file close
return mapfatal: failed to read object 10b110bd8bf13685dffd292e771b951eae641e35: Too many open files
Traceback (most recent call last):
File "/nix/store/20dz2927kl675zsfhrfc46qi4525chk1-bup-0.28.1/lib/bup/cmd/bup-ls", line 12, in <module>
ret = ls.do_ls(sys.argv[1:], top, default='/', spec_prefix='bup ')
File "/nix/store/20dz2927kl675zsfhrfc46qi4525chk1-bup-0.28.1/lib/bup/bup/ls.py", line 108, in do_ls
n = pwd.try_resolve(path)
File "/nix/store/20dz2927kl675zsfhrfc46qi4525chk1-bup-0.28.1/lib/bup/bup/vfs.py", line 280, in try_resolve
n = self.lresolve(path)
File "/nix/store/20dz2927kl675zsfhrfc46qi4525chk1-bup-0.28.1/lib/bup/bup/vfs.py", line 269, in lresolve
return start._lresolve(parts)
File "/nix/store/20dz2927kl675zsfhrfc46qi4525chk1-bup-0.28.1/lib/bup/bup/vfs.py", line 246, in _lresolve
return self.sub(first)._lresolve(rest)
File "/nix/store/20dz2927kl675zsfhrfc46qi4525chk1-bup-0.28.1/lib/bup/bup/vfs.py", line 246, in _lresolve
return self.sub(first)._lresolve(rest)
File "/nix/store/20dz2927kl675zsfhrfc46qi4525chk1-bup-0.28.1/lib/bup/bup/vfs.py", line 388, in _lresolve
return self.dereference()._lresolve(parts)
File "/nix/store/20dz2927kl675zsfhrfc46qi4525chk1-bup-0.28.1/lib/bup/bup/vfs.py", line 380, in dereference
stay_inside_fs=True)
File "/nix/store/20dz2927kl675zsfhrfc46qi4525chk1-bup-0.28.1/lib/bup/bup/vfs.py", line 269, in lresolve
return start._lresolve(parts)
File "/nix/store/20dz2927kl675zsfhrfc46qi4525chk1-bup-0.28.1/lib/bup/bup/vfs.py", line 244, in _lresolve
return self.parent._lresolve(rest)
File "/nix/store/20dz2927kl675zsfhrfc46qi4525chk1-bup-0.28.1/lib/bup/bup/vfs.py", line 246, in _lresolve
return self.sub(first)._lresolve(rest)
File "/nix/store/20dz2927kl675zsfhrfc46qi4525chk1-bup-0.28.1/lib/bup/bup/vfs.py", line 246, in _lresolve
return self.sub(first)._lresolve(rest)
File "/nix/store/20dz2927kl675zsfhrfc46qi4525chk1-bup-0.28.1/lib/bup/bup/vfs.py", line 211, in sub
self._mksubs()
File "/nix/store/20dz2927kl675zsfhrfc46qi4525chk1-bup-0.28.1/lib/bup/bup/vfs.py", line 487, in _mksubs
for (date, commit) in revs:
File "/nix/store/20dz2927kl675zsfhrfc46qi4525chk1-bup-0.28.1/lib/bup/bup/git.py", line 916, in rev_list
raise GitError, 'git rev-list returned error %d' % rv
bup.git.GitError: git rev-list returned error 128
git gc
fatal: failed to read object 10b110bd8bf13685dffd292e771b951eae641e35: Too many open files
error: failed to run repack
warning: garbage found: ./objects/pack/bup.bloom
warning: garbage found: ./objects/pack/midx-69ff463fb7697a0a9c37649939ce2596293dcb42.midx
warning: garbage found: ./objects/pack/midx-fa5c129350a0eabeec5b9faae03a930c2ed15a21.midx
count: 0
size: 0 bytes
in-pack: 9391515
packs: 89
size-pack: 61.53 GiB
prune-packable: 0
garbage: 3
size-garbage: 230.85 MiB
Maximum size of core files created (kB, -c) 0
Maximum size of a process’s data segment (kB, -d) unlimited
Maximum size of files created by the shell (kB, -f) unlimited
Maximum size that may be locked into memory (kB, -l) 64
Maximum resident set size (kB, -m) unlimited
Maximum number of open file descriptors (-n) 1024
Maximum stack size (kB, -s) 8192
Maximum amount of cpu time in seconds (seconds, -t) unlimited
Maximum number of processes available to a single user (-u) 31205
Maximum amount of virtual memory available to the shell (kB, -v) unlimited