projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45fc459
)
Use soft limit, not hard limit.
author
Brian Harring
<ferringb@gentoo.org>
Wed, 14 Dec 2005 06:28:31 +0000
(06:28 -0000)
committer
Brian Harring
<ferringb@gentoo.org>
Wed, 14 Dec 2005 06:28:31 +0000
(06:28 -0000)
svn path=/main/trunk/; revision=2365
pym/portage_exec.py
patch
|
blob
|
history
diff --git
a/pym/portage_exec.py
b/pym/portage_exec.py
index c62d0a549a45ca1e76189043b3417cdec499b1ff..79afbf76ed94bbdc1343ced644916f4976161a18 100644
(file)
--- a/
pym/portage_exec.py
+++ b/
pym/portage_exec.py
@@
-12,7
+12,7
@@
from portage_const import BASH_BINARY, SANDBOX_BINARY
try:
import resource
- max_fd_limit = resource.getrlimit(resource.RLIMIT_NOFILE)[
1
]
+ max_fd_limit = resource.getrlimit(resource.RLIMIT_NOFILE)[
0
]
except ImportError:
max_fd_limit = 256