{"action":"closed","issue":{"url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/issues/1699","labels_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/issues/1699/labels{/name}","comments_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/issues/1699/comments","events_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/issues/1699/events","html_url":"https://github.com/TechEmpower/FrameworkBenchmarks/issues/1699","id":91814123,"number":1699,"title":"Too many environment variables","user":{"login":"msmith-techempower","id":4983416,"avatar_url":"https://avatars.githubusercontent.com/u/4983416?v=3","gravatar_id":"","url":"https://api.github.com/users/msmith-techempower","html_url":"https://github.com/msmith-techempower","followers_url":"https://api.github.com/users/msmith-techempower/followers","following_url":"https://api.github.com/users/msmith-techempower/following{/other_user}","gists_url":"https://api.github.com/users/msmith-techempower/gists{/gist_id}","starred_url":"https://api.github.com/users/msmith-techempower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msmith-techempower/subscriptions","organizations_url":"https://api.github.com/users/msmith-techempower/orgs","repos_url":"https://api.github.com/users/msmith-techempower/repos","events_url":"https://api.github.com/users/msmith-techempower/events{/privacy}","received_events_url":"https://api.github.com/users/msmith-techempower/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/labels/Bug:%20Toolset","name":"Bug: Toolset","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-29T14:10:07Z","updated_at":"2015-09-10T20:52:25Z","closed_at":"2015-09-10T20:52:25Z","body":"Our latest attempt at a preview run failed: http://sprunge.us/aaYM\r\n\r\nAfter digging, it seems that there are too many environment variables being defined as shown in the tl;dr version here:\r\n```\r\n--------------------------------------------------------------------------------\r\n  Running Test: gemini\r\n--------------------------------------------------------------------------------\r\n\r\n/home/techempower/FrameworkBenchmarks/config/benchmark_profile: line 49: /bin/grep: Argument list too long\r\n/bin/bash: /usr/bin/env: Argument list too long\r\nCRITICAL: Loading $FWROOT/config/benchmark_profile returned non-zero exit\r\nINFO:root:Running setup module start (cwd=/home/techempower/FrameworkBenchmarks/frameworks/Java/gemini)\r\nINFO:root:To run gemini manually, copy/paste this:\r\n      export FWROOT=/home/techempower/FrameworkBenchmarks      && \\\r\n      export TROOT=/home/techempower/FrameworkBenchmarks/frameworks/Java/gemini       && \\\r\n      export IROOT=/home/techempower/FrameworkBenchmarks/installs       && \\\r\n      export DBHOST=10.0.3.5      && \\\r\n      export LOGDIR=/home/techempower/FrameworkBenchmarks/results/ec2/latest/logs/gemini      && \\\r\n      export MAX_THREADS=8 && \\\r\n      cd /home/techempower/FrameworkBenchmarks/frameworks/Java/gemini && \\\r\n      sudo -u testrunner -E -H stdbuf -o0 -e0 bash -ex start.sh\r\nSetup gemini: + source /java7.installed\r\nSetup gemini: start.sh: line 4: /java7.installed: No such file or directory\r\ngemini: start.sh and framework processes have terminated\r\nSetup gemini: Setup has terminated\r\nSetup gemini: Status: Poll: 1, Port 8080 bound: False, Time Left: 1:44:59.991326\r\nSetup gemini: start.sh process exited naturally with 1\r\nINFO:root:Executed start.sh, returning 1\r\n```\r\n\r\nAfter doing some googlin', it seems that we have hit the limit on `RLIMIT_STACK` (8k by default) which causes exporting of additional environment variables to fail. From above, one can see that `$FWROOT` is not set properly as `start.sh` attempts `source $FWROOT/java7.installed`, but it is echoed as `source /java7.installed` because that envirnonment variable was never properly set."}}