-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
Hello,
I am very sorry to post such an issue, as I fear it is a problem with my setup but I am trying to fix this since 3 months now and I am left out of ideas.
I have the following problem:
- TTFB after one day is at ~30 sec. It slowly raises from ~650 ms after a docker service restart. Restarting or removing/creating the containers won't fix it only a docker service restart.
- TTFB won't get higher or lower. It just takes ~30 sec to login no matter what, even if the server is under some load.
- If I access nextcloud via the exposed container port 80 (without nginx proxy) TTFB resides at about ~400ms.
- The TTFB is only high when I try to login. Everything else is < ~1 sec.
- other applications like rocket.chat, kanboard, openldap, discourse work flawlessly with ssl enabled, nginx reverse proxy and openldap
My Setup:
- Ubuntu LTS 14.04
- Docker version 1.12.5, build 7392c3b
- user login via openldap
- tested with NGINX 1.5.9, NGINX 1.10.3 and docker jwilder/nginx-proxy
- tested with docker wonderfall/nextcloud:11.0 and docker nextcloud:11.0
- tested with acpu cache and redis cache
- using system cron
- lets encrypt ssl
- 8 GB RAM
- quad amd 2.4 GHZ
What I tried so far:
- moving everything to an SSD (volumes + /var/lib/docker)
- exchangend acpu with redis
- tried nextcloud 10 and 11 (with 11 it gets even worse because of removed asset pipelining I guess)
- tried various nginx versions
- tried to enable http2 but I can't get it to work with nginx reverse proxy
- switched from wonderfall/nextcloud to this image
- tried to disable ssl but which makes it faster but still results in TTFB > ~30sec
- checked iotop (all good and normal)
- checked htop (all good and normal)
Thanks for any help!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels