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

Node stuck #2964

Open
ouziel-slama opened this issue Jan 23, 2025 · 0 comments
Open

Node stuck #2964

ouziel-slama opened this issue Jan 23, 2025 · 0 comments

Comments

@ouziel-slama
Copy link
Contributor

Image

stuck here:

X: 2a1ab02, M: a5bc55a (0.08s)
2025-01-23T06:48:02.202-05:00 - [    INFO] - Ledger.Main - Block 719278
2025-01-23T06:48:02.221-05:00 - [    INFO] - Ledger.Main - Block 719278 - Send (Enhanced) XAJIARKETAAR from 12B3ZMP9 to 16eWqCY7 (a554e36) [valid]
2025-01-23T06:48:02.225-05:00 - [    INFO] - Ledger.Main - Block 719278 - Send (Enhanced) LTBCARD from 12B3ZMP9 to 1CpMjVQg (0022374) [valid]
2025-01-23T06:48:02.228-05:00 - [    INFO] - Ledger.Main - Block 719278 - Send (Enhanced) MERCHANTCARD from 12B3ZMP9 to 1EbjaPzQ (aa479b5) [valid]
2025-01-23T06:48:02.232-05:00 - [    INFO] - Ledger.Main - Block 719278 - Send (Enhanced) SWARMCD from 12B3ZMP9 to 1F9d4r17 (61a0b7a) [valid]
2025-01-23T06:48:02.233-05:00 - [    INFO] - Ledger.Main - Block 719278 - Parsing complete. L: 118fd76, TX: 223f644, M: 7682230 (0.03s)

and when ctrl-c:

2025-01-23T06:48:02.233-05:00 - [    INFO] - Ledger.Main - Block 719278 - Parsing complete. L: 118fd76, TX: 223f644, M: 7682230 (0.03s)
	8:09am ^C2025-01-23T08:39:23.660-05:00 - [ WARNING] - API.Main - Keyboard interrupt received. Shutting down...
2025-01-23T08:39:23.660-05:00 - [    INFO] - Ledger.Main - Stopping RSFetcher thread...
2025-01-23T08:39:23.661-05:00 - [    INFO] - API.Main - Stopping API Server...
2025-01-23T08:39:23.661-05:00 - [    INFO] - API.Main - Stopping WSGI Server thread...
2025-01-23T08:39:23.662-05:00 - [    INFO] - API.Main - Stopping API Watcher thread...
2025-01-23T08:39:23.736-05:00 - [   ERROR] - Ledger.Main - Error during stop: GracefulExitFailure: poisoned mutex: PoisonError { .. }
2025-01-23T08:39:24.247-05:00 - [    INFO] - Ledger.Main - RSFetcher thread stopped.
2025-01-23T08:39:24.247-05:00 - [   ERROR] - Ledger.Main - Exception caught!
Traceback (most recent call last):
  File "/Users/evan/repos/counterparty-core/counterparty-core/counterpartycore/lib/parser/blocks.py", line 892, in catch_up
    decoded_block = fetcher.get_block()
                    ^^^^^^^^^^^^^^^^^^^
  File "/Users/evan/repos/counterparty-core/counterparty-core/counterpartycore/lib/backend/rsfetcher.py", line 101, in get_block
    block = self.get_prefetched_block()
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/evan/repos/counterparty-core/counterparty-core/counterpartycore/lib/backend/rsfetcher.py", line 125, in get_prefetched_block
    block = self.prefetch_queue.get(timeout=1)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/[email protected]/3.11.11/Frameworks/Python.framework/Versions/3.11/lib/python3.11/queue.py", line 180, in get
    self.not_empty.wait(remaining)
  File "/opt/homebrew/Cellar/[email protected]/3.11.11/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py", line 331, in wait
    gotit = waiter.acquire(True, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/evan/repos/counterparty-core/counterparty-core/counterpartycore/lib/cli/server.py", line 720, in start_all
    blocks.catch_up(db)
  File "/Users/evan/repos/counterparty-core/counterparty-core/counterpartycore/lib/parser/blocks.py", line 935, in catch_up
    fetcher.stop()
  File "/Users/evan/repos/counterparty-core/counterparty-core/counterpartycore/lib/backend/rsfetcher.py", line 203, in stop
    raise e
  File "/Users/evan/repos/counterparty-core/counterparty-core/counterpartycore/lib/backend/rsfetcher.py", line 198, in stop
    self.fetcher.stop()
Exception: GracefulExitFailure: poisoned mutex: PoisonError { .. }
2025-01-23T08:39:24.259-05:00 - [    INFO] - Ledger.Main - Stopping API v1 Status Poller thread...
2025-01-23T08:39:24.259-05:00 - [    INFO] - Ledger.Main - API v1 Status Poller thread stopped.
2025-01-23T08:39:24.259-05:00 - [    INFO] - Ledger.Main - Stopping API Server v1 thread...
2025-01-23T08:39:24.748-05:00 - [    INFO] - Ledger.Main - API Server v1 thread stopped.
2025-01-23T08:39:24.748-05:00 - [    INFO] - Ledger.Main - Stopping Asset Conservation Checker thread...
2025-01-23T08:39:25.136-05:00 - [    INFO] - API.ParentProcessChecker - Stopping WSGI Server thread...
2025-01-23T08:39:25.579-05:00 - [    INFO] - Ledger.AssetConservationChecker - Thread stopped.
2025-01-23T08:39:25.580-05:00 - [    INFO] - Ledger.Main - Closing database connections...
2025-01-23T08:39:25.584-05:00 - [    INFO] - Ledger.Main - Shutting down logging...
2025-01-23T08:39:25.631-05:00 - [ WARNING] - Ledger.Main - Ledger DB is in use by another process and was unable to be closed correctly.
2025-01-23T08:39:25.648-05:00 - [ WARNING] - Ledger.Main - State DB is in use by another process and was unable to be closed correctly.
2025-01-23T08:39:25.648-05:00 - [    INFO] - Ledger.Main - Shutdown complete.
2025-01-23T08:39:26.893-05:00 - [    INFO] - API.Main - API Watcher thread stopped.
2025-01-23T08:39:26.894-05:00 - [    INFO] - API.Main - API Server stopped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants