OOMAnalyser/OOMAnalyser.html

747 lines
26 KiB
HTML
Raw Normal View History

2017-11-25 12:52:55 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<script src="__javascript__/OOMAnalyser.js" defer="defer"></script>
<meta charset="UTF-8">
<title>OOM Analyser</title>
<style>
2019-11-24 10:46:44 +01:00
/* Use BEM (Block__Element--Modifier) naming convention */
2017-11-25 12:52:55 +01:00
2018-10-13 19:00:09 +02:00
.text--append-suffix-kbytes {
2017-11-25 12:52:55 +01:00
text-align: right;
}
2018-10-13 19:00:09 +02:00
.text--append-suffix-kbytes::after {
2017-11-25 12:52:55 +01:00
content: " kBytes";
}
2018-10-13 19:00:09 +02:00
.text--append-suffix-pages {
2017-11-25 12:52:55 +01:00
text-align: right;
}
2018-10-13 19:00:09 +02:00
.text--append-suffix-pages::after {
2017-11-25 12:52:55 +01:00
content: " pages";
}
2018-10-13 19:00:09 +02:00
.text--align-right {
2018-04-16 21:40:52 +02:00
text-align: right;
}
.text__superscript {
vertical-align: super;
font-size: 0.83em;
}
.js-text--default-hide {
/* empty just used to hide elements in the default view */
}
.js-text--default-show {
/* empty just used to show elements in the default view */
}
.table__sub-section--bold {
font-weight: bold;
}
a {
text-decoration: none;
}
a:hover, a:active {
text-decoration: underline;
}
.a--small {
font-size: small;
font-weight: unset;
padding: unset;
}
.a__footnote {
vertical-align: super;
font-size: 0.83em;
}
.h2--no-newline {
/* Prevent a linebreak after headline to a place a link on the same line */
/* Place such headlines within a div container if the next element can be invisible */
display: inline-block;
}
2018-10-13 19:00:09 +02:00
svg {
display: block;
max-height: 200px;
}
2017-11-25 12:52:55 +01:00
table {
border-collapse: collapse;
padding: 10px;
table-layout: fixed;
text-align: left;
width: 100%;
}
th {
font-weight: bold;
font-size: large;
padding: 5px;
}
th, td {
border: 1px solid black;
word-wrap: break-word;
}
2018-10-13 19:00:09 +02:00
/* Zebra-Layout */
tr:nth-child(odd) td:nth-child(2), tr:nth-child(odd) td:nth-child(3) {
background-color: #f2f2f2;
2017-11-25 12:52:55 +01:00
}
2018-10-13 19:00:09 +02:00
.js-notify_box__msg--warning {
color: #9F6000;
background-color: #FEEFB3;
}
.js-notify_box__msg--error {
color: #D8000C;
background-color: #FFD2D2;
}
.js-text--display-none {
display: none;
}
2018-10-13 19:00:09 +02:00
.license__text {
font-size: small;
2017-11-25 12:52:55 +01:00
}
2018-10-13 19:00:09 +02:00
.notify_box {
width: 100%;
2017-11-25 12:52:55 +01:00
}
2018-10-13 19:00:09 +02:00
.terminal {
font-family: monospace;
overflow: auto;
}
.table-of-contents {
float: right;
width: 40%;
background: #eee;
font-size: 0.8em;
padding: 1em 2em;
margin: 0 0 0.5em 0.5em;
}
.table-of-contents ul {
padding: 0;
}
.table-of-contents li {
margin: 0 0 0.25em 0;
}
2017-11-25 12:52:55 +01:00
</style>
<script>
function goBack() {
window.history.back();
}
</script>
</head>
<body>
<h1>Analyse and visualise Linux OOM output</h1>
<nav class="table-of-contents" id="table_of_contents" role="navigation">
<h2>On this page</h2>
<ul>
</ul>
</nav>
2017-11-25 12:52:55 +01:00
<p>
2019-12-05 06:44:20 +01:00
OOMAnalyser is a small project to transform the OOM message of a Linux kernel into a more user-friendly format.
2017-11-25 12:52:55 +01:00
</p>
<p>
2019-12-05 06:44:20 +01:00
OOMAnalyser consists of a web page into whose input field the OOM message is copied. JavaScript code extracts
the data from it and displays the details. All processing takes place in the browser. No data is transferred
to external servers. This makes it possible to use a locally stored copy of the website for analysis.
This project is written in <a href="https://www.python.org">Python</a> and uses
<a href="https://www.transcrypt.org/">Transcrypt</a> to translate Python code into JavaScript.
2017-12-04 19:44:48 +01:00
</p>
<p>
<div class="terminal notify_box js-text--default-hide js-text--display-none" id="notify_box"></div>
<div class="js-text--default-show" id="input">
<h2 id="step1">Step 1 - Enter your OOM message</h2>
<textarea autocomplete="off" cols="100" id="textarea_oom" onfocusin="OOMAnalyser.OOMDisplayInstance.empty_textarea_oom()" rows="20" title="OOM input field">Add your OOMhere</textarea>
2017-11-25 12:52:55 +01:00
<br/>
<button onclick="OOMAnalyser.OOMDisplayInstance.analyse_and_show()" title="Analyse the OOM from the input area and show it">Analyse</button>
<button onclick="OOMAnalyser.OOMDisplayInstance.reset_form()" title="Clean the input area">Reset</button>
<button onclick="OOMAnalyser.OOMDisplayInstance.copy_example_to_form()" title="Copy an example OOM into the input area">Insert example</button>
2017-12-04 19:44:48 +01:00
</div>
2017-11-25 12:52:55 +01:00
<div class="js-text--default-hide js-text--display-none" id="analysis">
2017-12-04 19:44:48 +01:00
<h2 id="step2">Step 2 - Results</h2>
2017-12-04 19:44:48 +01:00
<p>
Go back to
<a href="javascript:void(0);" onclick="OOMAnalyser.OOMDisplayInstance.reset_form()" title="Run a new analysis">&quot;Step 1 - Enter your OOM message&quot;</a>
2017-12-04 19:44:48 +01:00
to run a new analysis.
</p>
<p>
The result of the analysis is displayed in three columns. The first column is used to name the property
including the original OOM identifier in brackets. The extracted information is displayed in the second column.
The last column contains further details and additional information.
</p>
2017-11-25 12:52:55 +01:00
<table>
<!--
<thead>
<tr>
<th scope="col"></th>
<th scope="col">Entry</th>
<th scope="col">Description</th>
</tr>
</thead>
-->
<tbody>
<!-- Trigger process -->
<tr>
2018-04-11 20:24:42 +02:00
<th scope="row" colspan="3">Tigger Process</th>
2017-11-25 12:52:55 +01:00
</tr>
<tr>
<td></td>
2018-10-13 19:00:09 +02:00
<td class="text--align-right"><span id="trigger_proc_name"></span> (PID <span id="trigger_proc_pid"></span>)</td>
2019-11-04 21:14:06 +01:00
<td>This process requests memory and is triggering thereby the OOM situation.</td>
2017-11-25 12:52:55 +01:00
</tr>
<tr>
<td>Memory allocation flags<br>(gfp_mask)</td>
2018-10-13 19:00:09 +02:00
<td id="trigger_proc_gfp_mask" class="text--align-right"></td>
<td>These flags are used to control the kernel internal memory allocation<br>
2019-11-04 21:14:06 +01:00
GFP stands for <code>__get_free_pages()</code>.</td>
</tr>
<tr>
<td>Node mask to show on which CPU Cores this process can run<br>(nodemask)</td>
2018-10-13 19:00:09 +02:00
<td id="trigger_proc_nodemask" class="text--align-right"></td>
2019-11-04 21:14:06 +01:00
<td>Bit mask indicating the cores on which the process can run.</td>
</tr>
<tr>
<td>Requested memory<br>(order)</td>
2018-10-13 19:00:09 +02:00
<td class="text--align-right">
2018-10-16 19:57:29 +02:00
<span id="trigger_proc_requested_memory"></span> (2<span id="trigger_proc_order" class="text__superscript"></span>) pages /
2018-10-13 19:00:09 +02:00
<span class="text--append-suffix-kbytes" id="trigger_proc_requested_memory_kbytes"></span>
</td>
<td>The kernel specifies the requested number of pages as exponent of power of two.
</tr>
<tr>
<td>Adjust oom-killer score<br>(oom_score_adj)</td>
2018-10-13 19:00:09 +02:00
<td id="trigger_proc_oomscore" class="text--align-right"></td>
<td>
This value is added to the badness score before it's used to determine the process to be killed.
</td>
</tr>
2017-11-25 12:52:55 +01:00
<!-- Killed Process -->
<tr>
2018-04-11 20:24:42 +02:00
<th scope="row" colspan="3">Killed Process</th>
2017-11-25 12:52:55 +01:00
</tr>
<tr>
<td></td>
2018-10-13 19:00:09 +02:00
<td class="text--align-right"><span id="killed_proc_name"></span> (PID <span id="killed_proc_pid"></span>)</td>
2019-11-04 21:14:06 +01:00
<td>Process killed by Linux kernel to satisfy the memory request.</td>
2017-11-25 12:52:55 +01:00
</tr>
<tr>
<td>OOM Score<br>(score)</td>
2018-10-13 19:00:09 +02:00
<td id="killed_proc_score" class="text--align-right"></td>
2019-11-04 21:17:37 +01:00
<td>Programs with the highest OOM score are terminated first.</td>
2017-11-25 12:52:55 +01:00
</tr>
<tr>
<td>Virtual Memory <br> (total-vm) </td>
2018-10-13 19:00:09 +02:00
<td id="killed_proc_vm_kb" class="text--append-suffix-kbytes"></td>
2019-11-04 21:14:06 +01:00
<td>Virtual memory used by this process.</td>
2017-11-25 12:52:55 +01:00
</tr>
<tr>
<td>Resident anonymous memory <br> (anon-rss) </td>
2018-10-13 19:00:09 +02:00
<td id="killed_proc_anon_rss_kb" class="text--append-suffix-kbytes"></td>
2019-11-04 21:14:06 +01:00
<td>Part of the virtual process memory mapped into RAM.</td>
2017-11-25 12:52:55 +01:00
</tr>
<tr>
<td>Resident file mapping memory <br> (file-rss) </td>
2018-10-13 19:00:09 +02:00
<td id="killed_proc_file_rss_kb" class="text--append-suffix-kbytes"></td>
2017-11-25 12:52:55 +01:00
<td>Files which have been mapped into RAM (with
2019-11-04 21:14:06 +01:00
<a href="http://man7.org/linux/man-pages/man2/mmap.2.html">mmap(2).</a>)
2017-11-25 12:52:55 +01:00
</td>
</tr>
<tr>
<td>Resident shared memory <br> (shmem-rss) </td>
2018-10-13 19:00:09 +02:00
<td id="killed_proc_shmem_rss_kb" class="text--append-suffix-kbytes"></td>
2019-11-04 21:14:06 +01:00
<td>This may include System V shared memory and shared anonymous memory.</td>
2017-11-25 12:52:55 +01:00
</tr>
2018-04-11 20:24:42 +02:00
<!-- Memory Usage Graphs -->
2017-11-25 12:52:55 +01:00
<tr>
2018-04-11 20:24:42 +02:00
<th scope="row" colspan="3">Memory Usage Graphs</th>
2017-11-25 12:52:55 +01:00
</tr>
<tr>
<td class="table__sub-section--bold">RAM Summary</td>
2017-11-25 12:52:55 +01:00
<td colspan="2"><div id="svg_ram"></div></td>
</tr>
<tr>
<td class="table__sub-section--bold">Swap Summary</td>
2017-11-25 12:52:55 +01:00
<td colspan="2"><div id="svg_swap"></div></td>
</tr>
2018-04-15 20:14:29 +02:00
<!-- Page Usage -->
<tr>
<td class="table__sub-section--bold">Memory Pages</td>
2018-04-15 20:14:29 +02:00
<td></td>
<td></td>
</tr>
<tr>
<td>RAM pages</td>
2018-10-13 19:00:09 +02:00
<td id="ram_pages" class="text--append-suffix-pages"></td>
2018-04-15 20:14:29 +02:00
<td>Total number of RAM pages
</td>
</tr>
<tr>
<td>HighMem/MovableOnly</td>
2018-10-13 19:00:09 +02:00
<td id="highmem_pages" class="text--append-suffix-pages"></td>
2018-04-15 20:14:29 +02:00
<td>Number of pages in the High Memory Area or marked movable for Contiguous Memory Allocator (CMA).
<br>
HighMem pages are also counted in the total page number.
</td>
</tr>
<tr>
<td>Reserved pages</td>
2018-10-13 19:00:09 +02:00
<td id="reserved_pages" class="text--append-suffix-pages"></td>
2018-04-15 20:14:29 +02:00
<td>Number of reserved pages
</td>
</tr>
<tr>
<td>CMA reserved pages</td>
2018-10-13 19:00:09 +02:00
<td id="cma_pages" class="text--append-suffix-pages">0</td>
2018-04-15 20:14:29 +02:00
<td>Pages reserved for Contiguous Memory Allocator (CMA)
</td>
</tr>
<tr>
<td>Pagetable Cache</td>
2018-10-13 19:00:09 +02:00
<td id="pagetablecache_pages" class="text--append-suffix-pages">0</td>
2018-04-15 20:14:29 +02:00
<td>Number of pages in pagetable cache
</td>
</tr>
<tr>
<td>Number of pages with hardware errors</td>
2018-10-13 19:00:09 +02:00
<td id="hwpoisoned_pages" class="text--append-suffix-pages">0</td>
2018-04-15 20:14:29 +02:00
<td>Pages with uncorrectable memory errors
</td>
</tr>
<!-- Memory Usage Details -->
2017-11-25 12:52:55 +01:00
<tr>
<td class="table__sub-section--bold">Memory Usage Details</td>
2017-11-25 12:52:55 +01:00
<td></td>
<td></td>
</tr>
<tr>
<td>Active anonymous memory <br> (active_anon) </td>
2018-10-13 19:00:09 +02:00
<td id="active_anon_pages" class="text--append-suffix-pages"></td>
2017-11-25 12:52:55 +01:00
<td>Recently used anonymous memory.<br>
These memory pages will usually not swapped out.
</td>
</tr>
<tr>
<td>Inactive anonymous memory <br> (inactive_anon)</td>
2018-10-13 19:00:09 +02:00
<td id="inactive_anon_pages" class="text--append-suffix-pages"></td>
2017-11-25 12:52:55 +01:00
<td>Least recently used anonymous memory.<br>
These memory pages can be swapped out.
</td>
</tr>
<tr>
<td>Isolated anonymous memory <br> (isolated_anon)</td>
2018-10-13 19:00:09 +02:00
<td id="isolated_anon_pages" class="text--append-suffix-pages"></td>
2017-11-25 12:52:55 +01:00
<td>Memory isolation is used to separate memory between different virtual machines.</td>
</tr>
<tr>
<td>Active Pagecache <br> (active_file)</td>
2018-10-13 19:00:09 +02:00
<td id="active_file_pages" class="text--append-suffix-pages"></td>
2017-11-25 12:52:55 +01:00
<td>Pagecache that has been used more recently and usually not reclaimed unless absolutely necessary.</td>
</tr>
<tr>
<td>Inactive Pagecache <br> (inactive_file)</td>
2018-10-13 19:00:09 +02:00
<td id="inactive_file_pages" class="text--append-suffix-pages"></td>
2017-11-25 12:52:55 +01:00
<td>Pagecache which has been less recently used. It can be reclaimed without huge performance impact.</td>
</tr>
<tr>
<td>Isolated Pagecache <br> (isolated_file)</td>
2018-10-13 19:00:09 +02:00
<td id="isolated_file_pages" class="text--append-suffix-pages"></td>
2017-11-25 12:52:55 +01:00
<td>Memory isolation is used to separate memory between different virtual machines.</td>
</tr>
<tr>
<td>Unevictable Pages <br> (unevictable)</td>
2018-10-13 19:00:09 +02:00
<td id="unevictable_pages" class="text--append-suffix-pages"></td>
2017-11-25 12:52:55 +01:00
<td>Unevictable memory. It can't be swapped out because the pages are owned by ramfs or protected by
<a href="http://man7.org/linux/man-pages/man3/mlock.5.html" target="_blank">mlock(3)</a> /
<a href="http://man7.org/linux/man-pages/man2/shmctl.2.html" target="_blank">shmctl(SHM_LOCK)</a>.
Unevictable pages are managed by kernels LRU framework.
</td>
</tr>
<tr>
<td>Dirty Pages <br> (dirty)</td>
2018-10-13 19:00:09 +02:00
<td id="dirty_pages" class="text--append-suffix-pages"></td>
2017-12-04 19:44:48 +01:00
<td>Memory which is waiting to get written back to the disk.
<a class="a__footnote" href="#footnote-proc5">[1]</a>
2017-11-25 12:52:55 +01:00
</td>
</tr>
<tr>
<td>Writeback <br> (writeback)</td>
2018-10-13 19:00:09 +02:00
<td id="writeback_pages" class="text--append-suffix-pages"></td>
2017-11-25 12:52:55 +01:00
<td>
Memory which is actively being written back to the disk.
<a class="a__footnote" href="#footnote-proc5">[1]</a>
2017-11-25 12:52:55 +01:00
</td>
</tr>
<tr>
<td>Unstable <br> (unstable)</td>
2018-10-13 19:00:09 +02:00
<td id="unstable_pages" class="text--append-suffix-pages"></td>
2017-11-25 12:52:55 +01:00
<td>Not yet committed to stable storage.</td>
</tr>
<tr>
<td>Slab Reclaimable <br> (slab_reclaimable)</td>
2018-10-13 19:00:09 +02:00
<td id="slab_reclaimable_pages" class="text--append-suffix-pages"></td>
2017-11-25 12:52:55 +01:00
<td>
Slab is a in-kernel data structures cache. Part of Slab, that might be reclaimed, such as caches.
<a class="a__footnote" href="#footnote-proc5">[1]</a>
2017-11-25 12:52:55 +01:00
<br>
Additional details are listed in
<a href="http://man7.org/linux/man-pages/man5/slabinfo.5.html" target="_blank">slabinfo(5)</a> also.
</td>
</tr>
<tr>
<td>Slab Unreclaimable <br> (slab_unreclaimable)</td>
2018-10-13 19:00:09 +02:00
<td id="slab_unreclaimable_pages" class="text--append-suffix-pages"></td>
2017-11-25 12:52:55 +01:00
<td>
Part of Slab, that cannot be reclaimed on memory pressure.
<a class="a__footnote" href="#footnote-proc5">[1]</a>
2017-11-25 12:52:55 +01:00
</td>
</tr>
<tr>
<td>Mapped <br> (mapped)</td>
2018-10-13 19:00:09 +02:00
<td id="mapped_pages" class="text--append-suffix-pages"></td>
2017-11-25 12:52:55 +01:00
<td>
Files which have been mapped into memory (with
<a href="http://man7.org/linux/man-pages/man2/mmap.2.html">mmap(2)</a>), such as libraries.
<a class="a__footnote" href="#footnote-proc5">[1]</a>
2017-11-25 12:52:55 +01:00
</td>
</tr>
<tr>
<td>Shared Memory <br> (shmem)</td>
2018-10-13 19:00:09 +02:00
<td id="shmem_pages" class="text--append-suffix-pages"></td>
2017-11-25 12:52:55 +01:00
<td>
Amount of memory consumed in
<a href="http://man7.org/linux/man-pages/man5/tmpfs.5.html">tmpfs(5)</a>
filesystems.
<a class="a__footnote" href="#footnote-proc5">[1]</a>
2017-11-25 12:52:55 +01:00
</td>
</tr>
<tr>
<td>Pagetables <br> (pagetables)</td>
2018-10-13 19:00:09 +02:00
<td id="pagetables_pages" class="text--append-suffix-pages"></td>
2017-11-25 12:52:55 +01:00
<td>
Amount of memory dedicated to the lowest level of pagetables.
<a class="a__footnote" href="#footnote-proc5">[1]</a>
2017-11-25 12:52:55 +01:00
</td>
</tr>
<tr>
<td>Bounce <br> (bounce)</td>
2018-10-13 19:00:09 +02:00
<td id="bounce_pages" class="text--append-suffix-pages"></td>
2017-11-25 12:52:55 +01:00
<td>
Memory used for block device "bounce buffers".
<a class="a__footnote" href="#footnote-proc5">[1]</a>
2017-11-25 12:52:55 +01:00
</td>
</tr>
<tr>
<td>free <br> (free)</td>
2018-10-13 19:00:09 +02:00
<td id="free_pages" class="text--append-suffix-pages"></td>
2017-11-25 12:52:55 +01:00
<td></td>
</tr>
<tr>
<td>free_pcp <br> (free_pcp)</td>
2018-10-13 19:00:09 +02:00
<td id="free_pcp_pages" class="text--append-suffix-pages"></td>
2017-11-25 12:52:55 +01:00
<td></td>
</tr>
<tr>
<td>free_cma <br> (free_cma)</td>
2018-10-13 19:00:09 +02:00
<td id="free_cma_pages" class="text--append-suffix-pages"></td>
2017-11-25 12:52:55 +01:00
<td></td>
</tr>
<tr>
<td>Total Pagecache</td>
2018-10-13 19:00:09 +02:00
<td id="pagecache_total_pages" class="text--append-suffix-pages"></td>
2017-11-25 12:52:55 +01:00
<td></td>
</tr>
<!-- Swap Usage -->
<tr>
<td class="table__sub-section--bold">Swap Usage</td>
2017-11-25 12:52:55 +01:00
<td></td>
<td></td>
</tr>
<tr>
<td>Swap Total</td>
2018-10-13 19:00:09 +02:00
<td id="swap_total_kb" class="text--append-suffix-kbytes"></td>
2017-11-25 12:52:55 +01:00
<td>Total amount of swap space available.
<a class="a__footnote" href="#footnote-proc5">[1]</a>
2017-11-25 12:52:55 +01:00
</td>
</tr>
<tr>
<td>Swap Free</td>
2018-10-13 19:00:09 +02:00
<td id="swap_free_kb" class="text--append-suffix-kbytes"></td>
2017-11-25 12:52:55 +01:00
<td>Amount of swap space that is currently unused.
<a class="a__footnote" href="#footnote-proc5">[1]</a>
2017-11-25 12:52:55 +01:00
</td>
</tr>
<tr>
<td>Swap Cached</td>
2018-10-13 19:00:09 +02:00
<td id="swap_cache_kb" class="text--append-suffix-kbytes"></td>
2017-11-25 12:52:55 +01:00
<td>Memory that once was swapped out, is swapped back in
but still also is in the swap file. (If memory pres
sure is high, these pages don't need to be swapped out
again because they are already in the swap file. This
saves I/O).
<a class="a__footnote" href="#footnote-proc5">[1]</a>
2017-11-25 12:52:55 +01:00
</td>
</tr>
<tr>
<td>Swap Used</td>
2018-10-13 19:00:09 +02:00
<td id="swap_used_kb" class="text--append-suffix-kbytes"></td>
2017-11-25 12:52:55 +01:00
<td>Amount of used swap space w/o cached swap <br>
(<code>SwapUsed = SwapTotal - SwapFree -SwapCache</code>)
</td>
</tr>
<!-- Operating System -->
<tr>
<th scope="row" colspan="3">Operating System</th>
</tr>
<tr>
<td>Kernel</td>
2018-10-13 19:00:09 +02:00
<td id="kernel_version" class="text--align-right"></td>
2017-11-25 12:52:55 +01:00
<td></td>
</tr>
<tr>
<td>Distribution</td>
2018-10-13 19:00:09 +02:00
<td id="dist" class="text--align-right"></td>
2017-11-25 12:52:55 +01:00
<td>Guessed from the kernel version</td>
</tr>
<tr>
<td>Platform</td>
2018-10-13 19:00:09 +02:00
<td id="platform" class="text--align-right"></td>
2017-11-25 12:52:55 +01:00
<td>Guessed from the kernel version</td>
</tr>
<tr>
<td>Page size</td>
2018-10-13 19:00:09 +02:00
<td id="page_size" class="text--append-suffix-kbytes"></td>
2017-11-25 12:52:55 +01:00
<td>Guessed</td>
</tr>
<!-- Memory Chunks -->
<tr>
<th scope="row" colspan="3">Memory Chunks</th>
</tr>
<tr>
<td></td>
<td colspan="2" class="terminal">
<pre id="mem_node_info"></pre>
</td>
</tr>
<tr>
<th scope="row" colspan="3">Process Table</th>
</tr>
<tr>
<td></td>
<td colspan="2" class="terminal">
<pre id="process_table"></pre>
</td>
</tr>
<!-- Hardware Details -->
<tr>
<th scope="row" colspan="3">Hardware Details</th>
</tr>
<tr>
<td></td>
<td colspan="2" class="terminal">
<pre id="hardware_info"></pre>
</td>
</tr>
<!-- Kernel Call Tree -->
<tr>
<th scope="row" colspan="3">Kernel Call Trace</th>
</tr>
<tr>
<td></td>
<td colspan="2" class="terminal">
<pre id="call_trace"></pre>
</td>
</tr>
2017-12-04 19:44:48 +01:00
<!-- Initial OOM -->
<tr>
<th scope="row" colspan="3">Entire OOM Message
2018-10-13 19:00:09 +02:00
<a class="a--small" href="javascript:void(0);" id="oom_toogle_msg" onclick="OOMAnalyser.OOMDisplayInstance.toggle_oom()" title="Click to show/hide full OOM message">(click to hide)</a>
</th>
2017-12-04 19:44:48 +01:00
</tr>
<tr>
<td></td>
<td colspan="2" class="terminal">
<pre id="oom"></pre>
</td>
</tr>
2017-11-25 12:52:55 +01:00
</tbody>
</table>
2017-12-04 19:44:48 +01:00
<p>
Go back to
2019-10-30 21:20:31 +01:00
<a href="javascript:void(0);" onclick="OOMAnalyser.OOMDisplayInstance.reset_form()" title="Run a new analysis">&quot;Step 1 - Enter your OOM message&quot;</a>
2017-12-04 19:44:48 +01:00
to run a new analysis.
</p>
<h2 id="h2-footnotes">Footnotes</h2>
<ol>
<li id="footnote-proc5"><cite><a href="http://man7.org/linux/man-pages/man5/proc.5.html" target="_blank">
proc(5) - process information pseudo-filesystem</a></cite> (<a href="#" onclick="goBack()">Go Back</a>)
</li>
</ol>
2017-11-25 12:52:55 +01:00
</div>
<h2 id="infos">Further Information</h2>
<ol>
<li>
<a href="https://man7.org/">Linux man pages online</a>
</li>
<li>
<a href="https://utcc.utoronto.ca/~cks/space/blog/linux/DecodingPageAllocFailures">
Decoding the Linux kernel's page allocation failure messages
</a>
</li>
<li>
<a href="http://elearningmedium.com/linux-kernel-oom-log-analysis/">Linux Kernel OOM Log Analysis</a>
</li>
</ol>
<div>
<h2 class="h2--no-newline" id="changes">Changelog</h2>
<a class="a--small" href="javascript:void(0);" onclick="OOMAnalyser.toggle('changelog')"
title="Show / hide news">(click to show / hide)</a>
</div>
<div class="js-text--default-hide js-text--display-none" id="changelog">
2019-12-01 17:32:18 +01:00
<h3>Version 0.4.0 - 2020-XX-XX:</h3>
<h4>General</h4>
<ol>
<li>...</li>
</ol>
<h4>Note</h4>
See the
<a href="https://github.com/CarstenGrohmann/OOMAnalyser/compare/v0.3.0...master"
title="commit history">commit history</a>
of the repository for a full list of changes.
2019-11-24 10:46:44 +01:00
<h3>Version 0.3.0 - 2019-11-24:</h3>
<h4>General</h4>
<ol>
2019-11-24 10:46:44 +01:00
<li>Improve presentation</li>
<li>Separate analysis and visualisation code</li>
<li>Use CSS classes to control the visibility</li>
<li>Strip columns left to the message automatically</li>
<li>Lot if internal improvements and restructuring</li>
2019-11-24 10:46:44 +01:00
<li>Bug fixes</li>
</ol>
2019-11-24 10:46:44 +01:00
<!--
<h4>Known issues</h4>
<ol>
<li>none</li>
</ol>
2019-11-24 10:46:44 +01:00
-->
<h4>Note</h4>
2019-11-24 10:46:44 +01:00
See the
<a href="https://github.com/CarstenGrohmann/OOMAnalyser/compare/v0.2.0...v0.3.0"
title="commit history">commit history</a>
of the repository for a full list of changes.
</div>
<div>
<h2 class="h2--no-newline" id="install">Local Installation</h2>
<a class="a--small" href="javascript:void(0);" onclick="OOMAnalyser.toggle('installation')"
title="Show / hide installation guide">(click to show / hide)</a>
</div>
<div class="js-text--default-hide js-text--display-none" id="installation">
Installing OOMAnalyser is quite easy since OOMAnalyser consists only of two files, a
HTML file and a JavaScript file. Both can be stored locally to use OOMAnalyser
without an Internet connection.
<h3>Installation steps</h3>
<ol>
<li>Create an own directory and add a <code>__javascript__</code> subdirectory</li>
<li>Download the <a download="OOMAnalyser.html" href="OOMAnalyser.html">HTML file</a> to the main directory and
the <a download="OOMAnalyser.js" href="__javascript__/OOMAnalyser.js">JavaScript file</a> to the
<code>__javascript__</code> subdirectory
</li>
<li>Open the file <code>OOMAnalyser.html</code> in your favourite browser.</li>
</ol>
</div>
2017-11-25 12:52:55 +01:00
<hr/>
<div class="footer">
OOMAnalyser <span id="version"></span> |
2019-02-07 20:52:37 +01:00
Copyright (C) 2017-2019 Carsten Grohmann |
2017-11-25 12:52:55 +01:00
<a href="javascript:void(0);" onclick="OOMAnalyser.toggle('license')" title="Show / hide license text">License: MIT</a> |
<a href="https://github.com/CarstenGrohmann/OOMAnalyser" title="Source code on GitHub">Source Code on GitHub</a>
</div>
<div class="license__text js-text--display-none" id="license">
2017-11-25 12:52:55 +01:00
<p>
2019-02-07 20:52:37 +01:00
Copyright (c) 2017-2019 Carsten Grohmann mail &lt;add at here&gt; carsten-grohmann.de
2017-11-25 12:52:55 +01:00
</p>
<p>
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
</p>
<p>
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
</p>
<p>
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
</p>
</div>
</body>
</html>