Low disk space on ns* hosts #13548
Labels
No labels
announcement
anubis
authentication
aws
backlog
blocked
bodhi
ci
cloud
communishift
copr
database
day-to-day
dc-move
deprecated
dev
discourse
dns
downloads
easyfix
epel
firmitas
forgejo_migration
Gain
High
Gain
Low
Gain
Medium
gitlab
greenwave
hardware
help wanted
high-trouble
koji
koschei
lists
low-trouble
medium-trouble
mirrorlists
monitoring
Needs investigation
odcs
OpenShift
ops
outage
packager_workflow_blocker
pagure
permissions
Priority
Needs Review
Priority
Next Meeting
Priority
🔥 URGENT 🔥
Priority
Waiting on Assignee
Priority
Waiting on External
Priority
Waiting on Reporter
rabbitmq
release-monitoring
releng
request-for-resources
s390x
security
SMTP
sprint-0
sprint-1
src.fp.o
staging
unfreeze
waiverdb
websites-general
wiki
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Depends on
Reference
infra/tickets#13548
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description of request
We got an 80% warning for ns01 today, but looking into it, they're all slowly running out of space. It seems like it was stable until around the start of August, and it's been steadily rising ever since:
They won't run out imminently, but we should investigate and fix the issue before they do.
I can't see anything obvious that changed, although the
/etc/logrotate.ddir. being timestamped Aug 1st and/var/log/messagesrotations being uncompressed and 1-2GB each is a possible hint at a solution if nothing else.yeah, I saw the logs looked a bit large - I wonder if it's nothing more than increased DNS traffic that accounts for the space use.
Yeah, its definitely logs...
There's a ton of firewall messages:
Sep 6 00:28:39 ns01 kernel: IN=eth0 OUT= MAC=52:54:00:e4:7e:47:02:00:5e:00:01:01:08:00 SRC= DST=10.16.163.33 LEN=74 TOS=0x00 PREC=0x00 TTL=44 ID=58669 PROTO=UDP SPT=51586 DPT=53 LEN=54
What is doing those? I don't see anything in nftables... but those are a) useless and b) very noisy. ;)
Yeh, I saw those ... they are from the ip_country filters which all have log in their rules. The counts on the rules don't seem that big, so I didn't think it was a bunch more than normal (but not sure), but obviously the text logs expand the size a lot (also the fact we don't compress them).
I tried to work out where the rsyslog file for logrotate come from. Traced through a bunch of ansible, and eventually realized the obvious it's the default file from the rsyslog pkg.
I created a PR+FBR for the log file compression. Stopping the firewall logging requires changes to the script in the private repo. though, so maybe leave until post freeze ... or do the FBR for it here?
Well, the compress pr has enough votes... so I guess we can try that first and if it's still a problem look at removing the log messages?
and we can remove them after freeze in any case.
This is looking good, I think:
41M vs 2.3G is much better, as expected 😁 - and disk use is falling:
I think we should keep this open for another week or so to check, and then close if it's still good.
Seems to have stabilised, here's ns01 over 30 days. Closing this as complete.