3 ms·
> One really nice feature is that there’s no concept of out of memory killer. I remember one day our LDAP host went haywire and the load average shot up to some
by Wowfunhappy 5y ago
> One really nice feature is that there’s no concept of out of memory killer. I remember one day our LDAP host went haywire and the load average shot up to something like 800. I was able to still get in as root and kill the offending processes.
What does it do when it’s out of memory?
- throw0101a 5y agoSolaris didn't (still doesn't?) allow processes to allocate memory when none was available. If a program called malloc() and RAM+swap was full, the call returned an error (and ideally the program handled it). IIRC, the BSDs are the same way as well by default. Linux is the main Unix-y system that allows over-allocation.
- 1vuio0pswjnm7 5y agoFunny, I had the opposite question when I started using Linux more often. NetBSD is like Solaris. Running out of memory is not a big deal. I use RAM for the filesystem, so it does happen occassionally. On Linux, the effect of running out of memory was quite a surprise.