High cpu utilization since update 1.25.1
-
This very much reads like task tries to work a job which then fails due to a database conflict. Since that job never finishes it just retries in a loop. I think it is worth if you report this upstream as it kinda seems like a regression in the app itself.
-
wrote on Aug 10, 2024, 3:51 PM last edited by
Upstream ticket opened here: https://github.com/paperless-ngx/paperless-ngx/issues/7439
-
wrote on Aug 10, 2024, 4:32 PM last edited by humptydumpty Aug 10, 2024, 4:33 PM
@nebulon upstream closed the ticket and said the following:
Perhaps a better question for cloudron not a bug report here. Memory yes, 100% CPU, no. I appreciate that cloud hosting companies tend to push users to the project itself but since the only people having this problem are those hosting on cloudron (there have been no similar reports lately and I think there would be since it sounds like the app is effectively broken) I think the more logical conclusion is that this is a cloudron issue not a paperless one.
Could you please get in touch with them and sort this out?
-
wrote on Aug 10, 2024, 6:28 PM last edited by
Googling this suggests trying to remove a corrupted file eg data/celerybeat.db
-
wrote on Aug 10, 2024, 9:43 PM last edited by humptydumpty Aug 10, 2024, 9:44 PM
-
Shoutout to stumpylog (paperless maintainer) for the fix. Using the file manager, browse to /app/data/data and delete celerybeat-schedule.db.db and restart the
serverapp. CPU usage went down for me. Hopefully, it stays that way.@humptydumpty said in High cpu utilization since update 1.25.1:
Shoutout to stumpylog (paperless maintainer) for the fix. Using the file manager, browse to /app/data/data and delete celerybeat-schedule.db.db and restart the
serverapp. CPU usage went down for me. Hopefully, it stays that way.This solution solved the issue for me! Thanks!!
-
Shoutout to stumpylog (paperless maintainer) for the fix. Using the file manager, browse to /app/data/data and delete celerybeat-schedule.db.db and restart the
serverapp. CPU usage went down for me. Hopefully, it stays that way.wrote on Aug 11, 2024, 11:11 AM last edited by@humptydumpty said in High cpu utilization since update 1.25.1:
Shoutout to stumpylog (paperless maintainer) for the fix. Using the file manager, browse to /app/data/data and delete celerybeat-schedule.db.db and restart the
serverapp. CPU usage went down for me. Hopefully, it stays that way.So it was not a Cloudron issue in the end?
-
@humptydumpty said in High cpu utilization since update 1.25.1:
Shoutout to stumpylog (paperless maintainer) for the fix. Using the file manager, browse to /app/data/data and delete celerybeat-schedule.db.db and restart the
serverapp. CPU usage went down for me. Hopefully, it stays that way.So it was not a Cloudron issue in the end?
wrote on Aug 11, 2024, 11:47 AM last edited by@necrevistonnezr we still don’t know the root cause of the file corruption. It could happen again anytime. Upstream closed the discussion and moved on. It looks like only Cloudron users are affected on existing installs and not on a fresh app. App update snafu?
Btw, upstream said the +500mb ram on idle is normal. I don’t get why it should be that high.
-
wrote on Aug 12, 2024, 8:15 PM last edited by humptydumpty Aug 12, 2024, 8:17 PM
@nebulon I uploaded the corrupted db file upstream as requested.. edit: just realized I can copy the github link https://github.com/user-attachments/files/16591433/celerybeat-schedule.db.zip
I'll keep the cloned app for the time being. Please let me know if you need more info.
-
-
wrote on Aug 31, 2024, 2:21 PM last edited by
CPU is high again on Paperless-ngx 2.11.6. Deleting the celery file and restarting still works as a temp fix. I did turn off the server today and updated the BIOS. Idk if that has anything to do with it.
-
-
-
-
wrote on Oct 25, 2024, 4:55 PM last edited by
Do we know by now what is causing this problem? I have had it for the second time today. Last time about a Month ago. The fix worked in both cases but I guess it would still be interesting to know why this is happening.
-
wrote on Oct 31, 2024, 1:57 PM last edited by humptydumpty Oct 31, 2024, 2:05 PM
-
-
wrote 11 days ago last edited by
Just an FYI, it's still recurring on v.1.3.2.
-
wrote 10 days ago last edited by
Same issue for me. I ran cloudron as a VM on unraid and on proxmox, on 2 different hosts and with and without a CIFS mount as consume folder. The issue recurred in every constellation.
-
Same issue for me. I ran cloudron as a VM on unraid and on proxmox, on 2 different hosts and with and without a CIFS mount as consume folder. The issue recurred in every constellation.
@flwd said in High cpu utilization since update 1.25.1:
The issue recurred in every constellation
What does this mean?
-
@flwd said in High cpu utilization since update 1.25.1:
The issue recurred in every constellation
What does this mean?
wrote 9 days ago last edited by@joseph installation typo would be my guess
-
@flwd said in High cpu utilization since update 1.25.1:
The issue recurred in every constellation
What does this mean?
-
@joseph it occured in every installation variant i tried, independant of the CIFS mount and config.
-
@flwd thanks for the clarification. I think the original issue atleast was narrowed down to celery database going corrupt and it's not related to volume type. Have you tried deleting that database pointed out earlier in the thread?