Dear all, I have been using dockerized collabora on our server for years without issues but a while ago, initialization has started to take ages. This is about a bare metal octacore server with 32 MB RAM running Ubuntu 20.04 LTS and the docker-ce package from docker.com
I have described the issue also in the Nextcloud collabora forum, but I was hoping that the experts would be here.
All has been working just fine until some weeks ago. But something changed and now it takes several minutes to initialize each time I try to open a document in Nextcloud.
The docker instance is running behind a reverse proxy provided by NGINX. I can’t pinpoint the exact moment it changed, I think I initially thought this to be a temporary hickup, therefore I don’t know if it correlated with any particular upgrade of the collabora docker image or of docker itself. (Everything else should not have changed except for security fixes as the server is running Ubuntu 20.04 LTS).
Now, both the external demo server available as a Nextcloud app as well as the CODE app run fine. Only the docker version has these problems. In the web server log for the docker collabora instance I see the message
2021/08/29 12:00:09 [error] 3381458#3381458: *12115 connect() failed (111: Connection refused) while connecting to upstream, client: *****, server: office.****.org, request: "
GET /hosting/capabilities HTTP/1.1", upstream: "http://[::1]:9980/hosting/capabilities", host: "office.uferwerk.org"
2021/08/29 12:00:09 [warn] 3381458#3381458: *12115 upstream server temporarily disabled while connecting to upstream, client: *****, server: office.****.org, request: "GET /ho
sting/capabilities HTTP/1.1", upstream: "http://[::1]:9980/hosting/capabilities", host: "office.***.org"
docker container logs collabora looks like this, not very revealing:
frk-00044-00044 2021-08-29 09:53:22.369268 [ forkit ] ERR Failed to unmount [/opt/lool/child-roots/DZprHqJzWhKFWr88].| common/JailUtil.cpp:68
wsd-00007-00048 2021-08-29 09:53:39.584546 [ websrv_poll ] WRN client - server version mismatch, disabling browser cache. Expected: d12ab86| wsd/FileServer.cpp:288
wsd-00007-00048 2021-08-29 09:53:39.986969 [ websrv_poll ] WRN client - server version mismatch, disabling browser cache. Expected: d12ab86| wsd/FileServer.cpp:288
wsd-00007-00048 2021-08-29 09:53:41.927800 [ websrv_poll ] WRN client - server version mismatch, disabling browser cache. Expected: d12ab86| wsd/FileServer.cpp:288
wsd-00007-00048 2021-08-29 09:53:42.365004 [ websrv_poll ] WRN client - server version mismatch, disabling browser cache. Expected: d12ab86| wsd/FileServer.cpp:288
wsd-00007-00095 2021-08-29 09:56:07.675928 [ docbroker_004 ] WRN Waking up dead poll thread [HttpSynReqPoll], started: false, finished: false| ./net/Socket.hpp:682
wsd-00007-00095 2021-08-29 09:56:07.860668 [ docbroker_004 ] WRN Waking up dead poll thread [HttpSynReqPoll], started: false, finished: false| ./net/Socket.hpp:682
I have double and triple checked that the reverse proxy config is identical to the official instructions. I also tried older docker images, so far no change. Does anyone have an idea what might be causing the slowdown? Again, it has worked fine for years before.