streamingfast/substreams

Shutting down tier2 nodes gets stuck

Closed this issue · 3 comments

When shutting down tier 2 nodes, if they have reached substreams-tier2-max-concurrent-requests, tier2 doesn't stop in a timely fashion.

 INFO (substreams-tier2.tier2.metrics.emitter) received shutdown signal, waiting for launch loop to end {"trace_id" ....

I waited more than 10 minutes before force-killing the tier2 node.

There is some other problem here that is causing the node to lock up.