Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
queryLog.py out of control with big log files
« previous
next »
Print
Pages: [
1
]
Author
Topic: queryLog.py out of control with big log files (Read 1638 times)
Marin BERNARD
Newbie
Posts: 16
Karma: 2
queryLog.py out of control with big log files
«
on:
June 30, 2020, 11:28:43 am »
Hi,
In an attempt to increase on-disk log file retention, we adjusted the log file size parameter to 100 000 000 bytes. Since then, trying to browse records from any log from the GUI results in the
/usr/local/opnsense/scripts/systemhealth/queryLog.py
process eating all available memory (several GB) until complete RAM + swap exhaustion, making the box unresponsive until restarted.
Should a bug be opened for this on GitHub ? IMHO, this is a serious issue.
Thanks,
Logged
--
Marin BERNARD
System administrator
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: queryLog.py out of control with big log files
«
Reply #1 on:
July 02, 2020, 03:57:10 pm »
Note that scan size is more or less linear with clog file size. With big clog files this will happen and cannot be fixed as we aways have to scan the full buffer (if it is filling up).
20.7 will be able to switch to log archive rotation.
Cheers,
Franco
Logged
Marin BERNARD
Newbie
Posts: 16
Karma: 2
Re: queryLog.py out of control with big log files
«
Reply #2 on:
July 02, 2020, 03:59:05 pm »
This would be great!
Many thanks for taking the time to answer.
Logged
--
Marin BERNARD
System administrator
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
queryLog.py out of control with big log files