{"id":54854,"date":"2020-01-06T00:00:00","date_gmt":"2020-01-05T21:00:00","guid":{"rendered":"https:\/\/prohoster.info\/blog\/blog_prohoster\/v-fedora-32-namereny-vklyuchit-earlyoom-dlya-rannego-reagirovaniya-na-nehvatku-pamyati"},"modified":"2020-02-18T14:02:54","modified_gmt":"2020-02-18T11:02:54","slug":"v-fedora-32-namereny-vklyuchit-earlyoom-dlya-rannego-reagirovaniya-na-nehvatku-pamyati","status":"publish","type":"post","link":"https:\/\/prohoster.info\/cs\/blog\/news\/v-fedora-32-namereny-vklyuchit-earlyoom-dlya-rannego-reagirovaniya-na-nehvatku-pamyati","title":{"rendered":"Ve Fedo\u0159e 32 pl\u00e1nuj\u00ed zahrnout earlyoom pro v\u010dasnou reakci na nedostatek pam\u011bti","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex><a rel=\"nofollow\" href=\"https:\/\/www.mail-archive.com\/devel-announce@lists.fedoraproject.org\/msg02139.html\">Byl zve\u0159ejn\u011bn<\/a><\/noindex> <noindex><a rel=\"nofollow\" href=\"https:\/\/fedoraproject.org\/wiki\/Changes\/EnableEarlyoom\">pl\u00e1n<\/a><\/noindex> <noindex><a rel=\"nofollow\" href=\"https:\/\/pagure.io\/fedora-workstation\/issue\/119\">zapnut\u00ed<\/a><\/noindex> ve v\u00fdchoz\u00edm nastaven\u00ed v Fedo\u0159e 32 pro b\u011b\u017e\u00edc\u00ed procesy <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/rfjakob\/earlyoom\">earlyoom<\/a><\/noindex> pro v\u010dasnou reakci na nedostatek pam\u011bti v syst\u00e9mu. Pokud je dostupn\u00e1 pam\u011b\u0165 ni\u017e\u0161\u00ed ne\u017e stanoven\u00e1 hodnota, earlyoom prost\u0159ednictv\u00edm odesl\u00e1n\u00ed SIGTERM (pokud je voln\u00e1 pam\u011b\u0165 pod 10 %) nebo SIGKILL (&lt; 5 %) n\u00e1siln\u011b ukon\u010d\u00ed proces, kter\u00fd nejv\u00edce vyu\u017e\u00edv\u00e1 pam\u011b\u0165 (m\u00e1 nejvy\u0161\u0161\u00ed hodnotu \/proc\/*\/oom_score), ani\u017e by do\u0161lo k vy\u010di\u0161t\u011bn\u00ed syst\u00e9mov\u00fdch buffer\u016f. Earlyoom umo\u017en\u00ed rychlej\u0161\u00ed reakci na nedostatek pam\u011bti, ani\u017e by do\u0161lo k vyvol\u00e1n\u00ed OOM (Out Of Memory) handleru v j\u00e1d\u0159e, kter\u00fd se spou\u0161t\u00ed, kdy\u017e situace se stane kritickou a syst\u00e9m obvykle ji\u017e nereaguje na akce u\u017eivatele.<\/p>\n<p>V d\u00e1lkov\u00fdch verz\u00edch Fedory <noindex><a rel=\"nofollow\" href=\"https:\/\/pagure.io\/fedora-workstation\/issue\/98\">se zva\u017euje mo\u017enost<\/a><\/noindex> zapnut\u00ed zpracovatele nedostatku pam\u011bti <noindex><a rel=\"nofollow\" href=\"https:\/\/gitlab.freedesktop.org\/hadess\/low-memory-monitor\/\">low-memory-monitor<\/a><\/noindex>, kter\u00fd vyu\u017e\u00edv\u00e1 nov\u011b p\u0159idan\u00e9 rozhran\u00ed v j\u00e1d\u0159e Linuxu <noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=51051\">5.2<\/a><\/noindex> proc\/pressure\/memory pro posouzen\u00ed nedostatku pam\u011bti v syst\u00e9mu, ale na rozd\u00edl od earlyoom okam\u017eit\u011b neukon\u010duje procesy, ale odes\u00edl\u00e1 prost\u0159ednictv\u00edm DBus ozn\u00e1men\u00ed o pot\u0159eb\u011b sn\u00ed\u017eit spot\u0159ebu pam\u011bti (pokud se situace n\u00e1sledn\u011b neuklidn\u00ed, je mo\u017en\u00e9 aktivovat <noindex><a rel=\"nofollow\" href=\"https:\/\/gitlab.freedesktop.org\/hadess\/low-memory-monitor\/#kernel-out-of-memory-killer\">OOM Killer<\/a><\/noindex> j\u00e1dra). Low-memory-monitor vy\u017eaduje \u00fapravu aplikac\u00ed, a proto se zva\u017euje jako \u0159e\u0161en\u00ed pro budoucnost, kter\u00e9 bude mo\u017en\u00e9 nasadit po p\u0159izp\u016fsoben\u00ed aplikac\u00ed GNOME.  <\/p>\n<p>Pro sledov\u00e1n\u00ed situace s nedostatkem pam\u011bti aplikacemi v Glibu <noindex><a rel=\"nofollow\" href=\"https:\/\/gitlab.gnome.org\/GNOME\/glib\/-\/tags\/2.63.3\">2.63.3<\/a><\/noindex>  bylo p\u0159id\u00e1no API <noindex><a rel=\"nofollow\" href=\"https:\/\/developer.gnome.org\/gio\/2.63\/GMemoryMonitor.html\">GMemoryMonitor<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"http:\/\/www.hadess.net\/2019\/12\/gmemorymonitor-low-memory-monitor-2nd.html\">umo\u017e\u0148uj\u00edc\u00ed<\/a><\/noindex> kter\u00e9 monitoruje sign\u00e1ly z low-memory-monitor a p\u0159ij\u00edm\u00e1 opat\u0159en\u00ed (nap\u0159\u00edklad aplikace m\u016f\u017ee uvolnit pam\u011b\u0165 pou\u017e\u00edvanou pro mezipam\u011b\u0165, ulo\u017eit soubory, spustit sb\u011br odpadu, pokusit se sn\u00ed\u017eit fragmentaci pam\u011bti nebo ukon\u010dit ne\u010dinn\u00e9 pomocn\u00e9 procesy). Podpora<br \/>\nGMemoryMonitor byla tak\u00e9 p\u0159id\u00e1na do xdg-desktop-portal pro pou\u017eit\u00ed v izolovan\u00fdch aplikac\u00edch dod\u00e1van\u00fdch ve form\u00e1tu flatpak.<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Zdroj: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=52136\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u043f\u043b\u0430\u043d \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432 Fedora 32 \u0444\u043e\u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 earlyoom \u0434\u043b\u044f \u0440\u0430\u043d\u043d\u0435\u0433\u043e \u0440\u0435\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u043d\u0435\u0445\u0432\u0430\u0442\u043a\u0443 \u043f\u0430\u043c\u044f\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435. \u0415\u0441\u043b\u0438 \u043e\u0431\u044a\u0451\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u043c\u0435\u043d\u044c\u0448\u0435 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0442\u043e earlyoom \u0447\u0435\u0440\u0435\u0437 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443 SIGTERM (\u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u043c\u0435\u043d\u044c\u0448\u0435 10%) \u0438\u043b\u0438 SIGKILL (&lt; 5%) \u043f\u0440\u0438\u043d\u0443\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e (\u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430, \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u044e\u0449\u0435\u0433\u043e \u043f\u0430\u043c\u044f\u0442\u044c (\u0438\u043c\u0435\u044e\u0449\u0435\u0433\u043e \u0441\u0430\u043c\u043e\u0435 \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \/proc\/*\/oom_score), \u043d\u0435 \u0434\u043e\u0432\u043e\u0434\u044f \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-54854","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/cs\/blog\/news\/v-fedora-32-namereny-vklyuchit-earlyoom-dlya-rannego-reagirovaniya-na-nehvatku-pamyati\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"cs_CZ\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0412 Fedora 32 \u043d\u0430\u043c\u0435\u0440\u0435\u043d\u044b \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c earlyoom \u0434\u043b\u044f \u0440\u0430\u043d\u043d\u0435\u0433\u043e \u0440\u0435\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u043d\u0435\u0445\u0432\u0430\u0442\u043a\u0443 \u043f\u0430\u043c\u044f\u0442\u0438 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/cs\/blog\/news\/v-fedora-32-namereny-vklyuchit-earlyoom-dlya-rannego-reagirovaniya-na-nehvatku-pamyati\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-01-05T21:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-02-18T11:02:54+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47 V Fedo\u0159e 32 pl\u00e1nuj\u00ed zahrnout earlyoom pro v\u010dasnou reakci na nedostatek pam\u011bti | ProHoster","description":"Byl zve\u0159ejn\u011bn","canonical_url":"https:\/\/prohoster.info\/cs\/blog\/news\/v-fedora-32-namereny-vklyuchit-earlyoom-dlya-rannego-reagirovaniya-na-nehvatku-pamyati","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"cs_CZ","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0412 Fedora 32 \u043d\u0430\u043c\u0435\u0440\u0435\u043d\u044b \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c earlyoom \u0434\u043b\u044f \u0440\u0430\u043d\u043d\u0435\u0433\u043e \u0440\u0435\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u043d\u0435\u0445\u0432\u0430\u0442\u043a\u0443 \u043f\u0430\u043c\u044f\u0442\u0438 | ProHoster","og:description":"\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d","og:url":"https:\/\/prohoster.info\/cs\/blog\/news\/v-fedora-32-namereny-vklyuchit-earlyoom-dlya-rannego-reagirovaniya-na-nehvatku-pamyati","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-01-05T21:00:00+00:00","article:modified_time":"2020-02-18T11:02:54+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"54854","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-24 12:58:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 19:56:24","updated":"2026-01-24 12:58:19","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts\/54854","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/comments?post=54854"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts\/54854\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/media?parent=54854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/categories?post=54854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/tags?post=54854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}