{"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\/pl\/blog\/news\/v-fedora-32-namereny-vklyuchit-earlyoom-dlya-rannego-reagirovaniya-na-nehvatku-pamyati","title":{"rendered":"W Fedora 32 planuj\u0105 wprowadzenie earlyoom do wczesnej reakcji na niedob\u00f3r pami\u0119ci","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\">Opublikowano<\/a><\/noindex> <noindex><a rel=\"nofollow\" href=\"https:\/\/fedoraproject.org\/wiki\/Changes\/EnableEarlyoom\">plan<\/a><\/noindex> <noindex><a rel=\"nofollow\" href=\"https:\/\/pagure.io\/fedora-workstation\/issue\/119\">w\u0142\u0105czenia<\/a><\/noindex> domy\u015blnie w Fedora 32 procesu w tle <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/rfjakob\/earlyoom\">earlyoom<\/a><\/noindex> w celu szybkiej reakcji na niedob\u00f3r pami\u0119ci w systemie. Je\u015bli dost\u0119pna pami\u0119\u0107 spadnie poni\u017cej okre\u015blonej warto\u015bci, earlyoom wymusi zako\u0144czenie procesu, kt\u00f3ry najbardziej intensywnie zu\u017cywa pami\u0119\u0107 (maj\u0105cego najwy\u017csz\u0105 warto\u015b\u0107 w \/proc\/*\/oom_score), wysy\u0142aj\u0105c SIGTERM (je\u015bli wolna pami\u0119\u0107 spadnie poni\u017cej 10%) lub SIGKILL (&lt; 5%), nie doprowadzaj\u0105c stanu systemu do oczyszczenia bufor\u00f3w. Earlyoom pozwoli na szybsz\u0105 reakcj\u0119 na niedob\u00f3r pami\u0119ci, zanim dojdzie do wywo\u0142ania obs\u0142ugi OOM (Out Of Memory) w j\u0105drze, kt\u00f3ra uruchamia si\u0119, gdy sytuacja staje si\u0119 krytyczna, a system zazwyczaj przestaje reagowa\u0107 na dzia\u0142ania u\u017cytkownika.<\/p>\n<p>W dalszych wydaniach Fedora <noindex><a rel=\"nofollow\" href=\"https:\/\/pagure.io\/fedora-workstation\/issue\/98\">rozwa\u017cane jest<\/a><\/noindex> w\u0142\u0105czenie obs\u0142ugi niedoboru pami\u0119ci <noindex><a rel=\"nofollow\" href=\"https:\/\/gitlab.freedesktop.org\/hadess\/low-memory-monitor\/\">low-memory-monitor<\/a><\/noindex>, kt\u00f3ra wykorzystuje nowy interfejs w j\u0105drze Linux <noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=51051\">5.2<\/a><\/noindex> \/proc\/pressure\/memory do oceny niedoboru pami\u0119ci w systemie, ale w przeciwie\u0144stwie do earlyoom nie ko\u0144czy od razu proces\u00f3w, lecz wysy\u0142a powiadomienie przez DBus o konieczno\u015bci zmniejszenia u\u017cycia pami\u0119ci (je\u015bli po tym sytuacja si\u0119 nie poprawi, mo\u017cliwa jest aktywacja <noindex><a rel=\"nofollow\" href=\"https:\/\/gitlab.freedesktop.org\/hadess\/low-memory-monitor\/#kernel-out-of-memory-killer\">OOM Killer<\/a><\/noindex> j\u0105dra). Low-memory-monitor wymaga modyfikacji aplikacji, dlatego uwa\u017cany jest za rozwi\u0105zanie na dalsz\u0105 przysz\u0142o\u015b\u0107, kt\u00f3re mo\u017cna b\u0119dzie wdro\u017cy\u0107 po dostosowaniu aplikacji GNOME.  <\/p>\n<p>Aby monitorowa\u0107 sytuacj\u0119 niedoboru pami\u0119ci w aplikacjach, w Glib <noindex><a rel=\"nofollow\" href=\"https:\/\/gitlab.gnome.org\/GNOME\/glib\/-\/tags\/2.63.3\">2.63.3<\/a><\/noindex>  dodano 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\u017cliwiaj\u0105ce<\/a><\/noindex> do \u015bledzenia sygna\u0142\u00f3w z low-memory-monitor i podejmowania dzia\u0142a\u0144 (np. aplikacja mo\u017ce zwolni\u0107 pami\u0119\u0107 u\u017cywan\u0105 do buforowania, zapisa\u0107 pliki, uruchomi\u0107 zbieranie \u015bmieci, pr\u00f3bowa\u0107 zmniejszy\u0107 fragmentacj\u0119 pami\u0119ci lub zako\u0144czy\u0107 nieaktywne procesy pomocnicze). Wsparcie dla<br \/>\nGMemoryMonitor zosta\u0142o r\u00f3wnie\u017c dodane do xdg-desktop-portal do u\u017cycia w izolowanych aplikacjach dostarczanych w formacie flatpak.<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>\u0179r\u00f3d\u0142o: <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.1.1 - 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\/pl\/blog\/news\/v-fedora-32-namereny-vklyuchit-earlyoom-dlya-rannego-reagirovaniya-na-nehvatku-pamyati\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"pl_PL\" \/>\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\/pl\/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\udd47W Fedora 32 planuj\u0105 wprowadzenie earlyoom do szybkiej reakcji na niedob\u00f3r pami\u0119ci | ProHoster","description":"Opublikowano","canonical_url":"https:\/\/prohoster.info\/pl\/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":"pl_PL","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\/pl\/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\/pl\/wp-json\/wp\/v2\/posts\/54854","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/comments?post=54854"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/posts\/54854\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/media?parent=54854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/categories?post=54854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/tags?post=54854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}