Title: "max user processes" limit is not set correctly in terminal · coder/code-server · Discussion #5393 · GitHub
Open Graph Title: "max user processes" limit is not set correctly in terminal · coder/code-server · Discussion #5393
X Title: "max user processes" limit is not set correctly in terminal · coder/code-server · Discussion #5393
Description: "max user processes" limit is not set correctly in terminal
Open Graph Description: Hi When I'm opening terminal in code server , CTRL+SHIFT+~, the value of "max user processes" ( ulimit -u ) is set to 127582. From the same terminal, if I open a new shell, or "ssh localhost", I ge...
X Description: Hi When I'm opening terminal in code server , CTRL+SHIFT+~, the value of "max user processes" ( ulimit -u ) is set to 127582. From the same terminal, if I open a new shell, or "s...
Opengraph URL: https://github.com/coder/code-server/discussions/5393
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"\"max user processes\" limit is not set correctly in terminal","text":"\u003cp dir=\"auto\"\u003eHi\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eWhen I'm opening terminal in code server , CTRL+SHIFT+~, the value of \"max user processes\" ( ulimit -u ) is set to 127582.\u003cbr\u003e\nFrom the same terminal, if I open a new shell, or \"ssh localhost\", I get a correct value of 1042.\u003cbr\u003e\nThe value I get if open a terminal by other means is 1024 which is correct and set using /etc/limit.d/.\u003cbr\u003e\nI checked it on a few code-server and the behavior is the same\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eWhat am I missing ?\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eOren\u003c/p\u003e","upvoteCount":1,"answerCount":2,"acceptedAnswer":{"@type":"Answer","text":"\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003eSince daemons started by systemd don't employ pam login session, the limits can be set only in the service unit file.\u003cbr\u003e\nI had to add LimitNPROC=XXX to the code-server systemd file under [Service]\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp dir=\"auto\"\u003e\u003ca href=\"https://github.com/coder/code-server/discussions/5393#discussioncomment-3369379\" data-hovercard-type=\"discussion\" data-hovercard-url=\"/coder/code-server/discussions/5393/hovercard?comment_id=3369379\"\u003eLink\u003c/a\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eSolved by: \u003ca class=\"user-mention notranslate\" data-hovercard-type=\"user\" data-hovercard-url=\"/users/code-asher/hovercard\" data-octo-click=\"hovercard-link-click\" data-octo-dimensions=\"link_type:self\" href=\"https://github.com/code-asher\"\u003e@code-asher\u003c/a\u003e\u003c/p\u003e","upvoteCount":1,"url":"https://github.com/coder/code-server/discussions/5393#discussioncomment-3370287"}}}
| 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/Voltron::DiscussionsFragmentsController/show/:user_id/:repository/:discussion_number/discussion_layout(.:format) |
| route-controller | voltron_discussions_fragments |
| route-action | discussion_layout |
| fetch-nonce | v2:b887a266-4b65-06f7-4d4f-0453f2fe76ad |
| current-catalog-service-hash | 9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be |
| request-id | 8ED2:A70A9:B4D998:EF72AA:6B01C11D |
| html-safe-nonce | f3b08626a1d06a3ca1dbc7418254bae373e0a09ba3743613cad1c0aec9461c53 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUQyOkE3MEE5OkI0RDk5ODpFRjcyQUE6NkIwMUMxMUQiLCJ2aXNpdG9yX2lkIjoiMTU0MDUyNDEzMjg1OTQ5NDY4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8e10f0c4bb01373172c3bc18c37b04244bb826b2884cdb1b1ca115674fcaef62 |
| hovercard-subject-tag | discussion:4266523 |
| github-keyboard-shortcuts | repository,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/Voltron::DiscussionsFragmentsController/show/coder/code-server/5393/discussion_layout |
| twitter:image | https://opengraph.githubassets.com/e114a01a7b716bbf5d1b9f033dea58a575f7cce3e6caa920b8ff6068b4092b5d/coder/code-server/discussions/5393 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e114a01a7b716bbf5d1b9f033dea58a575f7cce3e6caa920b8ff6068b4092b5d/coder/code-server/discussions/5393 |
| og:image:alt | Hi When I'm opening terminal in code server , CTRL+SHIFT+~, the value of "max user processes" ( ulimit -u ) is set to 127582. From the same terminal, if I open a new shell, or "ssh localhost", I ge... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/code-server git https://github.com/coder/code-server.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 172953845 |
| octolytics-dimension-repository_nwo | coder/code-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 172953845 |
| octolytics-dimension-repository_network_root_nwo | coder/code-server |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width