<?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[High CPU Usage by www-data php -f app/code/cron.php after Cloudron Migration]]></title><description><![CDATA[<p dir="auto">Yesterday, I migrated my Cloudron to a new server. The restoration went smoothly, but now I'm facing an issue with high CPU usage. The process www-data php -f app/code/cron.php is consuming 98% of the CPU, and I don't know how to resolve this.</p>
<p dir="auto">Has anyone encountered a similar problem or have any suggestions on how to diagnose and fix this issue? Any help would be greatly appreciated!<br />
<img src="/assets/uploads/files/1717133393347-sn%C3%ADmek-obrazovky-po%C5%99%C3%ADzen%C3%BD-2024-05-31-07-14-53-resized.png" alt="Snímek obrazovky pořízený 2024-05-31 07-14-53.png" class="img-markdown  img-fluid" /></p>
]]></description><link>https://forum.cloudron.io/topic/11836/high-cpu-usage-by-www-data-php-f-app-code-cron-php-after-cloudron-migration</link><generator>RSS for Node</generator><lastBuildDate>Mon, 05 Oct 2026 23:49:52 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/11836.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 31 May 2024 05:29:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to High CPU Usage by www-data php -f app/code/cron.php after Cloudron Migration on Fri, 07 Jun 2024 08:42:18 GMT]]></title><description><![CDATA[<p dir="auto">For the "suspicious login" plugin atleast, maybe try reporting it upstream . Just make sure it's up to date before reporting upstream . There are some issues upstream already - <a href="https://github.com/search?q=repo%3Anextcloud%2Fsuspicious_login+caught+unknown+error+ipv4+background+training&amp;type=issues" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/search?q=repo%3Anextcloud%2Fsuspicious_login+caught+unknown+error+ipv4+background+training&amp;type=issues</a></p>
<p dir="auto">The other one comes from some fediverse thing in nextcloud ...</p>
]]></description><link>https://forum.cloudron.io/post/89534</link><guid isPermaLink="true">https://forum.cloudron.io/post/89534</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 07 Jun 2024 08:42:18 GMT</pubDate></item><item><title><![CDATA[Reply to High CPU Usage by www-data php -f app/code/cron.php after Cloudron Migration on Fri, 07 Jun 2024 05:21:16 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I have been monitoring the situation for a few days, but the process /usr/sbin/Apache2 -DFOREGROUND is still consuming too much CPU, around 50%. Additionally, there are now 11 errors appearing in the Nextcloud administration settings.<img src="/assets/uploads/files/1717737622701-sn%C3%ADmek-obrazovky-po%C5%99%C3%ADzen%C3%BD-2024-06-07-07-19-36-resized.png" alt="Snímek obrazovky pořízený 2024-06-07 07-19-36.png" class="img-markdown  img-fluid" /></p>
]]></description><link>https://forum.cloudron.io/post/89529</link><guid isPermaLink="true">https://forum.cloudron.io/post/89529</guid><dc:creator><![CDATA[archos]]></dc:creator><pubDate>Fri, 07 Jun 2024 05:21:16 GMT</pubDate></item><item><title><![CDATA[Reply to High CPU Usage by www-data php -f app/code/cron.php after Cloudron Migration on Fri, 31 May 2024 09:36:23 GMT]]></title><description><![CDATA[<p dir="auto">I tried to terminate the process using the command <code>kill -9 389333</code>, but it seems it has already been terminated, as the error bash: kill: (389333) - No such process appeared. Now the process <code>/usr/sbin/Apache2- DFOREGROUND</code> is using around 50% of the CPU, but it’s not as bad as it was in the morning. I’ll monitor it for a while and will provide further updates.</p>
]]></description><link>https://forum.cloudron.io/post/89277</link><guid isPermaLink="true">https://forum.cloudron.io/post/89277</guid><dc:creator><![CDATA[archos]]></dc:creator><pubDate>Fri, 31 May 2024 09:36:23 GMT</pubDate></item><item><title><![CDATA[Reply to High CPU Usage by www-data php -f app/code/cron.php after Cloudron Migration on Fri, 31 May 2024 08:48:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/archos" aria-label="Profile: archos">@<bdi>archos</bdi></a> you can just ssh and <code>kill -9 pid</code> (pid is 398333 in your screenshot)</p>
<p dir="auto">Of course, you are welcome to contact on <a href="mailto:support@cloudron.io" target="_blank" rel="noopener noreferrer nofollow ugc">support@cloudron.io</a> too.</p>
]]></description><link>https://forum.cloudron.io/post/89275</link><guid isPermaLink="true">https://forum.cloudron.io/post/89275</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 31 May 2024 08:48:31 GMT</pubDate></item><item><title><![CDATA[Reply to High CPU Usage by www-data php -f app/code/cron.php after Cloudron Migration on Fri, 31 May 2024 08:28:44 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> May I contact you, please? I'm not sure how to kill the process and what exactly to monitor. Thank you very much.</p>
]]></description><link>https://forum.cloudron.io/post/89273</link><guid isPermaLink="true">https://forum.cloudron.io/post/89273</guid><dc:creator><![CDATA[archos]]></dc:creator><pubDate>Fri, 31 May 2024 08:28:44 GMT</pubDate></item><item><title><![CDATA[Reply to High CPU Usage by www-data php -f app/code/cron.php after Cloudron Migration on Fri, 31 May 2024 08:10:26 GMT]]></title><description><![CDATA[<p dir="auto">I can't make out from the logs atleast what the cron job is doing. Maybe kill that process and see if it always hangs. Otherwise, we might have to ask upstream to figure what that process is doing.</p>
]]></description><link>https://forum.cloudron.io/post/89270</link><guid isPermaLink="true">https://forum.cloudron.io/post/89270</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 31 May 2024 08:10:26 GMT</pubDate></item><item><title><![CDATA[Reply to High CPU Usage by www-data php -f app/code/cron.php after Cloudron Migration on Fri, 31 May 2024 07:48:05 GMT]]></title><description><![CDATA[<p dir="auto">I don't know if this is normal, but in the system info, the connected HDD changes color, sometimes it's red and sometimes it's light blue.<br />
<img src="/assets/uploads/files/1717141673101-volume1_20240531094559.png" alt="volume1_20240531094559.png" class="img-markdown  img-fluid" /><br />
<img src="/assets/uploads/files/1717141680328-volume2_20240531094603.png" alt="volume2_20240531094603.png" class="img-markdown  img-fluid" /></p>
]]></description><link>https://forum.cloudron.io/post/89266</link><guid isPermaLink="true">https://forum.cloudron.io/post/89266</guid><dc:creator><![CDATA[archos]]></dc:creator><pubDate>Fri, 31 May 2024 07:48:05 GMT</pubDate></item><item><title><![CDATA[Reply to High CPU Usage by www-data php -f app/code/cron.php after Cloudron Migration on Fri, 31 May 2024 07:31:18 GMT]]></title><description><![CDATA[<p dir="auto">Here are some additional errors from the Nextcloud administration:</p>
<p dir="auto"><img src="/assets/uploads/files/1717140517925-sn%C3%ADmek-obrazovky-po%C5%99%C3%ADzen%C3%BD-2024-05-31-09-27-30-resized.png" alt="Snímek obrazovky pořízený 2024-05-31 09-27-30.png" class="img-markdown  img-fluid" /></p>
]]></description><link>https://forum.cloudron.io/post/89262</link><guid isPermaLink="true">https://forum.cloudron.io/post/89262</guid><dc:creator><![CDATA[archos]]></dc:creator><pubDate>Fri, 31 May 2024 07:31:18 GMT</pubDate></item><item><title><![CDATA[Reply to High CPU Usage by www-data php -f app/code/cron.php after Cloudron Migration on Fri, 31 May 2024 07:23:16 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><br />
In the /run/nextcloud/nextcloud.log file, I found the following entries:</p>
<pre><code>"reqId":"gOoHxX7NY8BTxEzZ5VyM","level":3,"time":"2024-05-30T18:34:31+00:00","remoteAddr":"172.18.0.1","user":"--","app":"PHP","method":"GET","url":"/index.php/login","message":"Optional parameter $userId dec&gt;
{"reqId":"N8nYMVeRlzkdKH7QYp4a","level":3,"time":"2024-05-30T18:59:34+00:00","remoteAddr":"31.220.75.8","user":"--","app":"no app in context","method":"GET","url":"/index.php/apps/files/api/v1/thumbnail/256/2&gt;
{"reqId":"aMRHN0Pc346zRht23UE2","level":3,"time":"2024-05-30T18:59:34+00:00","remoteAddr":"31.220.75.8","user":"--","app":"no app in context","method":"GET","url":"/index.php/apps/files/api/v1/thumbnail/256/2&gt;
{"reqId":"XPD5Qv09LbyZDHo54rSj","level":3,"time":"2024-05-30T18:59:35+00:00","remoteAddr":"31.220.75.8","user":"--","app":"core","method":"GET","url":"/index.php/apps/files/api/v1/thumbnail/256/256/Nextcloud%&gt;
{"reqId":"KETPR0CXBY6eDIdQVGLA","level":3,"time":"2024-05-30T18:59:35+00:00","remoteAddr":"31.220.75.8","user":"--","app":"core","method":"GET","url":"/index.php/apps/files/api/v1/thumbnail/256/256/Readme.md"&gt;
{"reqId":"xnJGRyXLgykGvlEUSePr","level":3,"time":"2024-05-30T19:06:43+00:00","remoteAddr":"31.220.75.8","user":"--","app":"no app in context","method":"GET","url":"/index.php/apps/files/api/v1/thumbnail/256/2&gt;
{"reqId":"oZvewwEmJALYOMXtMamf","level":3,"time":"2024-05-30T19:06:51+00:00","remoteAddr":"31.220.75.8","user":"--","app":"no app in context","method":"GET","url":"/index.php/apps/files/api/v1/thumbnail/256/2&gt;
{"reqId":"F4WyT2QAbT36igHAnyLN","level":3,"time":"2024-05-30T19:07:04+00:00","remoteAddr":"31.220.75.8","user":"--","app":"no app in context","method":"PROPFIND","url":"/remote.php/dav/files/zde/Insta&gt;
{"reqId":"4tzlclGhXjdZoeGR0GXI","level":3,"time":"2024-05-30T19:07:06+00:00","remoteAddr":"31.220.75.8","user":"--","app":"no app in context","method":"GET","url":"/index.php/apps/files/api/v1/thumbnail/256/2&gt;
{"reqId":"bS32DtpCm5SALP4Y3h8m","level":3,"time":"2024-05-30T19:07:16+00:00","remoteAddr":"31.220.75.8","user":"--","app":"no app in context","method":"GET","url":"/index.php/apps/files/api/v1/thumbnail/256/2&gt;
{"reqId":"WFNbvM7iKNtSnHyzSmyY","level":3,"time":"2024-05-30T19:07:26+00:00","remoteAddr":"31.220.75.8","user":"--","app":"no app in context","method":"PROPFIND","url":"/remote.php/dav/files/zdenekkreml/Insta&gt;
{"reqId":"KPWPjkSen6S7zdDLMptF","level":3,"time":"2024-05-30T19:07:28+00:00","remoteAddr":"31.220.75.8","user":"--","app":"no app in context","method":"GET","url":"/index.php/apps/files/api/v1/thumbnail/256/2&gt;
{"reqId":"IvKkTVH8cBrrlrAJLWM7","level":3,"time":"2024-05-30T19:07:35+00:00","remoteAddr":"31.220.75.8","user":"--","app":"no app in context","method":"PROPFIND","url":"/remote.php/dav/files/zdenekkreml/Insta&gt;
{"reqId":"457bZ1rwsPlbOiQ924LS","level":3,"time":"2024-05-30T19:07:37+00:00","remoteAddr":"31.220.75.8","user":"--","app":"no app in context","method":"GET","url":"/index.php/apps/files/api/v1/thumbnail/256/2&gt;
{"reqId":"sLUTrOfVwp6Kb4qHNaFc","level":3,"time":"2024-05-30T19:07:45+00:00","remoteAddr":"31.220.75.8","user":"--","app":"no app in context","method":"GET","url":"/status.php","message":"Could not decrypt or&gt;
{"reqId":"jGL241edGUMd5RIWufU1","level":3,"time":"2024-05-30T19:09:00+00:00","remoteAddr":"31.220.75.8","user":"--","app":"no app in context","method":"GET","url":"/index.php/apps/files/api/v1/thumbnail/256/2&gt;
{"reqId":"DfwchaHbbQaANW1nVxjo","level":3,"time":"2024-05-30T19:09:13+00:00","remoteAddr":"31.220.75.8","user":"--","app":"no app in context","method":"GET","url":"/index.php/apps/files/api/v1/thumbnail/256/2&gt;
{"reqId":"hv0MtsGWldKlWlZ32JNj","level":3,"time":"2024-05-30T19:13:59+00:00","remoteAddr":"31.220.75.8","user":"--","app":"no app in context","method":"GET","url":"/index.php/apps/files/api/v1/thumbnail/256/2&gt;
{"reqId":"MdJX3M7UFfjthQWN5GPz","level":3,"time":"2024-05-30T19:14:00+00:00","remoteAddr":"31.220.75.8","user":"--","app":"no app in context","method":"GET","url":"/status.php","message":"Could not decrypt or&gt;
{"reqId":"EVGReqYQcc4wKsK4Z8HR","level":3,"time":"2024-05-31T01:00:33+00:00","remoteAddr":"","user":"--","app":"suspicious_login","method":"","url":"--","message":"Caught unknown error during IPv4 background &gt;
{"reqId":"FAijjY3308XoKUhQcvTR","level":3,"time":"2024-05-31T05:58:31+00:00","remoteAddr":"172.18.0.1","user":"--","app":"PHP","method":"GET","url":"/index.php/login","message":"Optional parameter $userId dec&gt;
{"reqId":"pY0CXxAiqyXn6nIh9lVH","level":3,"time":"2024-05-31T06:05:12+00:00","remoteAddr":"31.220.75.8","user":"zdenekkreml","app":"jsresourceloader","method":"GET","url":"/settings/user/sync-clients","messag&gt;
{"reqId":"OG6CHHlWo1Rb2JbidYn2","level":3,"time":"2024-05-31T06:06:46+00:00","remoteAddr":"31.220.75.8","user":"zdenekkreml","app":"PHP","method":"GET","url":"/settings/user","message":"Undefined array key 1 &gt;
{"reqId":"YNnUOn7bP0m0u9mNDS2R","level":3,"time":"2024-05-31T06:14:21+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job OC\\FilesMetadata\\Jo&gt;
{"reqId":"YNnUOn7bP0m0u9mNDS2R","level":3,"time":"2024-05-31T06:14:21+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"An exception occurred while executing a query: SQLSTATE[&gt;
{"reqId":"oOyNuORofriqhF4tbgVW","level":3,"time":"2024-05-31T06:25:41+00:00","remoteAddr":"172.18.0.1","user":"--","app":"PHP","method":"GET","url":"/index.php/login","message":"Optional parameter $userId dec&gt;
</code></pre>
]]></description><link>https://forum.cloudron.io/post/89261</link><guid isPermaLink="true">https://forum.cloudron.io/post/89261</guid><dc:creator><![CDATA[archos]]></dc:creator><pubDate>Fri, 31 May 2024 07:23:16 GMT</pubDate></item><item><title><![CDATA[Reply to High CPU Usage by www-data php -f app/code/cron.php after Cloudron Migration on Fri, 31 May 2024 07:14:23 GMT]]></title><description><![CDATA[<p dir="auto">The log file of nextcloud is at <code>/run/nextcloud/nextcloud.log</code> inside the container . Maybe there is also some errors in the Admin view of nextcloud itself (I think it's under system or something)</p>
]]></description><link>https://forum.cloudron.io/post/89260</link><guid isPermaLink="true">https://forum.cloudron.io/post/89260</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 31 May 2024 07:14:23 GMT</pubDate></item><item><title><![CDATA[Reply to High CPU Usage by www-data php -f app/code/cron.php after Cloudron Migration on Fri, 31 May 2024 07:12:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/archos" aria-label="Profile: archos">@<bdi>archos</bdi></a> I wonder if it's busy thumbnailing or something post migration <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f914.png?v=5f2780b28b1" class="not-responsive emoji emoji-android emoji--thinking_face" style="height:1.4em;width:auto;vertical-align:middle" title=":thinking_face:" alt="🤔" /> Is there any hint as to what the cron job is doing?</p>
]]></description><link>https://forum.cloudron.io/post/89259</link><guid isPermaLink="true">https://forum.cloudron.io/post/89259</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 31 May 2024 07:12:19 GMT</pubDate></item><item><title><![CDATA[Reply to High CPU Usage by www-data php -f app/code/cron.php after Cloudron Migration on Fri, 31 May 2024 07:09:45 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><br />
Thank you for the response.</p>
<p dir="auto">I used the commands and found that the container docker/50a7ac5a21a7a92e0d7e8e846625f2285167801b6e30c66ad45fcc827af8d7d1 has the highest CPU usage. I used docker inspect and discovered that the container is using the image cloudron/com.nextcloud.cloudronapp, which suggests it is a Nextcloud application.</p>
<p dir="auto">Additionally, on the new server, I have an HDD connected via the filesystem /mnt/data, where I have mounted the Nextcloud data. Could the issue be related to this?</p>
]]></description><link>https://forum.cloudron.io/post/89258</link><guid isPermaLink="true">https://forum.cloudron.io/post/89258</guid><dc:creator><![CDATA[archos]]></dc:creator><pubDate>Fri, 31 May 2024 07:09:45 GMT</pubDate></item><item><title><![CDATA[Reply to High CPU Usage by www-data php -f app/code/cron.php after Cloudron Migration on Fri, 31 May 2024 06:49:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/archos" aria-label="Profile: archos">@<bdi>archos</bdi></a> do you know which app this is? I don't recall any specific app having a cron.php . You can find out using <code>systemd-cgls</code> and <code>systemd-cgtop</code> commands.</p>
]]></description><link>https://forum.cloudron.io/post/89255</link><guid isPermaLink="true">https://forum.cloudron.io/post/89255</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 31 May 2024 06:49:50 GMT</pubDate></item></channel></rss>