Skip to content
Discussion options

You must be logged in to vote

Hello, I finally solved the problem. In short, it was the OpenBSD system resource limits that caused the issue. Obviously, nvim as an IDE is very resource-hungry. So, I had to tweak the staff class /etc/login.conf:

staff:
:datasize-cur=2G:
:datasize-max=unlimited:
:stacksize=8M:
:openfiles=8192:
:maxproc-max=2048:
:maxproc-cur=2048:
:memorylocked=131072:
:memoryuse=unlimited:
:ignorenologin:
:requirehome@:
:tc=default:

and also create /etc/sysctl.conf with the following line:

kern.maxfiles=65536

Now everything works like a charm with the default settings I use also on other OSs such as Linux and DragonFlyBSD.

Special thanks to everybody and to Volker from the OpenBSD misc list, with whom …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by marto1980
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant