Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2 Rewrite - Added Journald check and reduced memory footprint #26

Merged
merged 65 commits into from
Jun 5, 2024

Conversation

LukeShirnia
Copy link
Owner

@LukeShirnia LukeShirnia commented Apr 11, 2023

Rewrite of oom analyzer to:

  • Check journald logs
  • Massively reduce memory footprint
    • Remove file size limit
  • Supports more Linux/Unix OS systems
  • Python 2.7 to 3.9 compatibility
  • Always show highest oom instance

Resolves #23
Resolves #17

To Do

  • Verify the total RAM at OOM Incident is being calculated correctly (seems a little "off" at the moment)
  • Do a quick scan (-q) if default system logs is empty
    • Provide option to select other options if oom instances are found elsewhere
  • Read "pages RAM" from kernel logs to get accurate RAM of system at time of incident
  • Add unit tests - specifically for regex to check journald/dmesg and system log files
  • Add black/pylint/isort github actions
  • Add python2.7-3.9 tests to make sure changes don't affect compatibility

Example Output

oomincident

@LukeShirnia LukeShirnia self-assigned this Jun 5, 2024
@LukeShirnia LukeShirnia merged commit 35189f6 into master Jun 5, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FR: Add override for 300MB file limit Add journalctl compatibility
1 participant