Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

[BUG] OOM with bookie error "io.netty.handler.codec.TooLongFrameException" #1902

Open
freshtang opened this issue Jun 14, 2023 · 2 comments
Open
Labels

Comments

@freshtang
Copy link

freshtang commented Jun 14, 2023

Describe the bug
All brokers suddenly appear OOM, like this pic
b0fb764e0aa0088514f1b559278ab6c

at the same time,bookie appear many errors “io.netty.handler.codec.TooLongFrameException: Adjusted frame length exceeds 5253120: 6009181 - discarded”
image

bookkeeper.conf:
nettyMaxFrameSizeBytes=5253120
broker.conf:
maxMessageSize=5253120

To Reproduce
produce continuously lager message

@eolivelli
Copy link
Contributor

I would set a smaller value for broker maxMessageSize. When you wrote to BK there is some overhead/envelope.

@freshtang
Copy link
Author

@eolivelli
7 V3G1L@(1I35Q}}AT@9@7Y
it causes a problem for read messages when I set a smaller value for broker maxMessageSize

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants