-
Bug
-
Resolution: Done
-
Normal
-
netobserv-ocp4.12
-
None
-
False
-
None
-
False
-
-
Known Issue
-
Done
-
NetObserv - Sprint 229, NetObserv - Sprint 230, NetObserv - Sprint 231, NetObserv - Sprint 232
In some extreme situations (~50.000 flows/eviction per agent), the GRPC payload is too big and it's rejected by FLP:
time="2022-10-04T10:12:21Z" level=error msg="couldn't send flow records to collector" collector="10.0.155.240:2055" component=exporter/GRPCProto error="rpc error: code = ResourceExhausted desc = grpc: received message larger than max (4593533 vs. 4194304)"
Even with smaller payloads, big messages (~30.000 flows) makes the memory of FLP to grow too much and get OOMKilled if its defined limits are low.
Despite this use case would make us recommending the customer to move to Kafka, we'd anyway need to split the GPRC messages into smaller chunks that are configurable by the user (e.g. default 10.000 flows per GRPC invocation, which is equivalent to ~1MB of HTTP POST body)