diff --git a/OOMAnalyser.html b/OOMAnalyser.html index 3e97fac..d20ba61 100644 --- a/OOMAnalyser.html +++ b/OOMAnalyser.html @@ -115,6 +115,10 @@ THIS PROGRAM COMES WITH NO WARRANTY /* empty - used to hide/show details for memory fragmentation */ } + .js-memory-shortage-node--hide { + /* empty - used to show the NUMA node with memory shortage */ + } + .js-oom-automatic--show { /* empty - used to show sections for automatically triggered OOMs */ } @@ -558,7 +562,7 @@ window.onerror = function (msg, url, lineNo, columnNo, errorObj) { Memory zone from which the requested storage chunk should come. - + Requested memory: node diff --git a/OOMAnalyser.py b/OOMAnalyser.py index 95973d0..3b2e3db 100644 --- a/OOMAnalyser.py +++ b/OOMAnalyser.py @@ -3351,7 +3351,7 @@ class OOMAnalyser: ) return - # Search node with memory shortage: watermark "free" < "min" + # Node with memory shortage: watermark "free" < "min" node = self.oom_result.details["trigger_proc_numa_node"] if node is None: return @@ -4456,6 +4456,8 @@ Out of memory: Killed process 651 (unattended-upgr) total-vm:108020kB, anon-rss: show_elements(".js-memory-heavy-fragmentation--show") else: show_elements(".js-memory-no-heavy-fragmentation--show") + if self.oom_result.details["trigger_proc_numa_node"] is None: + hide_elements(".js-memory-shortage-node--hide") def _show_page_size(self): """Show page size"""