bzr commit will break when given too many files as arguments
Bug #583468 reported by
James Troup
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned |
Bug Description
bzr commit will break when given too many (where too many means more than allowed by ulimit -n) files as an argument, e.g.
$ rm -fr test; mkdir test; cd test; bzr init
$ for i in $(seq 1 1200); do echo a > ${i}; done; bzr add; bzr ci -m "init"
$ for i in $(seq 1 1200); do echo b > ${i}; done; bzr ci -m "this will work"
$ for i in $(seq 1 1200); do echo c > ${i}; done; bzr ci -m "this won't" *
The last command will error with something like this:
aborting commit write group: IOError(24, 'Too many open files')
bzr: ERROR: [Errno 24] Too many open files: u'/home/
To post a comment you must log in.
Oh, sorry, this is using bzr 2.1.1-1 on Ubuntu 10.04 with the default max open FD limit of 1024.