dlg99 commented on issue #3497:
URL: https://github.com/apache/bookkeeper/issues/3497#issuecomment-1256728669

   Most likely the problem is related to the backpressure (or lack of it). 
Under heavy load Bookie cannot process data fast enough and data is accumulated 
in memory.
   
   There are two sides of the backpressure configuration: 
   - client: https://github.com/apache/bookkeeper/pull/1088
   - server: https://github.com/apache/bookkeeper/pull/1410 / 
https://github.com/apache/bookkeeper/pull/3324
   
   Ideally, both sides have to be configured. By default the backpressure is 
disabled.
   
   bookie server needs:
   ```
   maxAddsInProgressLimit = ..
   maxReadsInProgressLimit = ..
   closeChannelOnResponseTimeout = true
   waitTimeoutOnResponseBackpressureMs = ..
   ```
   and client:
   ```
   waitTimeoutOnBackpressureMillis = ..
   ```
   Pulsar's configuration may need special prefixes (`bookkeeper_`).
   
   Other things to consider: Run Autorecovery as a separate service (not as 
part of bookie).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to