Index | Thread | Search

From:
Claudio Jeker <cjeker@diehard.n-r-g.com>
Subject:
Re: KDE Plasma readme maxfiles hint
To:
Rafael Sadowski <rafael@sizeofvoid.org>
Cc:
ports@openbsd.org
Date:
Fri, 23 May 2025 07:27:44 +0200

Download raw body.

Thread
On Fri, May 23, 2025 at 03:52:29AM +0200, Rafael Sadowski wrote:
> OK?
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/meta/kde/Makefile,v
> diff -u -p -r1.40 Makefile
> --- Makefile	22 May 2025 05:35:15 -0000	1.40
> +++ Makefile	23 May 2025 01:51:27 -0000
> @@ -31,7 +31,7 @@ PKGNAME-plasma =	kde-plasma-${MODKDE_PLA
>  PKGNAME-plasma-extras =	kde-plasma-extras-${MODKDE_PLASMA_VERSION}
>  
>  REVISION-network =	0
> -REVISION-plasma =	0
> +REVISION-plasma =	1
>  
>  MULTI_PACKAGES +=	-main \
>  			-games \
> Index: pkg/README-plasma
> ===================================================================
> RCS file: /cvs/ports/meta/kde/pkg/README-plasma,v
> diff -u -p -r1.5 README-plasma
> --- pkg/README-plasma	22 May 2025 05:35:15 -0000	1.5
> +++ pkg/README-plasma	23 May 2025 01:51:27 -0000
> @@ -60,6 +60,12 @@ You can easily change the login class wi
>  
>  # usermod -L kde your-user-name
>  
> +You might want to consider increasing the kern.maxfiles tunable. Many services
> +and applications need to monitor activity of a lot of files. For example:
> +
> +# sysctl kern.maxfiles=65535
> +# echo "kern.maxfiles=65535" >> /etc/sysctl.conf
> +
>  Touch screen calibration
>  ========================
>  xtsscale(1) can be used for touch screen calibration, however it will not
> @@ -117,7 +123,10 @@ do not display, messages cannot be found
>  Increasing the buffer size is recommended:
>  
>  # sysctl net.unix.stream.recvspace=65536
> +# echo "net.unix.stream.recvspace=65536" >> /etc/sysctl.conf
> +
>  # sysctl net.unix.stream.sendspace=65536
> +# echo "net.unix.stream.sendspace=65536" >> /etc/sysctl.conf

Why can't the applications using the unix socket not use the setsockopt
for this?

-- 
:wq Claudio