Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Nextcloud
  3. Nextcloud 23.0.3 reaction time very slow sometimes

Nextcloud 23.0.3 reaction time very slow sometimes

Scheduled Pinned Locked Moved Nextcloud
6 Posts 3 Posters 1.5k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      T Offline
      Ti22Ja
      wrote on last edited by
      #1

      Generally, the response time of our cloud is good, but sometimes and increasingly often the response time increases into an abnormal range (well over 10,000ms).
      Here is an example where you can see the normal and abnormal reaction time:
      Webaufnahme_20-4-2022_14152_kuma.3d-medico.com.jpeg
      Currently, no 1:1 calls via Talk want to work either, then the Nextcloud does not respond at all. Currently there are about 30 users active at most.

      Does anyone have an idea what this is due to?

      In the log file I can only find the following recurring errors:

      Box GET /well-known-handler/openid-configuration 404 Not Found No custom well-known config 1.976 ms - 71
      Box GET /well-known-handler/openid-configuration 404 Not Found No custom well-known config 0.685 ms - 71
      

      But the htaccess file (not .htaccess file!) already contains the following rules:

      <IfModule mod_rewrite.c>
        RewriteEngine on
        RewriteCond %{HTTP_USER_AGENT} DavClnt
        RewriteRule ^$ /remote.php/webdav/ [L,R=302]
        RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
        RewriteRule ^\.well-known/host-meta /public.php?service=host-meta [QSA,L]
        RewriteRule ^\.well-known/host-meta\.json /public.php?service=host-meta-json [QSA,L]
        RewriteRule ^\.well-known/webfinger /public.php?service=webfinger [QSA,L]
        RewriteRule ^\.well-known/nodeinfo /public.php?service=nodeinfo [QSA,L]
        RewriteRule ^\.well-known/carddav https://%{HTTP_HOST}/remote.php/dav/ [R=301,L]
        RewriteRule ^\.well-known/caldav https://%{HTTP_HOST}/remote.php/dav/ [R=301,L]
        RewriteRule ^remote/(.*) remote.php [QSA,L]
        RewriteRule ^(?:build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]
        RewriteCond %{REQUEST_URI} !^/\.well-known/(acme-challenge|pki-validation)/.*
        RewriteRule ^(?:\.|autotest|occ|issue|indie|db_|console).* - [R=404,L]
      </IfModule>
      
      T 1 Reply Last reply
      0
      • T Ti22Ja

        Generally, the response time of our cloud is good, but sometimes and increasingly often the response time increases into an abnormal range (well over 10,000ms).
        Here is an example where you can see the normal and abnormal reaction time:
        Webaufnahme_20-4-2022_14152_kuma.3d-medico.com.jpeg
        Currently, no 1:1 calls via Talk want to work either, then the Nextcloud does not respond at all. Currently there are about 30 users active at most.

        Does anyone have an idea what this is due to?

        In the log file I can only find the following recurring errors:

        Box GET /well-known-handler/openid-configuration 404 Not Found No custom well-known config 1.976 ms - 71
        Box GET /well-known-handler/openid-configuration 404 Not Found No custom well-known config 0.685 ms - 71
        

        But the htaccess file (not .htaccess file!) already contains the following rules:

        <IfModule mod_rewrite.c>
          RewriteEngine on
          RewriteCond %{HTTP_USER_AGENT} DavClnt
          RewriteRule ^$ /remote.php/webdav/ [L,R=302]
          RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
          RewriteRule ^\.well-known/host-meta /public.php?service=host-meta [QSA,L]
          RewriteRule ^\.well-known/host-meta\.json /public.php?service=host-meta-json [QSA,L]
          RewriteRule ^\.well-known/webfinger /public.php?service=webfinger [QSA,L]
          RewriteRule ^\.well-known/nodeinfo /public.php?service=nodeinfo [QSA,L]
          RewriteRule ^\.well-known/carddav https://%{HTTP_HOST}/remote.php/dav/ [R=301,L]
          RewriteRule ^\.well-known/caldav https://%{HTTP_HOST}/remote.php/dav/ [R=301,L]
          RewriteRule ^remote/(.*) remote.php [QSA,L]
          RewriteRule ^(?:build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]
          RewriteCond %{REQUEST_URI} !^/\.well-known/(acme-challenge|pki-validation)/.*
          RewriteRule ^(?:\.|autotest|occ|issue|indie|db_|console).* - [R=404,L]
        </IfModule>
        
        T Offline
        T Offline
        Ti22Ja
        wrote on last edited by
        #2

        Still to the system used, since I forgot:
        Ubuntu 20.04.2 LTS is installed.
        RAM is theoretically maximum 32 GB and CPU 10 cores available and is not even remotely utilized by Nextcloud.

        1 Reply Last reply
        0
        • nebulonN nebulon moved this topic from Support on
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #3

          Can you check, if this maybe relates to app updates or backups happening on the platform side? You can find those in the event log/activity listing in your Cloudron dashboard.

          T 1 Reply Last reply
          0
          • nebulonN nebulon

            Can you check, if this maybe relates to app updates or backups happening on the platform side? You can find those in the event log/activity listing in your Cloudron dashboard.

            T Offline
            T Offline
            Ti22Ja
            wrote on last edited by
            #4

            @nebulon
            Just checked. Both backups and updates are only done at night between 11pm and 2am, as set by me. During the day there are no entries in the event log.

            fbartelsF 1 Reply Last reply
            0
            • T Ti22Ja

              @nebulon
              Just checked. Both backups and updates are only done at night between 11pm and 2am, as set by me. During the day there are no entries in the event log.

              fbartelsF Offline
              fbartelsF Offline
              fbartels
              App Dev
              wrote on last edited by
              #5

              @Ti22Ja is it maybe redis running out of memory and being restarted (continually)?

              I had a slow nextcloud recently as well and increasing memory for the redis service through cloudron really helped.

              T 1 Reply Last reply
              1
              • fbartelsF fbartels

                @Ti22Ja is it maybe redis running out of memory and being restarted (continually)?

                I had a slow nextcloud recently as well and increasing memory for the redis service through cloudron really helped.

                T Offline
                T Offline
                Ti22Ja
                wrote on last edited by
                #6

                @fbartels Thanks for the tip! I also had that as a first guess and have already increased the memory for redis a few weeks ago. Unfortunately, since then no improvement. Also I have increased the memory for mysql, unfortunately also without success.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Bookmarks
                  • Search