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

logs becoming enormous ~ 17 G! Is it OK to delete manually? #1855

Open
EdNett opened this issue Jan 29, 2025 · 1 comment
Open

logs becoming enormous ~ 17 G! Is it OK to delete manually? #1855

EdNett opened this issue Jan 29, 2025 · 1 comment

Comments

@EdNett
Copy link

EdNett commented Jan 29, 2025

Hello,

Certain logs are becoming huge on a just updated (barracuda + octopus) lts:

var/log/scan_nginx_flood_debug.log = 11 G
var/log/scan_nginx_admin_debug.log = 5 G
var/log/scan_nginx_other_debug.log = 1 G

Shouldn't these be rotated, or should we just delete them occasionally?
Can we safely delete them or do we have to truncate them, leaving the log file in place?
Does this indicate a problem with this vps undergoing too many hacking attempts?

boa info more is here: https://gist.github.com/EdNett/d009560edb7b1fc15a9cdd8992e56126

Thank you.

Ed

@reswild
Copy link
Contributor

reswild commented Jan 29, 2025

It should be safe to just delete those log files.

You might want to check your logging level too. You might have set this to verbose, which you should probably only use for debugging.

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

No branches or pull requests

2 participants