Troubleshooting Disk Space Issues #9155
-
Hi! The
/opt/so/saltstack/local/pillar/minions/so_manager.sls
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 6 replies
-
Good morning, Will! It looks like you probably have a bunch of old Docker images from past upgrades in /nsm/docker-registry; if you run "docker images", does it go back several versions? You can clear those out with "sudo so-docker-prune". You're using a lot of storage in /nsm/wazuh - you might want to consider deleting some of the old logs in /nsm/wazuh/logs/archives or migrating them off to long-term storage. The log_size_limit is the point at which Curator will start deleting old indices to free up space, so it will kick in at 216GB of Elasticsearch data -- but with that much space being taken up by old images and Wazuh logs, it will never get there and the volume will just fill up. Hope that helps! --Matt |
Beta Was this translation helpful? Give feedback.
-
@InfosecGoon thank you! And thanks for the great explanation with curator and suggestions for wazuh. All helpful knowledge. I cleaned up older images (i.e. .140 images) with:
I also ran |
Beta Was this translation helpful? Give feedback.
-
If you run "sudo docker images", does it list a bunch of older packages? For comparison, my standalone install has .181 and .140 images and that directory is 19GB, so yours seems larger than it should be. |
Beta Was this translation helpful? Give feedback.
-
Does "sudo docker system prune -a" reduce the size at all? That should remove any images that aren't actively in use. |
Beta Was this translation helpful? Give feedback.
-
@BuffaloWill Is this deployment configured for airgap, perhaps? |
Beta Was this translation helpful? Give feedback.
-
You may be able to purge old images out of the Docker Registry in |
Beta Was this translation helpful? Give feedback.
You may be able to purge old images out of the Docker Registry in
/nsm/docker-registry/
(this is separate from the normaldocker images
anddocker system prune -a
). However, looking back at your original post, 271GB is not much more than the bare minimum listed at https://docs.securityonion.net/en/2.3/hardware.html. If possible, your best option may be to increase storage.