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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. EspoCRM
  3. Timeout in ESPOcrm, need to restart Webservice

Timeout in ESPOcrm, need to restart Webservice

Scheduled Pinned Locked Moved Solved EspoCRM
31 Posts 6 Posters 10.0k Views 6 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.
  • girishG girish

    @jensbee4 Thanks. In the latest EspoCRM package (1.14.0), you can now go to File Manager and edit apache/mpm_preform.conf. What you can do is to bump the MaxRequestWorkers to say 20 or so and then restart the app.

    ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #10

    @girish
    OK, will try to change the config.

    I got following:

    root@bcd346e4-22d8-49d4-93fc-89f39a77a693:/app/code/6.0.0# supervisorctl restart webnt size.
    web: stopped
    web: ERROR (spawn error)
    root@bcd346e4-22d8-49d4-93fc-89f39a77a693:/app/code/6.0.0# supervisorctl restart web
    web: stopped
    web: ERROR (spawn error)
    root@bcd346e4-22d8-49d4-93fc-89f39a77a693:/app/code/6.0.0# supervisorctl restart web
    web: stopped
    web: started
    root@bcd346e4-22d8-49d4-93fc-89f39a77a693:/app/code/6.0.0#
    

    Is the a log to see something about the spawn error?

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

      @jensbee4 said in Timeout in ESPOcrm, need to restart Webservice:

      Is the a log to see something about the spawn error?

      Yes, it's all redirected to stdout. So you can see it in the cloudron logs view.

      1 Reply Last reply
      0
      • marcusquinnM Offline
        marcusquinnM Offline
        marcusquinn
        wrote on last edited by
        #12

        We still have the same problem too.

        Web Design & Development: https://www.evergreen.je
        Technology & Apps: https://www.marcusquinn.com

        1 Reply Last reply
        0
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #13

          Most likely this was also related to the apache max worker count setting https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestworkers

          For next release we will put this as the default to 256 while one can still configure a higher value if needed in the prefork config in /app/data

          1 Reply Last reply
          1
          • nebulonN nebulon marked this topic as a question on
          • nebulonN nebulon has marked this topic as solved on
          • P Offline
            P Offline
            p44
            translator
            wrote on last edited by p44
            #14

            Dear all, it seems that I'm experiencing this problem... I can only surf to homepage... I'm on v7.6.3 (Ubuntu 20.04.2 LTS), Espo CRM 8.1.0

            girishG 1 Reply Last reply
            0
            • P p44

              Dear all, it seems that I'm experiencing this problem... I can only surf to homepage... I'm on v7.6.3 (Ubuntu 20.04.2 LTS), Espo CRM 8.1.0

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

              @p44 anything in the logs?

              1 Reply Last reply
              0
              • P Offline
                P Offline
                p44
                translator
                wrote on last edited by
                #16

                @girish
                Jan 11 15:59:37=> Healtheck error: Error: Timeout of 7000ms exceeded
                Jan 11 15:59:47=> Healtheck error: Error: Timeout of 7000ms exceeded
                Jan 11 15:59:57=> Healtheck error: Error: Timeout of 7000ms exceeded
                Jan 11 16:00:07=> Healtheck error: Error: Timeout of 7000ms exceeded
                Jan 11 16:00:17=> Healtheck error: Error: Timeout of 7000ms exceeded
                Jan 11 16:00:27=> Healtheck error: Error: Timeout of 7000ms exceeded

                robiR 1 Reply Last reply
                0
                • P p44

                  @girish
                  Jan 11 15:59:37=> Healtheck error: Error: Timeout of 7000ms exceeded
                  Jan 11 15:59:47=> Healtheck error: Error: Timeout of 7000ms exceeded
                  Jan 11 15:59:57=> Healtheck error: Error: Timeout of 7000ms exceeded
                  Jan 11 16:00:07=> Healtheck error: Error: Timeout of 7000ms exceeded
                  Jan 11 16:00:17=> Healtheck error: Error: Timeout of 7000ms exceeded
                  Jan 11 16:00:27=> Healtheck error: Error: Timeout of 7000ms exceeded

                  robiR Offline
                  robiR Offline
                  robi
                  wrote on last edited by
                  #17

                  @p44 that means it's not running.

                  Conscious tech

                  1 Reply Last reply
                  0
                  • P Offline
                    P Offline
                    p44
                    translator
                    wrote on last edited by
                    #18

                    @robi yes, but it was in "running" state... I increased resources to a VPS and now seems to be stable... very strange...

                    robiR 1 Reply Last reply
                    1
                    • P p44

                      @robi yes, but it was in "running" state... I increased resources to a VPS and now seems to be stable... very strange...

                      robiR Offline
                      robiR Offline
                      robi
                      wrote on last edited by
                      #19

                      @p44 check the App memory graphs

                      Conscious tech

                      P 1 Reply Last reply
                      0
                      • robiR robi

                        @p44 check the App memory graphs

                        P Offline
                        P Offline
                        p44
                        translator
                        wrote on last edited by
                        #20

                        @robi All Memory graphs about Cpu and memory allocations was all ok... even VPS graphs...

                        robiR 1 Reply Last reply
                        0
                        • P p44

                          @robi All Memory graphs about Cpu and memory allocations was all ok... even VPS graphs...

                          robiR Offline
                          robiR Offline
                          robi
                          wrote on last edited by
                          #21

                          @p44 Welp, something else crashed then🤷

                          Conscious tech

                          P 1 Reply Last reply
                          0
                          • robiR robi

                            @p44 Welp, something else crashed then🤷

                            P Offline
                            P Offline
                            p44
                            translator
                            wrote on last edited by p44
                            #22

                            @robi Thank's Robi, I still didn't understand what happened, to be honest... Maybe it was some problem related to VPS... I don't know...

                            Do you know if (and how) I can force a database rebuild/cleaning with CLI? Thank's again

                            robiR 1 Reply Last reply
                            0
                            • P p44

                              @robi Thank's Robi, I still didn't understand what happened, to be honest... Maybe it was some problem related to VPS... I don't know...

                              Do you know if (and how) I can force a database rebuild/cleaning with CLI? Thank's again

                              robiR Offline
                              robiR Offline
                              robi
                              wrote on last edited by
                              #23

                              @p44 I'd imagine it happens automatically in Cloudron, and @girish might know for sure.

                              Conscious tech

                              1 Reply Last reply
                              1
                              • P Offline
                                P Offline
                                p44
                                translator
                                wrote on last edited by p44
                                #24

                                @girish @nebulon I'm still approaching with this problem:

                                Jan 16 17:57:07=> Healtheck error: Error: Timeout of 7000ms exceeded
                                Jan 16 17:57:17=> Healtheck error: Error: Timeout of 7000ms exceeded
                                Jan 16 17:57:27=> Healtheck error: Error: Timeout of 7000ms exceeded
                                Jan 16 17:57:37=> Healtheck error: Error: Timeout of 7000ms exceeded

                                How I can understand what's happening?

                                Rebooting I got: "server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting", maybe is this?

                                1 Reply Last reply
                                0
                                • nebulonN Offline
                                  nebulonN Offline
                                  nebulon
                                  Staff
                                  wrote on last edited by
                                  #25

                                  This maybe a similar issue as https://forum.cloudron.io/topic/10364/nextcloud-is-down-one-in-a-while-and-needs-to-be-restarted-manually/2?_=1705425220470

                                  Can you try to increase the MaxRequestWorkers in the mpm_prefork.conf file and restart the app?

                                  1 Reply Last reply
                                  0
                                  • P Offline
                                    P Offline
                                    p44
                                    translator
                                    wrote on last edited by
                                    #26

                                    @nebulon It was 6, now I increased to 36. Let's see what happen...

                                    1 Reply Last reply
                                    0
                                    • P Offline
                                      P Offline
                                      p44
                                      translator
                                      wrote on last edited by
                                      #27

                                      @nebulon Finally it works... thank's a lot for your advice. Just to learn more, about this value, what is the best to set? Also, I noted your previous comment:

                                      «For next release we will put this as the default to 256 while one can still configure a higher value if needed in the prefork config in /app/data», did you not apply this fix, or maybe I had an old value coming from old version?

                                      Thank's again 🙏

                                      1 Reply Last reply
                                      0
                                      • nebulonN Offline
                                        nebulonN Offline
                                        nebulon
                                        Staff
                                        wrote on last edited by
                                        #28

                                        Correct the package for newly installed instances will contain the higher value, but since it is a user-configurable persistent file, a package update will not auto-adjust this value.

                                        P 1 Reply Last reply
                                        0
                                        • nebulonN nebulon

                                          Correct the package for newly installed instances will contain the higher value, but since it is a user-configurable persistent file, a package update will not auto-adjust this value.

                                          P Offline
                                          P Offline
                                          p44
                                          translator
                                          wrote on last edited by
                                          #29

                                          @nebulon Thank's again, so is better to set that value to 256?

                                          1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          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