Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constant high CPU load when idling #74

Closed
arminus opened this issue Mar 26, 2022 · 3 comments
Closed

Constant high CPU load when idling #74

arminus opened this issue Mar 26, 2022 · 3 comments

Comments

@arminus
Copy link

arminus commented 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?

@alextran1502
Copy link
Contributor

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.

@arminus
Copy link
Author

arminus commented Mar 26, 2022

Thanks, CPU usage is now normal.

@alextran1502
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants