Solved The entire system periodically freezes while using Firefox and Chromium applications.

I decided to limit my user in RAM
Code:
# cat /etc/rctl.conf
user:bsd:memoryuse:deny=16G
The problem was solved.

But after prolonged use of Firefox and Chromium browsers, the whole system begins to lag.
And so almost 1.5 - 2 years.

"top" when the system begins to lag
freebsd_lags.png
 
fwiw, I do not use swap. 32GB ram but i3 window manager. I have both chrome and firefox running simultaneously. Chrome has about a dozen tabs open and firefox has six with mupdf having two open pdf files. I have no issues.
 
I've experienced this a lot. The problem is Firefox threads getting OOM killed because of the massive amount of JavaScript stuffed into websites these days. Increase your swap or system memory to 'work around' the problem.
 
If the problem is specific with www/firefox and its variants, and if you encounter crashes of window manager / lagg in the whole system when your mouse pointer is above tabs of firefox (or its variants), making these to false via about:config screen could help.
  • browser.tabs.hoverPreview.enabled
  • browser.tabs.hoverPreview.showThumbnails
 
Back
Top