commit | 97d2b2f7a087bfc695536ae9be962406d82152f2 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Thu Sep 22 17:23:41 2011 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Thu Sep 22 18:08:26 2011 -0700 |
tree | 7cf3c07c6c9f42f17e1ade91eb354f95a16a0a80 | |
parent | 3a0e782790ab83e3b1e93fe2fd57f7197ace2f76 [diff] |
sync: Limit -j to file descriptors Each worker thread requires at least 3 file descriptors to run the forked 'git fetch' child to operate against the local repository. Mac OS X has the RLIMIT_NOFILE set to 256 by default, which means a sync -j128 often fails when the workers run out of pipes within the Python parent process. Change-Id: I2cdb14621b899424b079daf7969bc8c16b85b903 Signed-off-by: Shawn O. Pearce <sop@google.com>