raspiblitz icon indicating copy to clipboard operation
raspiblitz copied to clipboard

Public Pool. Error getmininginfo 503 - "Work queue depth exceeded".

Open NilByte opened this issue 1 year ago • 1 comments

From debug log:

*** LAST 20 PUBLIPOOL LOGS ***
sudo journalctl -u publicpool -b --no-pager -n20
Dec 22 18:34:44 raspberrypi npm[379721]: Error getmininginfo 503 - "Work queue depth exceeded"
Dec 22 18:34:45 raspberrypi npm[379721]: Error getblocktemplate: Error: ESOCKETTIMEDOUT
Dec 22 18:34:45 raspberrypi npm[379721]: /home/publicpool/publicpool/src/services/bitcoin-rpc.service.ts:131
Dec 22 18:34:45 raspberrypi npm[379721]:             throw new Error('Error getblocktemplate');
Dec 22 18:34:45 raspberrypi npm[379721]:                   ^
Dec 22 18:34:45 raspberrypi npm[379721]: Error: Error getblocktemplate
Dec 22 18:34:45 raspberrypi npm[379721]:     at BitcoinRpcService.getBlockTemplate (/home/publicpool/publicpool/src/services/bitcoin-rpc.service.ts:131:19)
Dec 22 18:34:45 raspberrypi npm[379721]:     at processTicksAndRejections (node:internal/process/task_queues:95:5)
Dec 22 18:34:45 raspberrypi npm[377558]: npm notice
Dec 22 18:34:45 raspberrypi npm[377558]: npm notice New major version of npm available! 10.8.2 -> 11.0.0
Dec 22 18:34:45 raspberrypi npm[377558]: npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.0.0
Dec 22 18:34:45 raspberrypi npm[377558]: npm notice To update run: npm install -g [email protected]
Dec 22 18:34:45 raspberrypi npm[377558]: npm notice
Dec 22 18:34:45 raspberrypi systemd[1]: publicpool.service: Main process exited, code=exited, status=1/FAILURE
Dec 22 18:34:45 raspberrypi systemd[1]: publicpool.service: Failed with result 'exit-code'.
Dec 22 18:34:45 raspberrypi systemd[1]: publicpool.service: Consumed 18min 7.285s CPU time.
Dec 22 18:35:15 raspberrypi systemd[1]: publicpool.service: Scheduled restart job, restart counter is at 30.
Dec 22 18:35:15 raspberrypi systemd[1]: Stopped publicpool.service - publicpool.
Dec 22 18:35:15 raspberrypi systemd[1]: publicpool.service: Consumed 18min 7.285s CPU time.
Dec 22 18:35:15 raspberrypi systemd[1]: Started publicpool.service - publicpool.

publicpool.service restarts as it should, so the error is not really noticed besides if you check the debug log.

This old thread seems similar:

https://github.com/raspiblitz/raspiblitz/issues/1753

NilByte avatar Dec 23 '24 22:12 NilByte

For v1.12.0 I added an increase of the rpcworkqueue to 512 like we do for fulcrum - see PR #4915

rootzoll avatar Jan 04 '25 14:01 rootzoll