Thanks so much, I didn't know how to discover the login class of the user.. but I found it in file /etc/master.passwd and my user is already in the staff class. Thanks.
Il giorno lun 26 mag 2025 alle ore 03:31 Sylvain Saboua <[email protected]> ha scritto: > On May 26, 2025 2:17:05 AM GMT+02:00, LWS <[email protected]> wrote: > >> Hi, I would like to ask if it is normal that on a desktop with 8 giga I >> have continuous browser crashes. This happens on both firefox and chromium. >> In the past I had the same problems when I used openbsd as a virtual >> machine on a freebsd machine. And so I had justified it thinking that it >> depended on virtualization. Now instead I am on a physical machine and I >> have the same problems. >> It is not the entire browser that crashes but only the tab. Let's say I >> have about 20 or 30 crashes daily. I had asked the same question on reddit >> and they advised me to modify the /etc/login.conf file to widen the memory >> limits. But this measure did not produce any results. Now login.conf should >> be the default after upgrade to 7.7 >> The machine is an old fujitsu machine with 8 giga from 2018. >> >> To be precise, the machine is the following: >> https://bsd-hardware.info/?probe=1ba76bf7e5 >> That is, I was the one who uploaded that data even though I am now on >> openbsd 7.7. But the package list and everything else is my machine. >> >> My "id" is this: >> uid=1000(my_user) gid=1000(my_user) groups=1000(my_user), 0(wheel), >> 20(staff) >> >> and the following is staff on login.conf >> staff:\ >> :datasize-cur=1536M:\ >> :datasize-max=infinity:\ >> :maxproc-max=512:\ >> :maxproc-cur=256:\ >> :ignorenologin:\ >> :requirehome@:\ >> :tc=default: >> >> Thank you for any help. >> lws. >> >> > Hi, you need not to be in the "staff" *group* but in the "staff" *class* : > # usermod -L staff my_user > > Hope that helps > Sylvain Saboua >

