8000 [Feature]: Limit some query that can cause OOM on cosmos node. · Issue #1728 · lavanet/lava · GitHub
[go: up one dir, main page]

Skip to content

[Feature]: Limit some query that can cause OOM on cosmos node. #1728

Open

Description

@silentnoname

Summary

In Oct 3, Cosmoshub Lava provider's QOS availability score dropped so much
image
And many provider's cosmos node met oom issue. (can check in discord incentivized-cosmos-hub channel)
I have checked the log when the cosmos node ram continuesly increased.
/cosmos/tx/v1beta1/txs?query=tx.height%3E%3D22022712&query=tx.height%3C%3D22022752&pagination.limit=100&pagination.offset=0 was the query which caused the OOM issue

Is it possible to limit this kind of query?

Problem Definition

/cosmos/tx/v1beta1/txs?query=tx.height%3E%3D22022712&query=tx.height%3C%3D22022752&pagination.limit=100&pagination.offset=0 this kind of api query can cause cosmos node memory leak.

Proposed Feature

Limit the query like /cosmos/tx/v1beta1/txs?query=tx.height%3E%3D22022712&query=tx.height%3C%3D22022752&pagination.limit=100&pagination.offset=0 on cosmos chains apis

Activity

  1. KodamaHQ commented on Oct 15, 2024

    @KodamaHQ
    Contributor

    Hi @silentnoname we are taking this into consideration internally planning on how we can solve this issue, will update on the progress.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0