<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[App unresponsive due to error]]></title><description><![CDATA[<p dir="auto">One of my WP Dev apps is “crashing” regularly and this is the error message:</p>
<pre><code>server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
</code></pre>
<p dir="auto">How can I increase this setting?</p>
]]></description><link>https://forum.cloudron.io/topic/8508/app-unresponsive-due-to-error</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 09:45:42 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/8508.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 22 Jan 2023 16:41:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to App unresponsive due to error on Thu, 16 Feb 2023 21:08:14 GMT]]></title><description><![CDATA[<p dir="auto">Perfect! I ran some tests today with tweaking various numbers and looked at recommendations online too. It's mostly a copy of yours <a class="plugin-mentions-user plugin-mentions-a" href="/user/imc67" aria-label="Profile: imc67">@<bdi>imc67</bdi></a> in the end but with a lower MaxConnectionsPerChild. Ran a bunch of different tests with different numbers but concluded that was the best bang for the buck so-to-speak given the 4 GB memory max set on each WP app.</p>
<p dir="auto">It's a mix of default values from the Ubuntu install and the default Apache values in the original package too (for the 256 MaxRequestWorkers for example). I'm pleased with the results. <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=665e13d50c8" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
<p dir="auto">Here's what I have for reference now, and I used <code>ab</code> (Apache Benchmark) to run some performance tests and had significant improvements over the defaults. Thought I'd share the testing results in case anyone was interested.</p>
<p dir="auto">New mpm_prefork.conf I'm using:</p>
<pre><code># Restart the app if you make changes to this file

&lt;IfModule mpm_prefork_module&gt;
    # On startup, start these many servers
	StartServers 5

    # At any given time, keep atleast these many servers
	MinSpareServers	5

    # At any given time, keep atmost these many idle servers (this is always &gt;= MinSpareServers+1)
	MaxSpareServers 10

    # Maximum number of servers at any given instant. Requests will be queued after this
	MaxRequestWorkers 256

    # Recycle process after handling these many requests. This protected against accidental memory leaks
	MaxConnectionsPerChild 500
