Replies: 5 comments
-
|
This sounds to me like either an OS or a Docker issue, and not a Mailpit issue. Please read through the following questions - not all may apply, but you may see one or more that apply to your situation.
|
Beta Was this translation helpful? Give feedback.
-
|
Thanks for your answer! On the docker host some cleanup job had a leak, resulting in a full /tmp directory. After cleaning up /tmp, all Mailpit containers (all have separate database volumes) started up again. It seems SQLite needs /tmp for operations like "file locking", and it will fail if /tmp is full. Maybe there should be new option "MP_DATABASE_TMP"? Or at least a hint in the documentation that SQLite needs to be able to write files under /tmp in order to work. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the feedback. I do not think that SQLite uses So my assumption here is that when your |
Beta Was this translation helpful? Give feedback.
-
|
Thanks, you're right. In fact, Mailpit works perfectly in a read-only container. I tested it with this command: I tried to fill up |
Beta Was this translation helpful? Give feedback.
-
|
Glad to help clarify where the problem was( or rather what it wasn't in this case), and thank you for the feedback too :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We run multiple instances of Mailpit in docker containers running 24/7 and we have been seeing no problems at all for a long time, which is great.
However, recently all these instances crashed at the same time and didn't come up again, resulting in permanent restarting of the Mailpit containers. Checking the logs, I could see the crash happened after the sqlite database was initialized. We use a database with persistent storage (MP_DATABASE), so I checked the docker volume. I checked file permissions, also free space on the corresponding partition and system RAM usage, which were perfectly fine. Other containers on the same system were running fine. So at this point I was a little lost and didn't know how to fix it.
Beta Was this translation helpful? Give feedback.
All reactions