Hide node if none of the nodes has memory shortage
This commit is contained in:
parent
bd3085c667
commit
cbd16d266f
@ -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) {
|
||||
<td class="trigger_proc_mem_zone text--align-right"></td>
|
||||
<td>Memory zone from which the requested storage chunk should come.</td>
|
||||
</tr>
|
||||
<tr class="js-oom-automatic--show">
|
||||
<tr class="js-text--default-hide js-oom-automatic--show js-memory-shortage-node--hide">
|
||||
<td>Requested memory: node</td>
|
||||
<td class="trigger_proc_numa_node text--align-right"></td>
|
||||
<td>
|
||||
|
@ -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"""
|
||||
|
Loading…
Reference in New Issue
Block a user