anchorage_layer_simple/data/start-docker-services.log
ncantu e0ce7a9d83 Optimize sync-utxos RPC calls and document bitcoind crash issues
**Motivations:**
- Prevent bitcoind crashes caused by heavy RPC calls without timeout
- Document bitcoind crash and wallet loading stuck issues
- Clean up obsolete files (configure-nginx-proxy.sh, userwallet components, website-skeleton, old fixKnowledge docs)

**Root causes:**
- RPC calls without timeout causing bitcoind crashes
- No pre-check of bitcoind health before heavy operations
- Large wallet (315MB) causing long loading times and potential hangs
- Missing retry mechanism for transient errors

**Correctifs:**
- Add timeouts on RPC calls (5 minutes for listunspent, 10 seconds for healthcheck)
- Add bitcoind health check before synchronization
- Implement retry with exponential backoff
- Reduce maximumCount limit from 9999999 to 500000 UTXOs
- Improve cron script with pre-checks and better error handling
- Add container status verification before script execution

**Evolutions:**
- New check-services-status.sh script for service diagnostics
- Documentation of crash issues in fixKnowledge
- Improved logging with timestamps
- Better error messages and handling

**Pages affectées:**
- data/sync-utxos-spent-status.mjs
- data/sync-utxos-cron.sh
- data/restart-services-cron.sh
- data/check-services-status.sh (new)
- fixKnowledge/sync-utxos-rpc-optimization.md (new)
- fixKnowledge/signet-bitcoind-crash-mining-stopped.md (new)
- fixKnowledge/signet-bitcoind-crash-wallet-loading-stuck.md (new)
- Removed obsolete files: configure-nginx-proxy.sh, userwallet components, website-skeleton files, old fixKnowledge docs

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-08 08:18:26 +01:00

14 lines
728 B
Plaintext

2026-02-07T02:07:15+01:00 === Start Docker services at boot ===
2026-02-07T02:07:15+01:00 Starting bitcoin-signet-instance...
2026-02-07T02:07:15+01:00 bitcoin-signet-instance started
2026-02-07T02:32:36+01:00 === Start Docker services at boot ===
2026-02-07T02:32:37+01:00 bitcoin-signet-instance already running
2026-02-07T02:32:37+01:00 Starting mempool stack...
2026-02-07T02:32:37+01:00 mempool stack started
2026-02-07T02:32:37+01:00 === Done ===
2026-02-08T08:08:57+01:00 === Start Docker services at boot ===
2026-02-08T08:08:58+01:00 bitcoin-signet-instance already running
2026-02-08T08:08:58+01:00 Starting mempool stack...
2026-02-08T08:08:58+01:00 mempool stack started
2026-02-08T08:08:58+01:00 === Done ===