{"action":"reopened","issue":{"url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/issues/309","labels_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/issues/309/comments","events_url":"https://api.github.com/repos/TechEmpower/FrameworkBenchmarks/issues/309/events","html_url":"https://github.com/TechEmpower/FrameworkBenchmarks/issues/309","id":14706330,"number":309,"title":"sudo -s ulimit does not work","user":{"login":"MalcolmEvershed","id":1912950,"avatar_url":"https://avatars.githubusercontent.com/u/1912950?v=3","gravatar_id":"","url":"https://api.github.com/users/MalcolmEvershed","html_url":"https://github.com/MalcolmEvershed","followers_url":"https://api.github.com/users/MalcolmEvershed/followers","following_url":"https://api.github.com/users/MalcolmEvershed/following{/other_user}","gists_url":"https://api.github.com/users/MalcolmEvershed/gists{/gist_id}","starred_url":"https://api.github.com/users/MalcolmEvershed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MalcolmEvershed/subscriptions","organizations_url":"https://api.github.com/users/MalcolmEvershed/orgs","repos_url":"https://api.github.com/users/MalcolmEvershed/repos","events_url":"https://api.github.com/users/MalcolmEvershed/events{/privacy}","received_events_url":"https://api.github.com/users/MalcolmEvershed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2013-05-24T04:01:19Z","updated_at":"2015-03-29T17:07:08Z","closed_at":null,"body":"In benchmarker.py, in __setup_server, [this call](https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/benchmarker.py#L248) to sudo -s ulimit -n 8192 does not work because sudo spawns a new shell which then calls the ulimit shell built-in which only affects that shell, which then exits. I'm not quite sure how to fix this, but wanted to make sure that you guys were aware of this (in case you see mysterious file errors).\r\n\r\nIn __setup_client, there is a call to sudo -s ulimit which doesn't do anything, but that is unnecessary if you merge [this pull request](https://github.com/TechEmpower/FrameworkBenchmarks/pull/308) which fixes the issue for the client because the next ssh to the client will cause the /etc/security/limits.conf setting to be used."}}