Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: KDE Plasma Readme: Mention resource limits and other workarounds
To:
Sebastien Marie <semarie@kapouay.eu.org>, Rafael Sadowski <rafael@sizeofvoid.org>, Yifei Zhan <openbsd@zhan.science>, <kn@openbsd.org>, Sébastien Bourdeauducq <sb@m-labs.hk>
Cc:
<ports@openbsd.org>
Date:
Wed, 21 May 2025 08:46:04 +0100

Download raw body.

Thread
I would advise installing a login.conf.d file with the suggested limits, 
and just ask the user to set the group. That way, if you need to tweak it 
in the future, the file will be updated automatically. Otherwise you'll 
somehow need to get them to pay attention to the changed part of the 
pkg-readme and update the file by hand.

-- 
  Sent from a phone, apologies for poor formatting.

On 21 May 2025 05:42:40 Sebastien Marie <semarie@kapouay.eu.org> wrote:

> Rafael Sadowski <rafael@sizeofvoid.org> writes:
>
>> +Resource limits
>> +===============
>> +
>> +The "default" login-class resource limits are too conservative for KDE Plasma
>> +users. It is recommended to create a new login-class based on the "default"
>> +class for all KDE Plasma users. Here is an example for /etc/login.conf.d/kde:
>> +
>> +kde:\
>> +	:datasize=8192M:\
>> +	:openfiles-cur=2048:\
>> +	:openfiles-max=4096:\
>> +	:tc=daemon:
>> +
>
> the wording (inherit from "default") doesn't correspond to the effective
> declaration. you should have ":tc=default:" instead of ":tc=daemon:" on
> the last line.
>
> Regards.
> --
> Sebastien Marie