This repository was archived by the owner on Feb 8, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 25
This repository was archived by the owner on Feb 8, 2024. It is now read-only.
Spamassassin infinitely eats server disk space (in overlay2) #5
Copy link
Copy link
Open
Description
Hi,
Using docker-postal in a VPS I have encountered a "no space left on device". After having investigated, I figured out that the issue comes from the spamassasin container.
I turns out that there is an infinitely number of empty folders created within postal-spamassasin-app container, inside the /tmp folder, here's an example (I verifierd that the sise in /var/lib/docker/overlay2 growth as well because of those folders) :
bash-5.0# ls -A /tmp | head | xargs du -sh
8.0K .spamassassin10001DGbDLFtmp
8.0K .spamassassin10001UD2WI8tmp
8.0K .spamassassin1000243lK31tmp
8.0K .spamassassin100026eeizUtmp
8.0K .spamassassin10002JhfDx4tmp
8.0K .spamassassin10002s1rxFetmp
8.0K .spamassassin10002xi6f1Ntmp
8.0K .spamassassin10004VepMcItmp
8.0K .spamassassin10005NLVJRhtmp
8.0K .spamassassin10005TAVulwtmpAfter running the container for ~1days, I got more than 70k folder here
bash-5.0# ls -A /tmp | wc -l
71776Finally here is a sample of this container logs which may help understanding why all those folder are created
$ docker logs postal-spamassassin-app 2>&1 | tail -n20
config: no rules were found! Do you need to run 'sa-update'?
[INFO] ** [spamassassin] Starting spamassassin
Jan 30 15:20:25.815 [9416] error: config: no rules were found! Do you need to run 'sa-update'?
config: no rules were found! Do you need to run 'sa-update'?
[INFO] ** [spamassassin] Starting spamassassin
Jan 30 15:20:26.876 [9440] error: config: no rules were found! Do you need to run 'sa-update'?
config: no rules were found! Do you need to run 'sa-update'?
[INFO] ** [spamassassin] Starting spamassassin
Jan 30 15:20:27.918 [9464] error: config: no rules were found! Do you need to run 'sa-update'?
config: no rules were found! Do you need to run 'sa-update'?
[INFO] ** [spamassassin] Starting spamassassin
[and so on...]docker logs postal-spamassassin-app 2>&1 | wc -l
215939Any idea how we can solve this issue ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels