I just had to deal with firefox randomly crashing after a few seconds to minutes on my work dekstop after ~30 days uptime.
Turned out to be firefox trying to swap when there was no swap active (with 32GB RAM I never bothered about swap...). From what I found, when some process tries to allocate a chunk of memory that isn't available as a continuous block, FreeBSD tries to rearrange the memory using swap. If no swap is available the process just gets killed because the memory allocation request cold not be fulfilled. (Please correct me if I got that wrong)
So bottom line: is swap space available?
Turned out to be firefox trying to swap when there was no swap active (with 32GB RAM I never bothered about swap...). From what I found, when some process tries to allocate a chunk of memory that isn't available as a continuous block, FreeBSD tries to rearrange the memory using swap. If no swap is available the process just gets killed because the memory allocation request cold not be fulfilled. (Please correct me if I got that wrong)
So bottom line: is swap space available?