&lt;/IfModule&gt;
</code></pre>
<p dir="auto">Resources:</p>
<ul>
<li><a href="https://httpd.apache.org/docs/2.4/mod/prefork.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://httpd.apache.org/docs/2.4/mod/prefork.html</a></li>
<li><a href="https://exampleconfig.com/view/apache-ubuntu20-04-etc-apache2-mods-available-mpm_prefork-conf" target="_blank" rel="noopener noreferrer nofollow ugc">https://exampleconfig.com/view/apache-ubuntu20-04-etc-apache2-mods-available-mpm_prefork-conf</a></li>
<li><a href="https://www.woktron.com/secure/knowledgebase/133/How-to-optimize-Apache-performance.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.woktron.com/secure/knowledgebase/133/How-to-optimize-Apache-performance.html</a></li>
<li><a href="https://www.maketecheasier.com/optimizing-apache-part-1/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.maketecheasier.com/optimizing-apache-part-1/</a></li>
</ul>
<p dir="auto"><strong>Results from <code>ab</code> with default settings that come with Cloudron's WP package: (note the rather large spread between min and max request times)</strong></p>
<pre><code>Concurrency Level:      50
Time taken for tests:   12.391 seconds
Complete requests:      1000
Failed requests:        0
Total transferred:      84813000 bytes
HTML transferred:       84205000 bytes
Requests per second:    80.70 [#/sec] (mean)
Time per request:       619.574 [ms] (mean)
Time per request:       12.391 [ms] (mean, across all concurrent requests)
Transfer rate:          6684.04 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:      227  291  36.4    287     401
Processing:   220  281 122.2    252    1039
Waiting:      144  190 120.0    161     954
Total:        451  572 127.3    546    1285

Percentage of the requests served within a certain time (ms)
  50%    546
  66%    570
  75%    584
  80%    594
  90%    624
  95%    818
  98%   1091
  99%   1261
 100%   1285 (longest request)
</code></pre>
<p dir="auto"><strong>Results after tweaking to the above new configuration: (note that the max request time here is about 60% faster still than original config results and overall a much more consistent behaviour too!)</strong></p>
<pre><code>Concurrency Level:      50
Time taken for tests:   11.358 seconds
Complete requests:      1000
Failed requests:        0
Total transferred:      84813000 bytes
HTML transferred:       84205000 bytes
Requests per second:    88.04 [#/sec] (mean)
Time per request:       567.899 [ms] (mean)
Time per request:       11.358 [ms] (mean, across all concurrent requests)
Transfer rate:          7292.24 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:      230  287  26.9    283     389
Processing:   220  252  17.3    249     329
Waiting:      144  160  10.0    157     217
Total:        467  539  33.0    538     649

Percentage of the requests served within a certain time (ms)
  50%    538
  66%    550
  75%    559
  80%    567
  90%    584
  95%    599
  98%    618
  99%    622
 100%    649 (longest request)
</code></pre>
]]></description><link>https://forum.cloudron.io/post/62043</link><guid isPermaLink="true">https://forum.cloudron.io/post/62043</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Thu, 16 Feb 2023 21:08:14 GMT</pubDate></item><item><title><![CDATA[Reply to App unresponsive due to error on Thu, 16 Feb 2023 08:53:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d19dotca" aria-label="Profile: d19dotca">@<bdi>d19dotca</bdi></a> said in <a href="/post/62013">App unresponsive due to error</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/imc67" aria-label="Profile: imc67">@<bdi>imc67</bdi></a>  - what did you increase yours to out of curiosity?</p>
</blockquote>
<p dir="auto">This my current config, it's 99% more stable than before:</p>
<pre><code>&lt;IfModule mpm_prefork_module&gt;
    # On startup, start these many servers
	StartServers	10

    # At any given time, keep atleast these many servers
	MinSpareServers	10

    # At any given time, keep atmost these many idle servers (this is always &gt;= MinSpareServers+1)
	MaxSpareServers 40

    # Maximum number of servers at any given instant. Requests will be queued after this
	MaxRequestWorkers	  256

    # Recycle process after handling these many requests. This protected against accidental memory leaks
	MaxConnectionsPerChild   1000
&lt;/IfModule&gt;
</code></pre>
]]></description><link>https://forum.cloudron.io/post/62016</link><guid isPermaLink="true">https://forum.cloudron.io/post/62016</guid><dc:creator><![CDATA[imc67]]></dc:creator><pubDate>Thu, 16 Feb 2023 08:53:40 GMT</pubDate></item><item><title><![CDATA[Reply to App unresponsive due to error on Thu, 16 Feb 2023 05:53:36 GMT]]></title><description><![CDATA[<p dir="auto">I didn't notice any unresponsiveness but combing through WP logs for a different issue for a Shop Manager user, I noticed a few instances of the same error reported in this thread. It's a large WooCommerce site being built and they're making a lot of product changes so this is what I suspect the root cause of that is in my case at least.</p>
<p dir="auto">So it's safe to increase that then eh? Any guidance on increasing that in terms of how it may affect Cloudron at all?</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/imc67" aria-label="Profile: imc67">@<bdi>imc67</bdi></a>  - what did you increase yours to out of curiosity?</p>
]]></description><link>https://forum.cloudron.io/post/62013</link><guid isPermaLink="true">https://forum.cloudron.io/post/62013</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Thu, 16 Feb 2023 05:53:36 GMT</pubDate></item><item><title><![CDATA[Reply to App unresponsive due to error on Tue, 24 Jan 2023 08:32:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> said in <a href="/post/60717">App unresponsive due to error</a>:</p>
<blockquote>
<p dir="auto">Indeed, fixing the values in that file is the correct fix.</p>
</blockquote>
<p dir="auto">The changed values result finally in a more stable situation.</p>
<p dir="auto">This is not a high traffic site (5k month) and the only one created with Avada Theme and that's really a "monster".</p>
]]></description><link>https://forum.cloudron.io/post/60746</link><guid isPermaLink="true">https://forum.cloudron.io/post/60746</guid><dc:creator><![CDATA[imc67]]></dc:creator><pubDate>Tue, 24 Jan 2023 08:32:56 GMT</pubDate></item><item><title><![CDATA[Reply to App unresponsive due to error on Tue, 24 Jan 2023 08:31:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> said in <a href="/post/60684">App unresponsive due to error</a>:</p>
<blockquote>
<p dir="auto">do you have any plugin installed which may use websockets</p>
</blockquote>
<p dir="auto">I checked the inspector but couldn't find any</p>
]]></description><link>https://forum.cloudron.io/post/60744</link><guid isPermaLink="true">https://forum.cloudron.io/post/60744</guid><dc:creator><![CDATA[imc67]]></dc:creator><pubDate>Tue, 24 Jan 2023 08:31:04 GMT</pubDate></item><item><title><![CDATA[Reply to App unresponsive due to error on Mon, 23 Jan 2023 21:24:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/imc67" aria-label="Profile: imc67">@<bdi>imc67</bdi></a> said in <a href="/post/60648">App unresponsive due to error</a>:</p>
<blockquote>
<p dir="auto">mpm_prefork.conf</p>
</blockquote>
<p dir="auto">Indeed, fixing the values in that file is the correct fix.</p>
]]></description><link>https://forum.cloudron.io/post/60717</link><guid isPermaLink="true">https://forum.cloudron.io/post/60717</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 23 Jan 2023 21:24:40 GMT</pubDate></item><item><title><![CDATA[Reply to App unresponsive due to error on Mon, 23 Jan 2023 14:32:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/imc67" aria-label="Profile: imc67">@<bdi>imc67</bdi></a> do you have any plugin installed which may use websockets? Those are long-lived, so each websocket connection will use one request worker.</p>
]]></description><link>https://forum.cloudron.io/post/60684</link><guid isPermaLink="true">https://forum.cloudron.io/post/60684</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 23 Jan 2023 14:32:41 GMT</pubDate></item><item><title><![CDATA[Reply to App unresponsive due to error on Sun, 22 Jan 2023 19:22:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/imc67" aria-label="Profile: imc67">@<bdi>imc67</bdi></a> how much daily traffic do you get?</p>
]]></description><link>https://forum.cloudron.io/post/60651</link><guid isPermaLink="true">https://forum.cloudron.io/post/60651</guid><dc:creator><![CDATA[privsec]]></dc:creator><pubDate>Sun, 22 Jan 2023 19:22:53 GMT</pubDate></item><item><title><![CDATA[Reply to App unresponsive due to error on Sun, 22 Jan 2023 17:15:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/privsec" aria-label="Profile: privsec">@<bdi>privsec</bdi></a> thanks for finding however the xmlrpc on my sites are always locked for security reasons.</p>
<p dir="auto">However, after searching around the internet and this forum I combined some answers and tried the following:</p>
<p dir="auto">In the filemanager there is a folder /apache/ and it contains a file mpm_prefork.conf.</p>
<p dir="auto">There I changed the (very low values) to:</p>
<pre><code>
StartServers	10

MinSpareServers	10

MaxSpareServers 40

MaxRequestWorkers	  256

MaxConnectionsPerChild   1000


</code></pre>
<p dir="auto">Let’s wait and see if this solves the issue.</p>
]]></description><link>https://forum.cloudron.io/post/60648</link><guid isPermaLink="true">https://forum.cloudron.io/post/60648</guid><dc:creator><![CDATA[imc67]]></dc:creator><pubDate>Sun, 22 Jan 2023 17:15:19 GMT</pubDate></item><item><title><![CDATA[Reply to App unresponsive due to error on Sun, 22 Jan 2023 16:56:39 GMT]]></title><description><![CDATA[<p dir="auto">It may be due to a hacking attempt</p>
<p dir="auto"><a href="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" target="_blank" rel="noopener noreferrer nofollow ugc">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</a></p>
]]></description><link>https://forum.cloudron.io/post/60645</link><guid isPermaLink="true">https://forum.cloudron.io/post/60645</guid><dc:creator><![CDATA[privsec]]></dc:creator><pubDate>Sun, 22 Jan 2023 16:56:39 GMT</pubDate></item></channel></rss>