rfjakob / earlyoom

earlyoom - Early OOM Daemon for Linux
MIT License
2.96k stars 157 forks source link

Earlyoom spams Journalctl and does not take LOGLEVEL=info #298

Closed SysAdminShed closed 1 year ago

SysAdminShed commented 1 year ago

Hello,

We've been running earlyoom for a while now and it works great.

But it does spam journalctl with the status which doesn't help us in debuging other possible issue.

I've tried adding in /etc/default/earlyoom :

LOGLEVEL=info

But, no joy.

Is there any command to lower the verbose of earlyoom ?

Thanks in advance,

rfjakob commented 1 year ago

Hi, you probably want to set -r 3600 or something

  -r INTERVAL               memory report interval in seconds (default 1), set
                            to 0 to disable completely
SysAdminShed commented 1 year ago

Hi,

Will setting the -r option to 3600, will reduce the efficiency of earlyoom to every 3600 second or only the report of memory status ?

Thanks in advance,

rfjakob commented 1 year ago

Only the report. It will react as quickly as before.

On Mon, 11 Sept 2023, 19:36 SysAdminShed, @.***> wrote:

Hi,

Will setting the -r option to 3600, will reduce the efficiency of earlyoom to every 3600 second or only the report of memory status ?

Thanks in advance,

— Reply to this email directly, view it on GitHub https://github.com/rfjakob/earlyoom/issues/298#issuecomment-1714312684, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACGA72JFFQMDCSK23QQZL3XZ5D2RANCNFSM6AAAAAA4QUH25Y . You are receiving this because you commented.Message ID: @.***>