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. Baserow
  3. Baserow is slow for POST / UPDATE / DELETE

Baserow is slow for POST / UPDATE / DELETE

Scheduled Pinned Locked Moved Solved Baserow
14 Posts 4 Posters 2.0k Views 4 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.
  • P Offline
    P Offline
    parhelium
    wrote on last edited by parhelium
    #5

    @girish yes

    Is there a way to define timeout per app ?
    Complex queries could take more than 20 secs in Baserow

    1 Reply Last reply
    0
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #6

      @parhelium this might be a baserow setting. The statement_timeout is not set in postgres and the default is 0 which means no timeout.

      You can also double check this by running the postgres command via the Web Terminal . Does the query take more than 20 secs but succeed anyway?

      1 Reply Last reply
      0
      • P Offline
        P Offline
        parhelium
        wrote on last edited by
        #7

        @girish I believe it is cloudron issue, because after 20sec I see in response:

        image.png

        image.png
        image.png

        girishG 1 Reply Last reply
        0
        • P parhelium

          @girish I believe it is cloudron issue, because after 20sec I see in response:

          image.png

          image.png
          image.png

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #8

          @parhelium that page is shown when there the app is not responding. It doesn't necessarily tell us where the issue is.

          Is there nothing in the logs indicating what baserow is doing ? BASEROW_BACKEND_LOG_LEVEL can be set to higher level (https://baserow.io/docs/installation/configuration) to get more logs. If you are 100% sure it is database related, have you tried running postgres command directly on the web terminal to reproduce ?

          1 Reply Last reply
          0
          • E Offline
            E Offline
            emmanuelgutman
            wrote on last edited by emmanuelgutman
            #9

            So I have gave 2Gb Limit to Postgresql, but nothing apparent changed. Also as Baserow is running on Postgres I disabled the containers of MySQL and MongoDB from DigitalOcean CLI. That was probably three months ago and it was perfectly normal so far...

            In some tables (not all of them, it seems to depend on the number of computed columns) the rows are very slow to create.

            For instance, in the last table I created, about two weeks ago, there are in total 30 rows, 25 are computed. I cannot create a single row, the request or something takes too long.

            61c20ffd-0154-439b-bd06-c15a726f8286-image.png

            girishG 1 Reply Last reply
            1
            • E emmanuelgutman

              So I have gave 2Gb Limit to Postgresql, but nothing apparent changed. Also as Baserow is running on Postgres I disabled the containers of MySQL and MongoDB from DigitalOcean CLI. That was probably three months ago and it was perfectly normal so far...

              In some tables (not all of them, it seems to depend on the number of computed columns) the rows are very slow to create.

              For instance, in the last table I created, about two weeks ago, there are in total 30 rows, 25 are computed. I cannot create a single row, the request or something takes too long.

              61c20ffd-0154-439b-bd06-c15a726f8286-image.png

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #10

              @emmanuelgutman We have to debug further to understand what is going on. If you can contact us on support@cloudron.io , we can take a look to see if this is some Cloudron issue or Baserow issue.

              1 Reply Last reply
              0
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #11

                This had to do with the server being just a 2core CPU. A slightly faster server fixes the problem.

                necrevistonnezrN 1 Reply Last reply
                0
                • girishG girish marked this topic as a question on
                • girishG girish has marked this topic as solved on
                • girishG girish

                  This had to do with the server being just a 2core CPU. A slightly faster server fixes the problem.

                  necrevistonnezrN Offline
                  necrevistonnezrN Offline
                  necrevistonnezr
                  wrote on last edited by necrevistonnezr
                  #12

                  @girish said in Baserow is slow for POST / UPDATE / DELETE:

                  This had to do with the server being just a 2core CPU. A slightly faster server fixes the problem.

                  As we had quite a few topics covering too slow CPUs or too little harddisk space recently - maybe it makes sense to raise the minimum requirements in https://docs.cloudron.io/installation/? Or at least put a caveat that, depending on the apps, the server easily requires a multiple of the current requirements?
                  It seems to me that users believe one can run Cloudron and 10 resource-heavy apps on 2GB RAM, 20GB Disk space as currently described in the docs....
                  Or add some recommended requirements based on past experiences?

                  girishG 1 Reply Last reply
                  1
                  • necrevistonnezrN necrevistonnezr

                    @girish said in Baserow is slow for POST / UPDATE / DELETE:

                    This had to do with the server being just a 2core CPU. A slightly faster server fixes the problem.

                    As we had quite a few topics covering too slow CPUs or too little harddisk space recently - maybe it makes sense to raise the minimum requirements in https://docs.cloudron.io/installation/? Or at least put a caveat that, depending on the apps, the server easily requires a multiple of the current requirements?
                    It seems to me that users believe one can run Cloudron and 10 resource-heavy apps on 2GB RAM, 20GB Disk space as currently described in the docs....
                    Or add some recommended requirements based on past experiences?

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #13

                    @necrevistonnezr we get many users from the marketplaces who skip the docs altogether. Even putting some checks and warnings in install script doesn't help in those cases. Not sure what can be done, but I have started putting and more checks into our new --troubleshoot script 🙂 Let's see.

                    1 Reply Last reply
                    0
                    • necrevistonnezrN Offline
                      necrevistonnezrN Offline
                      necrevistonnezr
                      wrote on last edited by
                      #14

                      Aho, I understand.

                      I - unsuccesfully - tried to edit the index.md in https://docs.cloudron.io/installation/. I get an error "a file with this name does not exist"...?

                      Anyway, add something like:

                      _(Note: ressource heavy apps easily require a multitude of these values - requirements for each app are mentioned in the app store)_.
                      
                      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