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

Unable to close Tribler after subscribing to a channel. #7489

Closed
milahu opened this issue Jun 15, 2023 · 7 comments · Fixed by #7726
Closed

Unable to close Tribler after subscribing to a channel. #7489

milahu opened this issue Jun 15, 2023 · 7 comments · Fixed by #7726

Comments

@milahu
Copy link

milahu commented Jun 15, 2023

Describe the bug
on shutdown, the log is flooded with this message:

WARNING - KnowledgeRulesProcessor(177) - Queue is full

tribler seems to hang forever. when i kill tribler, the log says

Exception ignored in: <module 'threading' from '/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/lib/python3.10/threading.py'>
Traceback (most recent call last):
  File "/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/lib/python3.10/threading.py", line 1537, in _shutdown
[tribler-core PID:1205929] 2023-06-15 14:12:00,886 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
atexit_call()
  File "/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/lib/python3.10/concurrent/futures/thread.py", line 31, in _python_exit
t.join()
  File "/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/lib/python3.10/threading.py", line 1096, in join
self._wait_for_tstate_lock()
  File "/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/lib/python3.10/threading.py", line 1116, in _wait_for_tstate_lock
if lock.acquire(block, timeout):
KeyboardInterrupt:
[tribler-core PID:1205929] 2023-06-15 14:12:00,908 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-gui PID:1205913] 2023-06-15 14:12:02,501 - INFO - CoreManager(284) - Core process finished
[tribler-gui PID:1205913] 2023-06-15 14:12:02,729 - INFO - tribler.gui.start_gui(87) - Shutting down Tribler

To Reproduce
close tribler.

Expected behavior
be less verbose.

Environment

  • OS: linux
  • Tribler version: 889eb2c
@drew2a
Copy link
Collaborator

drew2a commented Jun 15, 2023

@milahu thank you for this report. It appears that a database file might be locked, or we could be seeing a sequence of events as follows:

  1. Subscribe to a big channel
  2. Wait for the channel download to start
  3. Shut down Tribler

Could you kindly provide more details about the activities performed during this specific running session? It would be greatly beneficial if you could also share the associated logs with us. If that's not feasible, searching the logs for any ERROR and sharing these specific instances would be equally helpful. Thank you in advance for your cooperation.

cc @kozlovsky

@milahu
Copy link
Author

milahu commented Jun 15, 2023

activities: start tribler, subscribe to some channels, wait some minutes, close tribler (Ctrl-C).

logs: i will try to reproduce.

subscribe to some channels

