Skip to content

Commit

Permalink
Fixes #1380. Fixes #1383. Avoid "popen error (pipe): Too many open fi…
Browse files Browse the repository at this point in the history
…les" error when building Cappuccino.
  • Loading branch information
aljungberg committed Oct 20, 2011
1 parent 2f57404 commit fc5d9a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions narwhal.local.conf
@@ -1,3 +1,9 @@
if [ -z "$NARWHAL_ENGINE" ] && [ -d "$NARWHAL_HOME/packages/narwhal-jsc" ]; then
export NARWHAL_ENGINE=jsc
fi

if [ "$NARWHAL_ENGINE" == jsc ] && [ `ulimit -n` -lt 512 ]; then
# JSC and Narwhal together have some trouble closing files, leading to the Cappuccino
# build process crashing with a "popen error (pipe): Too many open files" error.
ulimit -n 512
fi

0 comments on commit fc5d9a4

Please sign in to comment.