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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved App unresponsive due to error

    WordPress (Developer)
    4
    8
    58
    Loading More Posts
    • 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.
    • imc67
      imc67 translator last edited by

      One of my WP Dev apps is “crashing” regularly and this is the error message:

      server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
      

      How can I increase this setting?

      nebulon 1 Reply Last reply Reply Quote 0
      • Topic has been marked as a question  imc67 imc67 
      • P
        privsec last edited by

        It may be due to a hacking attempt

        https://support.plesk.com/hc/en-us/articles/115002643313-WordPress-site-hosted-in-Plesk-is-slow-Lots-of-log-entries-POST-xmlrpc-php-HTTP-1-0-499

        imc67 1 Reply Last reply Reply Quote 0
        • imc67
          imc67 translator @privsec last edited by

          @privsec thanks for finding however the xmlrpc on my sites are always locked for security reasons.

          However, after searching around the internet and this forum I combined some answers and tried the following:

          In the filemanager there is a folder /apache/ and it contains a file mpm_prefork.conf.

          There I changed the (very low values) to:

          
          StartServers	10
          
          MinSpareServers	10
          
          MaxSpareServers 40
          
          MaxRequestWorkers	  256
          
          MaxConnectionsPerChild   1000
          
          
          

          Let’s wait and see if this solves the issue.

          P girish 2 Replies Last reply Reply Quote 0
          • P
            privsec @imc67 last edited by

            @imc67 how much daily traffic do you get?

            1 Reply Last reply Reply Quote 0
            • nebulon
              nebulon Staff @imc67 last edited by

              @imc67 do you have any plugin installed which may use websockets? Those are long-lived, so each websocket connection will use one request worker.

              imc67 1 Reply Last reply Reply Quote 0
              • girish
                girish Staff @imc67 last edited by

                @imc67 said in App unresponsive due to error:

                mpm_prefork.conf

                Indeed, fixing the values in that file is the correct fix.

                imc67 1 Reply Last reply Reply Quote 0
                • imc67
                  imc67 translator @nebulon last edited by

                  @nebulon said in App unresponsive due to error:

                  do you have any plugin installed which may use websockets

                  I checked the inspector but couldn't find any

                  1 Reply Last reply Reply Quote 0
                  • imc67
                    imc67 translator @girish last edited by

                    @girish said in App unresponsive due to error:

                    Indeed, fixing the values in that file is the correct fix.

                    The changed values result finally in a more stable situation.

                    This is not a high traffic site (5k month) and the only one created with Avada Theme and that's really a "monster".

                    1 Reply Last reply Reply Quote 0
                    • Topic has been marked as solved  imc67 imc67 
                    • First post
                      Last post
                    Powered by NodeBB