[Vm-dev] ulimit rat-rio setting (was Re: [OpenSmalltalk/opensmalltalk-vm] Do not use linux-latest runner, use an older stable version. (#598))
Tobias Pape
Das.Linux at gmx.de
Wed Sep 29 14:59:32 UTC 2021
Hi
> On 29. Sep 2021, at 15:59, Phil B <pbpublist at gmail.com> wrote:
>
> A tangential FYI: the Debian packaging will be taking care of this as part of the installation.
that's what I hoped for.
> Currently it installs the /etc/security/limits.d/squeak.conf file and I'll look into adding the pam.d part as well.
Noooo don't change pam_d stuff. :D
Debian has now its own pam management stuff and we should not mess with it.
I was actually only curious whether tim's /etc/pam.d/* contains a reference to pam_limits, to see whether limits are applied in the first place.
Since a reboot helped, the answer is, yes, pam_limits applied.
So let's not get ahead of ourselves and let pam be :)
>
> Of course if there's a way to get the functionality without the config tweaking, that would be even better. If not, well that's one of the many reasons we have packages ;-)
Exactly.
Best regards
-Tobias
>
> On Wed, Sep 29, 2021 at 2:24 AM Tobias Pape <Das.Linux at gmx.de> wrote:
>
> Hi
>
>
> > On 29. Sep 2021, at 00:12, tim Rowledge <tim at rowledge.org> wrote:
> >
> >
> > This reminds me to ask (probably again) if anyone actually understands ubuntu and getting the rtprio settings to 'take'.
> >
> > I have the suggested /etc/security/limits.d/squeak.conf etc but it appears to be ignored - at least the VM complains about it. Since `ulimit -a` tells me that rtprio is 0, I suspect it is correct to complain.
> > I've spent way too long trying to make sense of what I find with googling. This has been going on for ages (so, yes, the machine has been rebooted) and every now and then I try to make some sense of it.
>
>
> this file only takes action when pam_limits is used.
> can you grep your /etc/pam.d for limits?
>
> Best regards
> -Tobias
>
> PS: I hate to say it, but it seems the neat architecture of the heartbeat-VM is not appreciated by
> current linux distros. There is just too much to do for the average user to make use of it.
> Also, users need some kind of Root to be able to enable the rtprio, which is not a good idea.
> Is there any way to get away without changing rtprio?
>
>
>
>
More information about the Vm-dev
mailing list