You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 8, 2024. It is now read-only.
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 .spamassassin10005TAVulwtmp
After running the container for ~1days, I got more than 70k folder here
bash-5.0# ls -A /tmp | wc -l
71776
Finally 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...]
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) :
After 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
Any idea how we can solve this issue ?