Skip to content

dispatch: per-IP rate limiter state (keyed by remote IpAddr) is bounded by max_tracked_sources but there is no periodic GC pass to expire stale entries, so long-lived nodes accumulate stale limiter buckets until restart #440

Closed

Description

@alpergundogdu

The per-source rate limiter introduced in #386 caps the number of tracked sources at max_tracked_sources but relies on new connection arrivals to trigger eviction of old entries. A node with many short-lived clients will fill the table and begin incorrectly rate-limiting new sources that happen to collide with stale bucket slots.


Filed via GitDailyReporterBot

Metadata

Metadata

Assignees

Labels

kind:bugprio:high

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions