Constant high CPU load when idling #29

Closed
opened 2026-02-04 16:40:09 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @arminus on GitHub (Mar 26, 2022).

Platform: Linux pi4 5.10.92-v8+ #1514 SMP PREEMPT Mon Jan 17 17:39:38 GMT 2022 aarch64 GNU/Linux
OS: Raspbian 11/bullseye

UPLOAD_LOCATION is an NFS filesystem, NODE_ENV=development

The docker node process from immich-server-dev:1.3.0 produces constant high CPU load:

plot

Could this be node's watch mode? How do I turn this off?

Originally created by @arminus on GitHub (Mar 26, 2022). Platform: Linux pi4 5.10.92-v8+ #1514 SMP PREEMPT Mon Jan 17 17:39:38 GMT 2022 aarch64 GNU/Linux OS: Raspbian 11/bullseye UPLOAD_LOCATION is an NFS filesystem, NODE_ENV=development The docker node process from immich-server-dev:1.3.0 produces constant high CPU load: ![plot](https://user-images.githubusercontent.com/683680/160247515-aebcb76d-7276-4640-a34e-03884953bf7a.png) Could this be node's watch mode? How do I turn this off?
Author
Owner

@alextran1502 commented on GitHub (Mar 26, 2022):

You can try to replace the content in server/entrypoint.sh to

npm run build && npm run start:prod

let me know if this works and I will add make a docker-compose file for production.

@alextran1502 commented on GitHub (Mar 26, 2022): You can try to replace the content in `server/entrypoint.sh` to ``` npm run build && npm run start:prod ``` let me know if this works and I will add make a `docker-compose` file for production.
Author
Owner

@arminus commented on GitHub (Mar 26, 2022):

Thanks, CPU usage is now normal.

@arminus commented on GitHub (Mar 26, 2022): Thanks, CPU usage is now normal.
Author
Owner

@alextran1502 commented on GitHub (Mar 26, 2022):

Glad it helps, I will add this information into the readme.

@alextran1502 commented on GitHub (Mar 26, 2022): Glad it helps, I will add this information into the readme.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#29