Bug #4650
closed
Stream TCP raw reassembly is leaking
Added by Peter Manev over 3 years ago.
Updated over 2 years ago.
Description
(originally reported y Eric Leblond)
It seems we have a leak in memory when TCP raw reassembly is enabled. Raw reassembly memuse is always going up. When deactivating it, the leak is gone. The leak seems to affect the flow that get cleaned far slowly.
Application layer triggering raw reassembly on TX border is helping a lot to reduce memory usage.
Peter to create a reproducible setup with trex.
- Related to Bug #4502: TCP reassembly memuse approaching memcap value results in TCP detection being stopped added
Wonder if this could be related to #4766. If a flow gets stuck before its stream memory is released it might start to add up.
@Eric Leblond do we clean up the flows stream/app-layer memory when we switch to bypass?
- Related to Bug #4766: Flow leaked when flow->use_cnt access race happens added
- Related to Bug #4778: flow/bypass: app-layer/stream resources not freed when bypass activated added
- Related to Bug #4808: flow: worker-evicted flows need to be processed quicker added
- Status changed from New to In Progress
- Assignee set to Victor Julien
- Target version set to 7.0.0-beta1
- Related to Bug #4828: flow: flows not evicted & freed in time added
- Status changed from In Progress to Closed
Also available in: Atom
PDF