Jump to content

drkmtr

Members
  • Posts

    1
  • Joined

  • Last visited

drkmtr's Achievements

Noob

Noob (1/14)

0

Reputation

  1. Hello all. Desparately looking for some help, as I've been struggling with this Nextcloud docker issue for some time. Over time, my Nextcloud docker instance will 'randomly' (I say Randomly... it used to be days, now its around 20 - 30 minutes) lock up and become unresponsive. I am unable to stop or kill the container from the UNRAID GUI, nor the CLI. The only way to get it running again is to restart the whole server. A few weeks ago, I deleted / recreated the docker image - this seemed to do the trick, and I had around a month of blissful, stable Nextcloud. Just the other day, I updated the container, and boom! It started locking up, seemingly randomly. I tried disabling lots of apps in Nextcloud, but to no avail. Through google-fu, I tried tweaking teh configuration with the following, but it didn't help any... Added this to user/appdata/nextcloud/php/www2.conf, based on the error found in php error.log (WARNING: [pool www] server reached pm.max_children setting (5), consider raising it) pm = dynamic pm.max_children = 300 pm.start_servers = 8 pm.min_spare_servers = 8 pm.max_spare_servers = 16 pm.max_requests = 500 References : https://help.nextcloud.com/t/nc-23-upgrade-crashes-php-fpm-server-reached-pm-max-children-setting-10-consider-raising-it/129178 https://chrismoore.ca/2018/10/finding-the-correct-pm-max-children-settings-for-php-fpm/ Also upped the memory limit and set timezone in user/appdata/nextcloud/php/php-local.conf: date.timezone = Europe/Prague memory_limt = 6G ====== The last crash showed a number of errors in the nginx error.log… 2023/05/11 09:38:57 [error] 339#339: *585 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 192.168.1.4, server: _, request: "POST /index.php/apps/bookmarks/public/rest/v2/lock HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloud.drkmtr.xyz" A bit of google-fu led to this… https://github.com/linuxserver/docker-nextcloud/issues/211 Adding the following to config/nginx/site-confs/default.conf, under the location ~ \.php(?:$|/) section fastcgi_read_timeout 600; fastcgi_send_timeout 600; fastcgi_connect_timeout 600; proxy_connect_timeout 600; proxy_send_timeout 600; proxy_read_timeout 600; send_timeout 600; However, through much server rebooting, I have managed to corrleate, that when I start browsing files on Nextcloud through the browser, thats when its starts to lock up. Its now started having an effect on the UNRAID GUI... trying to browse to the nextcloud appdata whilst its hung, causes the whole intereface to lock up for a bit. I'm at my wits-end with this, so much so, I'm considering migrating from docker to virtual server running ubunutu or something. Any thoughts on resolving this? I don;t know where else to look.
×
×
  • Create New...