504 Gateway Timeout
When i start using postal i after some email sent i got 504 Gateway Timeout error and nothing come up... then after i have to hard restart and then start postal...what will be the reason for this?
You'll have to examine your logs and watch your memory usage to see what is happening
@sahilsunesara I encountered this issue running Postal on a rather small DO droplet ($10). The 2 ways I could get it to work were:
- Get a bigger server (4GB RAM seems to work fine)
- Configure swap space on your server to avoid memory issues.
More RAM will solve many problems but without studying the log files to understand what caused the issue, it may not be the final answer.
Also please note that enabling swap on SSD based servers can cause issues with reliability and is generally not recommended, please see https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04
1...I have 4 GB RAM but still same problem... 2... configure swap space ?
You'll have to examine your logs
Otherwise it will be difficult to determine the reason.
which log fine i need to check?
Good point How to enable logs?
Seem disabled by default
On Sep 12, 2017 2:08 AM, "sahilsunesara" [email protected] wrote:
which log fine i need to check?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/atech/postal/issues/346#issuecomment-328747546, or mute the thread https://github.com/notifications/unsubscribe-auth/AMMA50qF1zRUyvmOaj5fUa4mgwvMktN7ks5shh_ZgaJpZM4PR95p .
All the log files are located here: /opt/postal/logs/
In default install logs created But disabled
Thank you for all your commits recently. Can you or a community member point me in the right direction as to where to enable/disable logs?
My first instinct is to check postal.yml
On Sep 12, 2017 7:46 AM, "igerzog" [email protected] wrote:
All the log files are located here: /opt/postal/logs/
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/atech/postal/issues/346#issuecomment-328828311, or mute the thread https://github.com/notifications/unsubscribe-auth/AMMA5yuugEel8gHyK3uRy-xzQSNO5RuZks5shm8xgaJpZM4PR95p .
I do not believe the logs need to be enabled.
If there are no logs and you cannot get postal started to create the logs, you should check the system log files.