The job of the OOM killer is to pick the minimum number of processes when the system is running out of memory and terminate them. This is where the OOM killer comes into the picture. ![]() If, however, all processes try to use that same memory space simultaneously, then there will be an integrity issue. That, in turn, allows each process to quickly get more memory space, even though another process may have already claimed the available memory. This makes programming extremely easier, as it enables overcommitting memory. Linux has this concept of virtual memory, which means that, from the view of each process, the whole physical memory of the entire computer is available for use. ![]() In this section, we’ll briefly touch upon the OOM killer and its underlying mechanics. Xargs -I -kqg 'killed process' -o verbose -output-fields=MESSAGEįri 17:49:55.782801 UTC We can also investigate the logs with journalctl: $ journalctl -list-boots | \ ![]() oom_reaper: reaped process 179944 (python), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |