<?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[Nextcloud take very long time to respond]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">Suddenly nextcloud takes a very long time to open the home page and clients are timing out. From what I observed in the services section, PostgreSQL is almost running with 100% usage. Also, logs show the error message. Find below screenshot for reference. I do appreciate any recommendation to solve this issue</p>
<p dir="auto"><img src="/assets/uploads/files/1630474787714-services_screenshot1.png" alt="Services_Screenshot1.png" class=" img-fluid img-markdown" /><br />
<img src="/assets/uploads/files/1630474687296-log_screenshot-resized.png" alt="Log_Screenshot.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Best regards</p>
]]></description><link>https://forum.cloudron.io/topic/5604/nextcloud-take-very-long-time-to-respond</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 17:45:15 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/5604.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 01 Sep 2021 05:40:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Nextcloud take very long time to respond on Fri, 03 Sep 2021 15:09:56 GMT]]></title><description><![CDATA[<p dir="auto">I have made a fix here - <a href="https://git.cloudron.io/cloudron/box/-/commit/949b2e2530283e1690656c2dd417e00a78b3251d" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/cloudron/box/-/commit/949b2e2530283e1690656c2dd417e00a78b3251d</a> . I am still monitoring <a class="plugin-mentions-user plugin-mentions-a" href="/user/chaitanya" aria-label="Profile: chaitanya">@<bdi>chaitanya</bdi></a>'s server to see the impact the change has.</p>
]]></description><link>https://forum.cloudron.io/post/36040</link><guid isPermaLink="true">https://forum.cloudron.io/post/36040</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 03 Sep 2021 15:09:56 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud take very long time to respond on Thu, 02 Sep 2021 18:23:57 GMT]]></title><description><![CDATA[<p dir="auto">There's also some cryptic math here - <a href="https://www.oreilly.com/library/view/postgresql-10-high/9781788474481/cfcdb792-38e6-42c9-b60b-3c0a86007aa4.xhtml" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.oreilly.com/library/view/postgresql-10-high/9781788474481/cfcdb792-38e6-42c9-b60b-3c0a86007aa4.xhtml</a></p>
]]></description><link>https://forum.cloudron.io/post/36017</link><guid isPermaLink="true">https://forum.cloudron.io/post/36017</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 02 Sep 2021 18:23:57 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud take very long time to respond on Thu, 02 Sep 2021 18:17:26 GMT]]></title><description><![CDATA[<p dir="auto">There seem to be two issues here:</p>
<ul>
<li>One some db inconsistency which is causing duplicate errors. This has the same errors as <a href="https://forum.cloudron.io/topic/4212/how-to-fix-thes-errors-in-postgresql-logs-related-to-oc_filecache_extended">https://forum.cloudron.io/topic/4212/how-to-fix-thes-errors-in-postgresql-logs-related-to-oc_filecache_extended</a></li>
<li>Another is "ERROR:  could not resize shared memory segment "/PostgreSQL.1655854505" to 4194304 bytes: No space left on device".</li>
</ul>
<p dir="auto">Investigating the latter. There is a <code>shared_buffers</code> setting in postgresql config which is currently at 64MB. Then docker has a default --shm-size of 64MB as well (<a href="https://github.com/moby/moby/issues/29492" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/moby/moby/issues/29492</a>). The default is in fact 128MB per <a href="https://www.postgresql.org/docs/12/runtime-config-resource.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.postgresql.org/docs/12/runtime-config-resource.html</a> these days. I will fix our container and docker configuration.</p>
<p dir="auto">More info:</p>
<ul>
<li><a href="https://github.com/docker-library/postgres/issues/416" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/docker-library/postgres/issues/416</a></li>
<li><a href="https://www.postgresql.org/message-id/CAEepm%3D2wXSfmS601nUVCftJKRPF%3DPRX%2BDYZxMeT8M2WwLSanVQ%40mail.gmail.com" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.postgresql.org/message-id/CAEepm%3D2wXSfmS601nUVCftJKRPF%3DPRX%2BDYZxMeT8M2WwLSanVQ%40mail.gmail.com</a></li>
<li><a href="https://leopard.in.ua/2013/09/05/postgresql-sessting-shared-memory" target="_blank" rel="noopener noreferrer nofollow ugc">https://leopard.in.ua/2013/09/05/postgresql-sessting-shared-memory</a></li>
</ul>
]]></description><link>https://forum.cloudron.io/post/36016</link><guid isPermaLink="true">https://forum.cloudron.io/post/36016</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 02 Sep 2021 18:17:26 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud take very long time to respond on Thu, 02 Sep 2021 12:38:40 GMT]]></title><description><![CDATA[<p dir="auto">To update here, restarting the Postgres service made that space issue go away for the memory segment. It is still unclear what this was.</p>
]]></description><link>https://forum.cloudron.io/post/36004</link><guid isPermaLink="true">https://forum.cloudron.io/post/36004</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Thu, 02 Sep 2021 12:38:40 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud take very long time to respond on Wed, 01 Sep 2021 09:53:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chaitanya" aria-label="Profile: chaitanya">@<bdi>chaitanya</bdi></a> since you also contacted support, I was able to look at the server directly and so far I am not sure what that postgres error about disk space is, the server has enough tmpfs or actual disk space available. I am still investigating what the root case might be.</p>
]]></description><link>https://forum.cloudron.io/post/35955</link><guid isPermaLink="true">https://forum.cloudron.io/post/35955</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 01 Sep 2021 09:53:37 GMT</pubDate></item></channel></rss>