mailinabox
mailinabox copied to clipboard
Webinterface Timeouts caused by too many domains
I get reproducible timeouts in the web interface when loading the status or external DNS page. Also when I add a new user or custom DNS Record i get this error:
Of course, the creation works despite the timeout but this must be an error. There is already a thread about this in the MIAB forum: https://discourse.mailinabox.email/t/getting-timeouts-vps-too-slow/7455
I think it´s caused by a high number of domains (about 55) and mailboxes (135) managed by my MIAB installation.
It might be an nginx proxy timeout that needs to be extended.
Here is a discussion at Stack Overflow that seems similar:
https://stackoverflow.com/questions/24453388/nginx-reverse-proxy-causing-504-gateway-timeout
If you take the time to read through the solutions, it seems there is another issue besides proxy timeout (which, BTW, is default 60 seconds) but also there is a keepalive
configuration that seems something different.
Were you able to fix this issue?
not yet... had no time for further investigation...
Meanwhile, this problem also affects the Static Web Hosting page. Doesn't anyone else have this problem?
Did you try the above suggested solution?
I see the same problem. the Status page is timing out while I can see the management/daemon.py using 100% CPU on the server. Sometimes it succeeds to show the status page. I only have like 20 or so domains + a good list of subdomains.
#2316 likely has a quick fix for this and will hopefully solve this permanently once resolved.