Title: Setting ulimit inside PowerShell · Issue #847 · PowerShell/PowerShell · GitHub
Open Graph Title: Setting ulimit inside PowerShell · Issue #847 · PowerShell/PowerShell
X Title: Setting ulimit inside PowerShell · Issue #847 · PowerShell/PowerShell
Description: While setting up the OS X build, I encountered a funny issue. Running ulimit -n 4096 inside PowerShell had no effect, so I had to run it before launching the PowerShell process. Now, ulimit is both a Bash built-in and a native command on...
Open Graph Description: While setting up the OS X build, I encountered a funny issue. Running ulimit -n 4096 inside PowerShell had no effect, so I had to run it before launching the PowerShell process. Now, ulimit is both...
X Description: While setting up the OS X build, I encountered a funny issue. Running ulimit -n 4096 inside PowerShell had no effect, so I had to run it before launching the PowerShell process. Now, ulimit is both...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/847
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Setting ulimit inside PowerShell","articleBody":"While setting up the OS X build, I encountered a funny issue. Running `ulimit -n 4096` inside PowerShell had no effect, so I had to run it before launching the PowerShell process. Now, `ulimit` is both a Bash built-in and a native command on OS X. My guess is that, when running from PowerShell, it was launched as a child process (of course) and so the system call to `setrlimit` only affected the launched child process, not PowerShell itself.\n\nI think the appropriate fix would be to add a built-in `ulimit` function to PowerShell that called `setrlimit` in-proc, thus modifying the current process's open file descriptor limit.\n\nThis is a total edge case that we should take care of at some point, but I don't think it's super high priority.\n","author":{"url":"https://github.com/andyleejordan","@type":"Person","name":"andyleejordan"},"datePublished":"2016-04-14T16:49:53Z","url":"https://github.com/PowerShell/PowerShell/issues/847"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2bcde550-d8c3-21b9-df33-2a693883d500 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C52A:BB03C:1CC8B1:289DF4:6AFD51BB |
| html-safe-nonce | 5a3f2638bfe6312abbba45e6917b3cf35d093bd1e1cb1da7da8d3467d85a2b31 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTJBOkJCMDNDOjFDQzhCMToyODlERjQ6NkFGRDUxQkIiLCJ2aXNpdG9yX2lkIjoiMjMxNTQ2OTc0MjExNjAwMDE4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fd222badba4f570c8f16c29a9f25caecf87599aa55dcf9433cb3b4d2b5256fda |
| hovercard-subject-tag | issue:148421311 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/847/issue_layout |
| twitter:image | https://opengraph.githubassets.com/17df6aef4c7b183800837651a986690fab097af2dc44e4a3eb7f55fb0f00ba9a/PowerShell/PowerShell/issues/847 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/17df6aef4c7b183800837651a986690fab097af2dc44e4a3eb7f55fb0f00ba9a/PowerShell/PowerShell/issues/847 |
| og:image:alt | While setting up the OS X build, I encountered a funny issue. Running ulimit -n 4096 inside PowerShell had no effect, so I had to run it before launching the PowerShell process. Now, ulimit is both... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andyleejordan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b6f01f7cb9f35f8c09949773241a3d49dd04b340 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width