Skip to content

Commit 3e0d32b

Browse files
authored
Hotfix max size of journalctl collector (infra) (#1877)
Hotfix maxlen of collector
1 parent 6f591d1 commit 3e0d32b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

checkbox-ng/plainbox/impl/session/system_information.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@ def __init__(self):
285285
"json",
286286
"--since",
287287
"-3 days",
288+
"-n",
289+
"80000", # limit the lines to 80k, ~80Mb of memory
288290
],
289291
version_cmd=["journalctl", "--version"],
290292
)

0 commit comments

Comments
 (0)