Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #236946
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Limit memory consumption of an ad hoc process |
| Date | 2021-07-06 05:20 +0200 |
| Message-ID | <CxJMR-7TH-1@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <CxzaN-1d8-1@gated-at.bofh.it> <CxA6S-1LS-5@gated-at.bofh.it> <CxJjP-7uY-1@gated-at.bofh.it> <CxJDb-7Qs-3@gated-at.bofh.it> <CxJMR-7TH-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Jul 05, 2021 at 11:11:06PM -0400, Greg Wooledge wrote: > > > $ prlimit --as=1048576 /bin/ls > > > /bin/ls: error while loading shared libraries: libselinux.so.1: failed to map segment from shared object > > Sounds like you set it too low. Remember, setrlimit(2) and prlimit(2) > say that RLIMIT_DATA is specified in bytes. This is not the same as > bash's ulimit. ... and the same for RLIMIT_AS which is probably what you're using. It would be incredibly useful if the various shell-interface tools (ulimit, prlimit, and so on) would explicitly say which setrlimit(2) resource they're actually using, instead of forcing us to guess.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Limit memory consumption of an ad hoc process Victor Sudakov <vas@sibptus.ru> - 2021-07-05 05:40 +0200
Re: Limit memory consumption of an ad hoc process Greg Wooledge <greg@wooledge.org> - 2021-07-05 14:00 +0200
Re: Limit memory consumption of an ad hoc process Victor Sudakov <vas@sibptus.ru> - 2021-07-05 18:00 +0200
Re: Limit memory consumption of an ad hoc process Victor Sudakov <vas@sibptus.ru> - 2021-07-05 18:10 +0200
Re: Limit memory consumption of an ad hoc process Greg Wooledge <greg@wooledge.org> - 2021-07-05 19:00 +0200
Re: Limit memory consumption of an ad hoc process Victor Sudakov <vas@sibptus.ru> - 2021-07-06 04:50 +0200
Re: Limit memory consumption of an ad hoc process The Wanderer <wanderer@fastmail.fm> - 2021-07-06 05:10 +0200
Re: Limit memory consumption of an ad hoc process Greg Wooledge <greg@wooledge.org> - 2021-07-06 05:20 +0200
Re: Limit memory consumption of an ad hoc process Greg Wooledge <greg@wooledge.org> - 2021-07-06 05:20 +0200
Re: Limit memory consumption of an ad hoc process Victor Sudakov <vas@sibptus.ru> - 2021-07-06 06:30 +0200
Re: Limit memory consumption of an ad hoc process Victor Sudakov <vas@sibptus.ru> - 2021-07-06 06:40 +0200
Re: Limit memory consumption of an ad hoc process Victor Sudakov <vas@sibptus.ru> - 2021-07-06 06:30 +0200
csiph-web