Open lukehmcc opened 3 months ago
S5 node uses a full CPU core continuously under no load.
$ cat ./config/config.toml # ! Documentation: https://docs.sfive.net/install/config name = "my-s5-node" [keypair] seed = ""********"" [cache] # Caches file objects that are uploaded, streamed or downloaded path = "/cache" maxSizeInGB = 4 [database] # Caches peer and object data (small) path = "/db" [http.api] port = 5050 bind = '0.0.0.0' domain = 's5.jptr.tech' [p2p.peers] initial = [ 'wss://z2Das8aEF7oNoxkcrfvzerZ1iBPWfm6D7gy3hVE4ALGSpVB@node.sfive.net/s5/p2p', 'wss://z2DdbxV4xyoqWck5pXXJdVzRnwQC6Gbv6o7xDvyZvzKUfuj@s5.vup.dev/s5/p2p', 'wss://z2DWuWNZcdSyZLpXFK2uCU3haaWMXrDAgxzv17sDEMHstZb@s5.garden/s5/p2p', ] [accounts] enabled = true alwaysAllowedScopes = [ 'account/login', 'account/register', 's5/registry/read', 's5/metadata', 's5/debug/storage_locations', 's5/debug/download_urls', 's5/blob/redirect', 's5/subdomain/load', 's5/p2p' ] [accounts.database] path = "/db/accounts" [store.sia] workerApiUrl = "http://127.0.0.1:9980/api/worker" bucket = "s5" apiPassword = "********" downloadUrl = "https://dl.jptr.tech"
$ inxi CPU: 4x 1-core Intel Xeon E5-2680 v2 (-SMP-) speed: 2800 MHz Kernel: 6.1.0-9-amd64 x86_64 Up: 66d 36m Mem: 1658.9/7941.0 MiB (20.9%) Storage: 165 GiB (36.5% used) Procs: 126 Shell: Bash inxi: 3.3.26
Tested and this is not improved when swapped for local store.
Issue
S5 node uses a full CPU core continuously under no load.
Config
System Info
Logs
Log: truncated for length
$ cat log.txt s5-dart v0.14.1 NODE ID: ******* [SiaObjectStore] init... [cache] total used cache size: 0 B / 4 GB [cache] doing nothing because max cache size is not reached yet [SiaObjectStore] ready. connection uris: [wss://s5.jptr.tech/s5/p2p] [connect] wss://z2Das8aEF7oNoxkcrfvzerZ1iBPWfm6D7gy3hVE4ALGSpVB@node.sfive.net/s5/p2p [connect] wss://z2DdbxV4xyoqWck5pXXJdVzRnwQC6Gbv6o7xDvyZvzKUfuj@s5.vup.dev/s5/p2p [connect] wss://z2DWuWNZcdSyZLpXFK2uCU3haaWMXrDAgxzv17sDEMHstZb@s5.garden/s5/p2p [sqlite] init ADMIN API KEY: ********* 2024-08-05 17:29:42.028176 - info - HTTP API Server listening on port 5050 [+] z2Dck2LByUXDrYM3zjgXyxemgxh4as4ftzAXZojfH5LSxrc (WebSocket client) [connect] wss://z2DWuPbL5pweybXnEB618pMnV58ECj2VPDNfVGm3tFqBvjF@s5.ninja/s5/p2p [connect] wss://z2DdyxVH6KuZP9rxqaDoq5faUgLHuRxrCtB2t4nfAraKARn@s5.redsolver.xyz/s5/p2p [connect] wss://z2DbeN94fiLDgrFJef4skCN5L1uWQfXEg1N63YmZPJ8Aurf@s5.daltek.tech/s5/p2p [connect] wss://z2DaCRMid9hktse8kM3kbpNigu6XjMtsheZzaNoHRX2A1XP@upload.mintyplex.com/s5/p2p [connect] wss://z2DezEfGjmwumVTtEM4G5pSo9mGwrach56nhEH6m1KRXMnL@node.fi.sfive.network/s5/p2p [connect] wss://z2DfWyBWF39sNDVpyAg7hqLQFCKZBAg6bogsWC7XvsfVfrG@sia5.net/s5/p2p [+] z2Das8aEF7oNoxkcrfvzerZ1iBPWfm6D7gy3hVE4ALGSpVB (wss://node.sfive.net/s5/p2p) [connect] wss://z2DbuqKTSVDpiEYNePLiwAysAeKdrW5oYQPY6fG6sxRWFsp@s5.ninja/s5/p2p #0 _WebSocketImpl.connect (dart:_http/websocket_impl.dart:1011) #1 WebSocket.connect (dart:_http/websocket.dart:320) #2 new IOWebSocketChannel.connect (package:web_socket_channel/io.dart:81) #3 connect (package:web_socket_channel/src/_connect_io.dart:15) #4 new WebSocketChannel.connect (package:web_socket_channel/src/channel.dart:115) #5 P2PService.connectToNode.