Closed Bidonh closed 1 year ago
The IPFS daemon consumes too many ressources. As said here, I just switch off the container when not using it.
No idle at low CPU+network.
CPU is hovering around 8-10%. Home network is barely usable. Qbittorrent container on the same NAS loses 80% of its upload/download bandwidth.
OS: DSM7.1.1 CPU architecture: x86_64/ How docker service was installed: From hub.docker.com
From Portainer Stacks:
version: "3.5"
networks: emulatorjs_bridge: driver: bridge name: emulatorjs_bridge services: emulatorjs: image: linuxserver/emulatorjs:1.7.2-ls42 container_name: emulatorjs_172 networks:
volumes:
restart: unless-stopped
cont-init: info: running /etc/cont-init.d/01-migrations [migrations] started [migrations] no migrations found cont-init: info: /etc/cont-init.d/01-migrations exited 0 cont-init: info: running /etc/cont-init.d/02-tamper-check cont-init: info: /etc/cont-init.d/02-tamper-check exited 0 cont-init: info: running /etc/cont-init.d/10-adduser usermod: no changes
_ () | | ___ _ __ | | / __| | | / \ | | \__ \ | | | () | |_| |___/ |_| \__/
cont-init: info: /etc/cont-init.d/10-adduser exited 0 cont-init: info: running /etc/cont-init.d/20-config cont-init: info: /etc/cont-init.d/20-config exited 0 cont-init: info: running /etc/cont-init.d/90-custom-folders [custom-init] no custom files found, skipping... [ls.io-init] done. cont-init: info: /etc/cont-init.d/90-custom-folders exited 0 cont-init: info: running /etc/cont-init.d/99-custom-files cont-init: info: /etc/cont-init.d/99-custom-files exited 0 s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service init-mods: starting s6-rc: info: service init-mods successfully started s6-rc: info: service init-mods-package-install: starting s6-rc: info: service init-mods-package-install successfully started s6-rc: info: service init-mods-end: starting s6-rc: info: service init-mods-end successfully started s6-rc: info: service init-services: starting s6-rc: info: service init-services successfully started s6-rc: info: service legacy-services: starting services-up: info: copying legacy longrun backend (no readiness notification) services-up: info: copying legacy longrun ipfs (no readiness notification) services-up: info: copying legacy longrun nginx (no readiness notification) services-up: info: copying legacy longrun profile (no readiness notification) s6-rc: info: service legacy-services successfully started s6-rc: info: service 99-ci-service-check: starting s6-rc: info: service 99-ci-service-check successfully started Initializing daemon... go-ipfs version: 0.10.0-66aa35dd43 Repo version: 11 System version: amd64/linux Golang version: go1.17.10 2022/10/23 18:30:41 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size for details. Swarm listening on /ip4/127.0.0.1/tcp/4001 Swarm listening on /ip4/127.0.0.1/udp/4001/quic Swarm listening on /ip4/192.168.160.2/tcp/4001 Swarm listening on /ip4/192.168.160.2/udp/4001/quic Swarm listening on /p2p-circuit Swarm announcing /ip4/127.0.0.1/tcp/4001 Swarm announcing /ip4/127.0.0.1/udp/4001/quic Swarm announcing /ip4/192.168.160.2/tcp/4001 Swarm announcing /ip4/192.168.160.2/udp/4001/quic Swarm announcing /ip4/78.207.186.41/tcp/1024 Swarm announcing /ip4/78.207.186.41/udp/4001/quic API server listening on /ip4/127.0.0.1/tcp/5001 WebUI: http://127.0.0.1:5001/webui Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/8080 Daemon is ready s6-rc: info: service 99-ci-service-check: stopping s6-rc: info: service 99-ci-service-check successfully stopped s6-rc: info: service legacy-services: stopping
Received interrupt signal, shutting down... (Hit ctrl-c again to force-shutdown the daemon.) s6-rc: info: service legacy-services successfully stopped s6-rc: info: service init-services: stopping s6-rc: info: service 00-legacy: stopping s6-rc: info: service init-services successfully stopped s6-rc: info: service init-mods-end: stopping s6-rc: info: service 00-legacy successfully stopped s6-rc: info: service init-mods-end successfully stopped s6-rc: info: service init-mods-package-install: stopping s6-rc: info: service init-mods-package-install successfully stopped s6-rc: info: service init-mods: stopping s6-rc: info: service init-mods successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped
Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
NAS Synology DS220+
The CPU usage in idle is high 8-10%.
Bandwidth usage is high. Port 4001 is disabled.
The IPFS daemon consumes too many ressources. As said here, I just switch off the container when not using it.
Expected Behavior
No idle at low CPU+network.
Current Behavior
CPU is hovering around 8-10%. Home network is barely usable. Qbittorrent container on the same NAS loses 80% of its upload/download bandwidth.
Steps to Reproduce
Environment
OS: DSM7.1.1 CPU architecture: x86_64/ How docker service was installed: From hub.docker.com
Command used to create docker container (run/create/compose/screenshot)
From Portainer Stacks:
version: "3.5"
networks: emulatorjs_bridge: driver: bridge name: emulatorjs_bridge
services: emulatorjs: image: linuxserver/emulatorjs:1.7.2-ls42 container_name: emulatorjs_172 networks:
environment:
- SUBFOLDER=/ #optional
volumes:
- 4001:4001 #optional
restart: unless-stopped
Docker logs
cont-init: info: running /etc/cont-init.d/01-migrations [migrations] started [migrations] no migrations found cont-init: info: /etc/cont-init.d/01-migrations exited 0 cont-init: info: running /etc/cont-init.d/02-tamper-check cont-init: info: /etc/cont-init.d/02-tamper-check exited 0 cont-init: info: running /etc/cont-init.d/10-adduser usermod: no changes
Brought to you by linuxserver.io
To support LSIO projects visit: https://www.linuxserver.io/donate/
GID/UID
User uid: 1027 User gid: 100
cont-init: info: /etc/cont-init.d/10-adduser exited 0 cont-init: info: running /etc/cont-init.d/20-config cont-init: info: /etc/cont-init.d/20-config exited 0 cont-init: info: running /etc/cont-init.d/90-custom-folders [custom-init] no custom files found, skipping... [ls.io-init] done. cont-init: info: /etc/cont-init.d/90-custom-folders exited 0 cont-init: info: running /etc/cont-init.d/99-custom-files cont-init: info: /etc/cont-init.d/99-custom-files exited 0 s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service init-mods: starting s6-rc: info: service init-mods successfully started s6-rc: info: service init-mods-package-install: starting s6-rc: info: service init-mods-package-install successfully started s6-rc: info: service init-mods-end: starting s6-rc: info: service init-mods-end successfully started s6-rc: info: service init-services: starting s6-rc: info: service init-services successfully started s6-rc: info: service legacy-services: starting services-up: info: copying legacy longrun backend (no readiness notification) services-up: info: copying legacy longrun ipfs (no readiness notification) services-up: info: copying legacy longrun nginx (no readiness notification) services-up: info: copying legacy longrun profile (no readiness notification) s6-rc: info: service legacy-services successfully started s6-rc: info: service 99-ci-service-check: starting s6-rc: info: service 99-ci-service-check successfully started Initializing daemon... go-ipfs version: 0.10.0-66aa35dd43 Repo version: 11 System version: amd64/linux Golang version: go1.17.10 2022/10/23 18:30:41 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size for details. Swarm listening on /ip4/127.0.0.1/tcp/4001 Swarm listening on /ip4/127.0.0.1/udp/4001/quic Swarm listening on /ip4/192.168.160.2/tcp/4001 Swarm listening on /ip4/192.168.160.2/udp/4001/quic Swarm listening on /p2p-circuit Swarm announcing /ip4/127.0.0.1/tcp/4001 Swarm announcing /ip4/127.0.0.1/udp/4001/quic Swarm announcing /ip4/192.168.160.2/tcp/4001 Swarm announcing /ip4/192.168.160.2/udp/4001/quic Swarm announcing /ip4/78.207.186.41/tcp/1024 Swarm announcing /ip4/78.207.186.41/udp/4001/quic API server listening on /ip4/127.0.0.1/tcp/5001 WebUI: http://127.0.0.1:5001/webui Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/8080 Daemon is ready s6-rc: info: service 99-ci-service-check: stopping s6-rc: info: service 99-ci-service-check successfully stopped s6-rc: info: service legacy-services: stopping
Received interrupt signal, shutting down... (Hit ctrl-c again to force-shutdown the daemon.) s6-rc: info: service legacy-services successfully stopped s6-rc: info: service init-services: stopping s6-rc: info: service 00-legacy: stopping s6-rc: info: service init-services successfully stopped s6-rc: info: service init-mods-end: stopping s6-rc: info: service 00-legacy successfully stopped s6-rc: info: service init-mods-end successfully stopped s6-rc: info: service init-mods-package-install: stopping s6-rc: info: service init-mods-package-install successfully stopped s6-rc: info: service init-mods: stopping s6-rc: info: service init-mods successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped