Carsten Grohmann
bd3085c667
Show memory watermarks together will all details
2023-03-23 21:49:08 +01:00
Carsten Grohmann
ae1bcda939
Extract explanatory patterns in variables
...
and extend the tests for presence and absence.
2023-03-17 22:26:34 +01:00
Carsten Grohmann
f2b0bf42c6
Add a non-breaking space between number and unit
2023-03-16 23:00:36 +01:00
Carsten Grohmann
8a1083cf4b
Refactoring to determine the page size
2023-03-15 23:09:01 +01:00
Carsten Grohmann
56d519cc8f
Restructure storing buddyinfo and watermarks infos
2023-03-14 20:31:59 +01:00
Carsten Grohmann
470e5acf55
Restructure extraction of node with mem shortage
...
Watermark extraction is performed only once and the result is now
stored in OOMResult.details["trigger_proc_numa_node"].
2023-03-14 13:31:35 +01:00
Carsten Grohmann
91caad251e
Add check for heavy memory fragmentation
2023-03-14 13:31:35 +01:00
Carsten Grohmann
ec8b4c2374
Add analysis why the memory request failed
2023-03-14 13:31:35 +01:00
Carsten Grohmann
beb00ce17e
Add MAX_ORDER constant
2023-03-14 13:31:35 +01:00
Carsten Grohmann
17536301d6
Extract and store memory watermark information
2023-01-14 22:14:03 +01:00
Carsten Grohmann
fd3acbb16d
Extract free memory of each node from buddy info
2023-01-14 21:54:44 +01:00
Carsten Grohmann
48cc058df1
Update copyright years
2023-01-13 22:12:43 +01:00
Carsten Grohmann
f281642379
Extract and store free memory chunks
2023-01-13 22:12:43 +01:00
Carsten Grohmann
ab2905e0ae
Display missing memory chunks (buddyinfo) again
2022-11-24 06:46:38 +01:00
Carsten Grohmann
82c8af8842
Rework handling of GFP flags
2022-08-17 21:47:21 +02:00
Carsten Grohmann
84073ba0ce
Fix calculation of GFP flags
2022-07-03 21:41:12 +02:00
Carsten Grohmann
6d8851b1d6
Blackify source
...
Use Black "The uncompromising code formatter" to automatically format
the source code in a consistent manner.
2022-06-27 21:19:21 +02:00
Carsten Grohmann
20df3fa4f9
Add test for memory allocation flags
2022-06-17 21:26:36 +02:00
Carsten Grohmann
dcd8055258
Fix memory calculation in summary section
2022-03-26 12:26:52 +01:00
Carsten Grohmann
c9c36ce9e4
Fix type hint in docstring
2022-01-12 20:04:31 +01:00
Carsten Grohmann
a549a76fa2
Adapt tests to modified Selenium API
2022-01-04 17:26:23 +01:00
Carsten Grohmann
e320fa56a0
Update copyright years
2022-01-02 13:35:09 +01:00
Carsten Grohmann
7d6ba199b7
Unify naming
2021-12-26 23:33:07 +01:00
Carsten Grohmann
9404c87519
Add support for newer process table format
2021-12-21 20:32:49 +01:00
Carsten Grohmann
a7e1e4cc64
Add support for journalctl output
...
The lines in the "Mem-Info:" block start with spaces instead of date /
time / hostname. As a result, removing the needless columns no longer
works correctly.
Suggested-by: Mikko Rantalainen <mikko.rantalainen@gmail.com>
2021-11-29 20:59:14 +01:00
Carsten Grohmann
aa28e0bb7c
Hide "OOM Score" if not available
2021-10-25 22:06:17 +02:00
Carsten Grohmann
5b9a4712e2
Add support for newer kernels
...
Suggested-by: Mikko Rantalainen <mikko.rantalainen@gmail.com>
2021-10-23 20:29:49 +02:00
Carsten Grohmann
c8a6f74d03
Move more configuration to class BaseKernelConfig
2021-10-09 23:22:12 +02:00
Carsten Grohmann
c1a5ed3420
Add support for systems w/o swap
...
Suggested-by: Mikko Rantalainen <mikko.rantalainen@gmail.com>
2021-10-09 22:06:16 +02:00
Carsten Grohmann
8ed7678a74
Add support for manually triggered OOM
...
Suggested-by: Mikko Rantalainen <mikko.rantalainen@gmail.com>
2021-10-04 20:46:43 +02:00
Carsten Grohmann
7af0c1d7e8
Restructure code to analyse OOM
...
This code changes should simplify future extension of the analysis and
calculation code.
2021-09-27 21:06:47 +02:00
Carsten Grohmann
f0b4ac895c
Extend JS MOC objects
2021-09-20 20:21:39 +02:00
Carsten Grohmann
6528b96adb
Restructure regex for better error messages
2021-09-14 20:19:32 +02:00
Carsten Grohmann
f088d861e2
Fix wrong domain in email address
2021-09-04 22:49:48 +02:00
Carsten Grohmann
7fbbeace61
Remove overseen debug code
2021-07-28 21:00:14 +02:00
Carsten Grohmann
41a51a7e2a
Rework removal of unused information
...
The columns left to the oom are not used. With this change, the
algorithm becomes more robust and can better handle known special
cases like "kernel:<processname>".
2021-07-24 00:28:38 +02:00
Carsten Grohmann
1abf455711
Use Webdriver Manager for browser compatibility
...
Version mismatch between browser and selenium driver breaks the tests.
The Webdriver manager automatically ensures the compatibility by
downloading the right driver for the installed browser.
2021-07-21 22:40:41 +02:00
Carsten Grohmann
db64b42393
Extend unit tests
2021-07-21 21:31:18 +02:00
Carsten Grohmann
000b6635ec
Typos
2021-07-21 21:04:11 +02:00
Carsten Grohmann
e283ff2019
Fix to allow process names with spaces
2021-07-18 14:29:40 +02:00
Carsten Grohmann
04002ab6e6
Extent unit tests
2021-07-17 22:36:04 +02:00
Carsten Grohmann
ecf9ba11fd
Add selenium based unit tests
2021-07-15 06:51:17 +02:00