pokt-network / poktroll

The official Shannon upgrade implementation of the Pocket Network Protocol implemented using Rollkit.dev
MIT License
15 stars 6 forks source link

[Bug] Off-chain actors become unresponsive and consume CPU #640

Open okdas opened 3 days ago

okdas commented 3 days ago

Objective

Investigate and resolve intermittent high CPU usage in AppGate (including Gateway) and RelayMiner causing unresponsiveness and E2E test disruptions.

Origin Document

This issue has been observed during E2E testing, where AppGate and RelayMiner occasionally become unresponsive and consume 100% of their allocated CPU resources. This behavior frequently disrupts our E2E tests.

Related to #621

The pprof snapshots are included in the comment below.

Goals

Deliverables

General deliverables


Creator: @okdas Co-Owners: @red-0ne

okdas commented 3 days ago

A zip file with pprof snapshots from an appgate that experienced this issue: appgate.zip

Each pprof file can be opened like this:

go tool pprof -http=:3333 block_profile.pprof