at the time of closing, tribler was either/or

  • updating ~/.Tribler/7.13/channels/*/*.mdblob.lz4
  • updating ~/.Tribler/7.13/sqlite/metadata.db

currently, when tribler is updating ~/.Tribler/7.13/sqlite/metadata.db
i see many log messages WARNING - KnowledgeRulesProcessor(177) - Queue is full

[tribler-core PID:1209519] 2023-06-15 16:43:42,630 - WARNING - TriblerTunnelCommunity(873) - Invalid ping circuit_id
[tribler-core PID:1209519] 2023-06-15 16:43:42,636 - WARNING - TriblerTunnelCommunity(873) - Invalid ping circuit_id
[tribler-core PID:1209519] 2023-06-15 16:43:42,641 - WARNING - TriblerTunnelCommunity(873) - Invalid ping circuit_id
[tribler-core PID:1209519] 2023-06-15 16:43:42,655 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:42,668 - ERROR <community:271> DHTDiscoveryCommunity.on_ping_response(): Got ping-response with unknown identifier, dropping packet
[tribler-core PID:1209519] 2023-06-15 16:43:42,670 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:42,692 - WARNING - TorrentChecker(171) - Got session error for the tracker: udp:https://tracker.openbittorrent.com:6969
udp tracker failed for url udp:https://tracker.openbittorrent.com:6969 (error: request timed out)
[tribler-core PID:1209519] 2023-06-15 16:43:42,705 - INFO - TrackerManager(120) - Tracker updated: udp:https://tracker.openbittorrent.com:6969. Alive: False. Failures: 5.
[tribler-core PID:1209519] 2023-06-15 16:43:42,713 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:42,727 - INFO - TrackerManager(120) - Tracker updated: udp:https://tracker.openbittorrent.com:6969. Alive: False. Failures: 6.
[tribler-core PID:1209519] 2023-06-15 16:43:42,747 - WARNING - TorrentChecker(157) - udp tracker failed for url udp:https://tracker.openbittorrent.com:6969 (error: request timed out)
[tribler-core PID:1209519] 2023-06-15 16:43:42,813 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:42,827 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:42,854 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:42,884 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:42,908 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:42,930 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:42,952 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:42,970 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:42,996 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,022 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,144 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,166 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,176 - WARNING - TriblerTunnelCommunity(326) - Got a peers-response with an unknown identifier
[tribler-core PID:1209519] 2023-06-15 16:43:43,187 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,199 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,212 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,226 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,236 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,254 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,276 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,297 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,379 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,416 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,450 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,483 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,523 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,567 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,592 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,640 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,658 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,681 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,780 - INFO - TorrentChecker(355) - Tracker session has been created: HttpTrackerSession[http, http:https://tracker1.torrentino.com/announce]
[tribler-core PID:1209519] 2023-06-15 16:43:43,783 - INFO - TorrentChecker(153) - Selected 1 new torrents to check on random tracker: http:https://tracker1.torrentino.com/announce
[tribler-core PID:1209519] 2023-06-15 16:43:43,803 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,825 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,866 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,903 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,931 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:43,996 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,021 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,104 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,142 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,162 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,190 - INFO - KnowledgeCommunity(57) - -> request 10 operations from peer 616e51ca1298560d520fba126c2a2f10c4705bdd
[tribler-core PID:1209519] 2023-06-15 16:43:44,241 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,251 - INFO - KnowledgeRulesProcessor(121) - Processing batch [76550...76600]
[tribler-core PID:1209519] 2023-06-15 16:43:44,265 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,273 - INFO - KnowledgeRulesProcessor(125) - Query duration: 0.022 seconds.
[tribler-core PID:1209519] 2023-06-15 16:43:44,312 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,338 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,342 - INFO - KnowledgeRulesProcessor(138) - [Batch] Processed: 0 titles. Added: 0 tags. Duration: 0.040 seconds.
[tribler-core PID:1209519] 2023-06-15 16:43:44,370 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,409 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,447 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,463 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,486 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,507 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,597 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,607 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,640 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,660 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,754 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,792 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,846 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,886 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,915 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:44,971 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:45,152 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:45,198 - INFO - TriblerTunnelCommunity(177) - Failed to do peer discovery for swarm b'90e732d35b12f8cc065b67c8a1a950419d841d19'
[tribler-core PID:1209519] 2023-06-15 16:43:45,202 - INFO - Swarm(483) - Performing DHT lookup for swarm b'66891d656509d7212d8189700c4187d93c0577b4'
[tribler-core PID:1209519] 2023-06-15 16:43:45,210 - INFO - TriblerTunnelCommunity(288) - Sending peers request as cell
[tribler-core PID:1209519] 2023-06-15 16:43:45,221 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:45,252 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:45,272 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:45,319 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:45,335 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:43:45,366 - WARNING - KnowledgeRulesProcessor(177) - Queue is full

ideally the log should be less verbose by default

@milahu
Copy link
Author

milahu commented Jun 15, 2023

logs

^C = Ctrl-C

[tribler-core PID:1209519] 2023-06-15 16:50:06,367 - INFO - Swarm(483) - Performing DHT lookup for swarm b'd6c81c52c75e303913a08a1acf55584228e5431f'
[tribler-core PID:1209519] 2023-06-15 16:50:06,371 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:06,383 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:06,373 - INFO - TriblerTunnelCommunity(273) - No circuit for peers-request
[tribler-core PID:1209519] 2023-06-15 16:50:06,388 - INFO - TriblerTunnelCommunity(177) - Failed to do peer discovery for swarm b'd6c81c52c75e303913a08a1acf55584228e5431f'
[tribler-core PID:1209519] 2023-06-15 16:50:06,391 - INFO - Swarm(483) - Performing DHT lookup for swarm b'71f13ea7a1659e25f87b6eff581ee208730be19c'
[tribler-core PID:1209519] 2023-06-15 16:50:06,393 - INFO - TriblerTunnelCommunity(273) - No circuit for peers-request
[tribler-core PID:1209519] 2023-06-15 16:50:06,395 - INFO - TriblerTunnelCommunity(177) - Failed to do peer discovery for swarm b'71f13ea7a1659e25f87b6eff581ee208730be19c'
[tribler-core PID:1209519] 2023-06-15 16:50:06,398 - INFO - Swarm(483) - Performing DHT lookup for swarm b'5264066f6d7d3a28ca7456e5a3c148d1825e2599'
[tribler-core PID:1209519] 2023-06-15 16:50:06,402 - INFO - TriblerTunnelCommunity(273) - No circuit for peers-request
[tribler-core PID:1209519] 2023-06-15 16:50:06,406 - INFO - TriblerTunnelCommunity(177) - Failed to do peer discovery for swarm b'5264066f6d7d3a28ca7456e5a3c148d1825e2599'
[tribler-core PID:1209519] 2023-06-15 16:50:06,409 - INFO - Swarm(483) - Performing DHT lookup for swarm b'822542e9c9348a65d960b05c734ebde6a0e5f709'
[tribler-core PID:1209519] 2023-06-15 16:50:06,413 - INFO - TriblerTunnelCommunity(273) - No circuit for peers-request
[tribler-core PID:1209519] 2023-06-15 16:50:06,424 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:06,426 - INFO - TriblerTunnelCommunity(177) - Failed to do peer discovery for swarm b'822542e9c9348a65d960b05c734ebde6a0e5f709'
[tribler-core PID:1209519] 2023-06-15 16:50:06,439 - INFO - Swarm(483) - Performing DHT lookup for swarm b'2d3c4d5a1392c89cd8782290d3e1124cd31f1bb7'
[tribler-core PID:1209519] 2023-06-15 16:50:06,443 - INFO - TriblerTunnelCommunity(273) - No circuit for peers-request
[tribler-core PID:1209519] 2023-06-15 16:50:06,448 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:06,449 - INFO - TriblerTunnelCommunity(177) - Failed to do peer discovery for swarm b'2d3c4d5a1392c89cd8782290d3e1124cd31f1bb7'
[tribler-core PID:1209519] 2023-06-15 16:50:06,457 - INFO - Swarm(483) - Performing DHT lookup for swarm b'f23a25530685e6653ceaeeab12ef23eeec735c52'
[tribler-core PID:1209519] 2023-06-15 16:50:06,463 - INFO - TriblerTunnelCommunity(273) - No circuit for peers-request
[tribler-core PID:1209519] 2023-06-15 16:50:06,468 - INFO - TriblerTunnelCommunity(177) - Failed to do peer discovery for swarm b'f23a25530685e6653ceaeeab12ef23eeec735c52'
[tribler-core PID:1209519] 2023-06-15 16:50:06,471 - INFO - Swarm(483) - Performing DHT lookup for swarm b'3e58077b8922d00bee6c769489355bdade7b6761'
[tribler-core PID:1209519] 2023-06-15 16:50:06,473 - INFO - TriblerTunnelCommunity(273) - No circuit for peers-request
[tribler-core PID:1209519] 2023-06-15 16:50:06,476 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:06,479 - INFO - TriblerTunnelCommunity(177) - Failed to do peer discovery for swarm b'3e58077b8922d00bee6c769489355bdade7b6761'
[tribler-core PID:1209519] 2023-06-15 16:50:06,487 - INFO - Swarm(483) - Performing DHT lookup for swarm b'7e0cf3b819e355877a0ff00a5759c61a09e2bcae'
[tribler-core PID:1209519] 2023-06-15 16:50:06,493 - INFO - TriblerTunnelCommunity(273) - No circuit for peers-request
[tribler-core PID:1209519] 2023-06-15 16:50:06,496 - INFO - TriblerTunnelCommunity(177) - Failed to do peer discovery for swarm b'7e0cf3b819e355877a0ff00a5759c61a09e2bcae'
[tribler-core PID:1209519] 2023-06-15 16:50:06,499 - INFO - Swarm(483) - Performing DHT lookup for swarm b'454f159f5caaa2bf1880a1b140f9de2445eba875'
[tribler-core PID:1209519] 2023-06-15 16:50:06,502 - INFO - TriblerTunnelCommunity(273) - No circuit for peers-request
[tribler-core PID:1209519] 2023-06-15 16:50:06,506 - INFO - TriblerTunnelCommunity(177) - Failed to do peer discovery for swarm b'454f159f5caaa2bf1880a1b140f9de2445eba875'
[tribler-core PID:1209519] 2023-06-15 16:50:06,511 - INFO - Swarm(483) - Performing DHT lookup for swarm b'e3ef759a9091909502216225903a3f988b91c543'
[tribler-core PID:1209519] 2023-06-15 16:50:06,509 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:06,513 - INFO - TriblerTunnelCommunity(273) - No circuit for peers-request
[tribler-core PID:1209519] 2023-06-15 16:50:06,519 - INFO - TriblerTunnelCommunity(177) - Failed to do peer discovery for swarm b'e3ef759a9091909502216225903a3f988b91c543'
[tribler-core PID:1209519] 2023-06-15 16:50:06,524 - INFO - Swarm(483) - Performing DHT lookup for swarm b'cdd6ed535d600a6b196ba017f87453488d4aa396'
[tribler-core PID:1209519] 2023-06-15 16:50:06,528 - INFO - TriblerTunnelCommunity(273) - No circuit for peers-request
[tribler-core PID:1209519] 2023-06-15 16:50:06,534 - INFO - TriblerTunnelCommunity(177) - Failed to do peer discovery for swarm b'cdd6ed535d600a6b196ba017f87453488d4aa396'
[tribler-core PID:1209519] 2023-06-15 16:50:06,544 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:06,546 - INFO - Swarm(483) - Performing DHT lookup for swarm b'4c54d2eaea0e3f20aa83c9fc9d9e3674f5a131b9'
[tribler-core PID:1209519] 2023-06-15 16:50:06,551 - INFO - TriblerTunnelCommunity(273) - No circuit for peers-request
[tribler-core PID:1209519] 2023-06-15 16:50:06,552 - INFO - TriblerTunnelCommunity(177) - Failed to do peer discovery for swarm b'4c54d2eaea0e3f20aa83c9fc9d9e3674f5a131b9'
[tribler-core PID:1209519] 2023-06-15 16:50:06,555 - INFO - Swarm(483) - Performing DHT lookup for swarm b'4c65e6befd015d2e1ad08ae98071b42bfe87eef8'
[tribler-core PID:1209519] 2023-06-15 16:50:06,560 - INFO - TriblerTunnelCommunity(273) - No circuit for peers-request
[tribler-core PID:1209519] 2023-06-15 16:50:06,562 - INFO - TriblerTunnelCommunity(177) - Failed to do peer discovery for swarm b'4c65e6befd015d2e1ad08ae98071b42bfe87eef8'
[tribler-core PID:1209519] 2023-06-15 16:50:06,565 - INFO - Swarm(483) - Performing DHT lookup for swarm b'94afcbf39cf043fdf2977377d476ac83d2cc5bf5'
[tribler-core PID:1209519] 2023-06-15 16:50:06,569 - INFO - TriblerTunnelCommunity(273) - No circuit for peers-request
[tribler-core PID:1209519] 2023-06-15 16:50:06,572 - INFO - TriblerTunnelCommunity(177) - Failed to do peer discovery for swarm b'94afcbf39cf043fdf2977377d476ac83d2cc5bf5'
[tribler-core PID:1209519] 2023-06-15 16:50:06,576 - INFO - Swarm(483) - Performing DHT lookup for swarm b'b39119d6dd7e0e98cc7ce6c59e5cb8effcdd776f'
[tribler-core PID:1209519] 2023-06-15 16:50:06,579 - INFO - TriblerTunnelCommunity(273) - No circuit for peers-request
[tribler-core PID:1209519] 2023-06-15 16:50:06,581 - INFO - TriblerTunnelCommunity(177) - Failed to do peer discovery for swarm b'b39119d6dd7e0e98cc7ce6c59e5cb8effcdd776f'
[tribler-core PID:1209519] 2023-06-15 16:50:06,588 - WARNING - TriblerTunnelCommunity(252) - Circuit creation cache for id 706537291 not found!
[tribler-core PID:1209519] 2023-06-15 16:50:06,607 - WARNING - TriblerTunnelCommunity(720) - We're not joining circuit with ID 2709361155
[tribler-core PID:1209519] 2023-06-15 16:50:06,619 - WARNING - TriblerTunnelCommunity(720) - We're not joining circuit with ID 1027292773
[tribler-core PID:1209519] 2023-06-15 16:50:06,791 - ERROR <community:502> DHTDiscoveryCommunity.on_find_response(): Got find-response with unknown identifier, dropping packet
[tribler-core PID:1209519] 2023-06-15 16:50:06,805 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:07,012 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:07,027 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:07,138 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:07,143 - WARNING - TriblerTunnelCommunity(720) - We're not joining circuit with ID 1901426863
[tribler-core PID:1209519] 2023-06-15 16:50:07,185 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:07,204 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:07,225 - INFO - TriblerTunnelCommunity(349) - Removed circuit 706537291 timeout, 5 tries left
[tribler-core PID:1209519] 2023-06-15 16:50:07,234 - ERROR <community:502> DHTDiscoveryCommunity.on_find_response(): Got find-response with unknown identifier, dropping packet
[tribler-core PID:1209519] 2023-06-15 16:50:07,261 - ERROR <community:502> DHTDiscoveryCommunity.on_find_response(): Got find-response with unknown identifier, dropping packet
[tribler-core PID:1209519] 2023-06-15 16:50:07,354 - ERROR <community:502> DHTDiscoveryCommunity.on_find_response(): Got find-response with unknown identifier, dropping packet
[tribler-core PID:1209519] 2023-06-15 16:50:07,548 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:07,566 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:07,630 - INFO - TriblerTunnelCommunity(321) - Sending payout of 0 (base: 0) to Peer<192.42.116.242:30585, ER5r5uO7cJ3J0W8kkTp4KP5vQe0=> (cid: 3723880632)

^C
[tribler-gui PID:1209507] 2023-06-15 16:50:07,843 - INFO - CoreManager(220) - Stopping Core manager
[tribler-gui PID:1209507] 2023-06-15 16:50:07,844 - INFO - CoreManager(236) - Sending shutdown request to Tribler Core
[tribler-gui PID:1209507] 2023-06-15 16:50:07,848 - INFO - RequestManager(130) - Request: PUT http:https://localhost:20100/shutdown
[tribler-core PID:1209519] 2023-06-15 16:50:07,735 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:07,746 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:07,764 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:07,778 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:07,788 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:07,798 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:07,813 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:07,821 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:07,894 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:07,902 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:07,918 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:07,932 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:07,958 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:07,981 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,004 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
Traceback (most recent call last):
  File "/nix/store/k93mncl31svc6by78imgfjf1bdnsyqbr-tribler-7.12.1-unstable-2023-06-15/src/run_tribler.py", line 106, in <module>
    run_core(api_port, api_key, root_state_dir, parsed_args)
  File "/nix/store/k93mncl31svc6by78imgfjf1bdnsyqbr-tribler-7.12.1-unstable-2023-06-15/src/tribler/core/start_core.py", line 205, in run_core
    exit_code = run_tribler_core_session(api_port, api_key, state_dir, gui_test_mode=parsed_args.gui_test_mode)
  File "/nix/store/k93mncl31svc6by78imgfjf1bdnsyqbr-tribler-7.12.1-unstable-2023-06-15/src/tribler/core/start_core.py", line 170, in run_tribler_core_session
    exit_code = loop.run_until_complete(core_session(config, components=list(components_gen(config))))
  File "/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/lib/python3.10/asyncio/base_events.py", line 636, in run_until_complete
    self.run_forever()
  File "/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/lib/python3.10/asyncio/base_events.py", line 603, in run_forever
    self._run_once()
  File "/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/lib/python3.10/asyncio/base_events.py", line 1906, in _run_once
    handle._run()
  File "/nix/store/k93mncl31svc6by78imgfjf1bdnsyqbr-tribler-7.12.1-unstable-2023-06-15/src/tribler/core/utilities/slow_coro_detection/patch.py", line 37, in patched_handle_run
    _original_handle_run(self)
  File "/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/lib/python3.10/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/nix/store/kk781ycykf6ss4g9gxyc6sj18rr2w8w9-python3.10-pyipv8-2.10/lib/python3.10/site-packages/ipv8/taskmanager.py", line 24, in delay_runner
    await task(*args)
  File "/nix/store/kk781ycykf6ss4g9gxyc6sj18rr2w8w9-python3.10-pyipv8-2.10/lib/python3.10/site-packages/ipv8/util.py", line 35, in call_async
    return func(*args, **kwargs)
  File "/nix/store/kk781ycykf6ss4g9gxyc6sj18rr2w8w9-python3.10-pyipv8-2.10/lib/python3.10/site-packages/ipv8/requestcache.py", line 251, in _on_timeout
    cache.on_timeout()
  File "/nix/store/kk781ycykf6ss4g9gxyc6sj18rr2w8w9-python3.10-pyipv8-2.10/lib/python3.10/site-packages/ipv8/messaging/anonymization/caches.py", line 70, in on_timeout
    self.community.remove_circuit(self.circuit.circuit_id, reason)
  File "/nix/store/k93mncl31svc6by78imgfjf1bdnsyqbr-tribler-7.12.1-unstable-2023-06-15/src/tribler/core/components/tunnel/community/tunnel_community.py", line 409, in remove_circuit
    self.do_payout(circuit.peer, circuit_id, circuit.bytes_down * (circuit.goal_hops * 2 - 1),
  File "/nix/store/k93mncl31svc6by78imgfjf1bdnsyqbr-tribler-7.12.1-unstable-2023-06-15/src/tribler/core/components/tunnel/community/tunnel_community.py", line 325, in do_payout
    self.bandwidth_community.database.BandwidthTransaction.insert(tx)
  File "<string>", line 2, in insert
[tribler-core PID:1209519] 2023-06-15 16:50:08,033 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,058 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
File "/nix/store/12f81dc2zq0b28ilkspbwyd2bwvm1f11-python3.10-pony-0.7.16/lib/python3.10/site-packages/pony/orm/core.py", line 519, in new_func
result = func(*args, **kwargs)
  File "/nix/store/k93mncl31svc6by78imgfjf1bdnsyqbr-tribler-7.12.1-unstable-2023-06-15/src/tribler/core/components/bandwidth_accounting/db/transaction.py", line 171, in insert
entry = list(db.BandwidthHistory.select().order_by(db.BandwidthHistory.timestamp))[0]
  File "/nix/store/12f81dc2zq0b28ilkspbwyd2bwvm1f11-python3.10-pony-0.7.16/lib/python3.10/site-packages/pony/orm/core.py", line 5985, in __len__
return len(query._actual_fetch())
  File "/nix/store/12f81dc2zq0b28ilkspbwyd2bwvm1f11-python3.10-pony-0.7.16/lib/python3.10/site-packages/pony/orm/core.py", line 5834, in _actual_fetch
items = entity._fetch_objects(cursor, attr_offsets, for_update=query._for_update,
  File "/nix/store/12f81dc2zq0b28ilkspbwyd2bwvm1f11-python3.10-pony-0.7.16/lib/python3.10/site-packages/pony/orm/core.py", line 4305, in _fetch_objects
real_entity_subclass, pkval, avdict = entity._parse_row_(row, attr_offsets)
[tribler-core PID:1209519] 2023-06-15 16:50:08,108 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
File "/nix/store/12f81dc2zq0b28ilkspbwyd2bwvm1f11-python3.10-pony-0.7.16/lib/python3.10/site-packages/pony/orm/core.py", line 4347, in _parse_row_
pkval = tuple(avdict.pop(attr) for attr in entity._pk_attrs_)
KeyboardInterrupt
[tribler-core PID:1209519] 2023-06-15 16:50:08,182 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,190 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,197 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,210 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,220 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,227 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,233 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,239 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,247 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,260 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,328 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,338 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,350 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,361 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,371 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,384 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,394 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,403 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,411 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,423 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,492 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,506 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,519 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,530 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,538 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,545 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,556 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,566 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,577 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,590 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,705 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,714 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,725 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,734 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,741 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,751 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,762 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,774 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:50:08,786 - WARNING - KnowledgeRulesProcessor(177) - Queue is full

# deadloop

[tribler-core PID:1209519] 2023-06-15 16:54:06,525 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:54:06,532 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:54:06,598 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-core PID:1209519] 2023-06-15 16:54:06,607 - WARNING - KnowledgeRulesProcessor(177) - Queue is full

^C
Exception ignored in: <module 'threading' from '/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/lib/python3.10/threading.py'>
Traceback (most recent call last):
  File "/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/lib/python3.10/threading.py", line 1537, in _shutdown
[tribler-core PID:1209519] 2023-06-15 16:54:06,620 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
atexit_call()
  File "/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/lib/python3.10/concurrent/futures/thread.py", line 31, in _python_exit
t.join()
  File "/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/lib/python3.10/threading.py", line 1096, in join
self._wait_for_tstate_lock()
  File "/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/lib/python3.10/threading.py", line 1116, in _wait_for_tstate_lock
[tribler-core PID:1209519] 2023-06-15 16:54:06,631 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
if lock.acquire(block, timeout):
KeyboardInterrupt:
[tribler-core PID:1209519] 2023-06-15 16:54:06,648 - WARNING - KnowledgeRulesProcessor(177) - Queue is full
[tribler-gui PID:1209507] 2023-06-15 16:54:08,310 - INFO - CoreManager(284) - Core process finished
[tribler-gui PID:1209507] 2023-06-15 16:54:08,566 - INFO - tribler.gui.start_gui(87) - Shutting down Tribler

@drew2a
Copy link
Collaborator

drew2a commented Jun 15, 2023

@milahu thank you very much for your prompt response! We'll examine the logs promptly and will get back to you regarding your case as soon as possible.

@drew2a
Copy link
Collaborator

drew2a commented Jun 15, 2023

This bug is probably a duplicate of #7098 (or related to it)

@drew2a drew2a changed the title WARNING - KnowledgeRulesProcessor(177) - Queue is full Unable to close Tribler after subscribing to a channel. Jun 15, 2023
@drew2a
Copy link
Collaborator

drew2a commented Jun 19, 2023

I was able to reproduce the error. Regarding the logs it seems that core doesn't receive shutdown event:

[tribler-core PID:37015] 2023-06-19 14:14:40,201 - INFO - TriblerTunnelCommunity(687) - We joined circuit 512688682 with neighbour UDPv4Address(ip='31.173.80.7', port=27509)
Traceback (most recent call last):
[tribler-gui PID:37012] 2023-06-19 14:14:41,290 - INFO - CoreManager(220) - Stopping Core manager
[tribler-gui PID:37012] 2023-06-19 14:14:41,291 - INFO - CoreManager(236) - Sending shutdown request to Tribler Core
[tribler-gui PID:37012] 2023-06-19 14:14:41,291 - INFO - RequestManager(130) - Request: PUT http://localhost:20100/shutdown
File "/Users/<>/Projects/github.com/Tribler/tribler/src/run_tribler.py", line 106, in <module>
    run_core(api_port, api_key, root_state_dir, parsed_args)
  File "/Users/<>/Projects/github.com/Tribler/tribler/src/tribler/core/start_core.py", line 205, in run_core
    exit_code = run_tribler_core_session(api_port, api_key, state_dir, gui_test_mode=parsed_args.gui_test_mode)
  File "/Users/<>/Projects/github.com/Tribler/tribler/src/tribler/core/start_core.py", line 170, in run_tribler_core_session
    exit_code = loop.run_until_complete(core_session(config, components=list(components_gen(config))))
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 629, in run_until_complete
    self.run_forever()
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 596, in run_forever
    self._run_once()
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 1854, in _run_once
    event_list = self._selector.select(timeout)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/selectors.py", line 562, in select
    kev_list = self._selector.control(None, max_ev, timeout)
KeyboardInterrupt
[tribler-core PID:37015] 2023-06-19 14:14:42,819 - WARNING - KnowledgeRulesProcessor(182) - Queue is full
[tribler-core PID:37015] 2023-06-19 14:14:52,819 - WARNING - KnowledgeRulesProcessor(182) - Queue is full
[tribler-core PID:37015] 2023-06-19 14:15:02,834 - WARNING - KnowledgeRulesProcessor(182) - Queue is full
[tribler-core PID:37015] 2023-06-19 14:15:12,835 - WARNING - KnowledgeRulesProcessor(182) - Queue is full
[tribler-core PID:37015] 2023-06-19 14:15:22,869 - WARNING - KnowledgeRulesProcessor(182) - Queue is full
[tribler-core PID:37015] 2023-06-19 14:15:32,869 - WARNING - KnowledgeRulesProcessor(182) - Queue is full
[tribler-core PID:37015] 2023-06-19 14:15:42,969 - WARNING - KnowledgeRulesProcessor(182) - Queue is full
[tribler-core PID:37015] 2023-06-19 14:15:52,970 - WARNING - KnowledgeRulesProcessor(182) - Queue is full
[tribler-core PID:37015] 2023-06-19 14:16:03,002 - WARNING - KnowledgeRulesProcessor(182) - Queue is full
[tribler-core PID:37015] 2023-06-19 14:16:13,003 - WARNING - KnowledgeRulesProcessor(182) - Queue is full
[tribler-core PID:37015] 2023-06-19 14:16:23,004 - WARNING - KnowledgeRulesProcessor(182) - Queue is full
image

The core still active, consumes a lot of CPU.
Note that Queue is full shows that there are a lot of channels entities being added.

Perhaps the main process is locked for some reason. This could explain the freeze and the absence of aiohttp response to the shutdown.

Could be related: #7494

@drew2a
Copy link
Collaborator

drew2a commented Nov 14, 2023

This issue will be fixed in #7669

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants