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

ISSUE-2216: Bookkeeper High CPU usage when StreamStorageLifecycleComponent extra component is active #53

Open
sijie opened this issue Jan 15, 2020 · 0 comments

Comments

@sijie
Copy link
Member

sijie commented Jan 15, 2020

Original Issue: apache#2216


Hi, I've a trouble with Bookkeeper v4.9.2 ( I'm using Pulsar Docker image v2.4.1).
When I activate the StreamStorageLifecycleComponent adding this line

extraServerComponents=org.apache.bookkeeper.stream.server.StreamStorageLifecycleComponent

in bookkeeper.conf, the bookkeeper container is using 100% CPU.

In my test environment I have 1 Zookeeper server and 1 Bookkeeper bookie.

I report my bookkeeper.conf configuration section for table service

# enable table service api for pulsar function state management
extraServerComponents=org.apache.bookkeeper.stream.server.StreamStorageLifecycleComponent
ignoreExtraServerComponentsStartupFailures=false

##################################################################
##################################################################
# Settings below are used by stream/table service
##################################################################
##################################################################

### Grpc Server ###

# the grpc server port to listen on. default is 4181
storageserver.grpc.port=4181

### Dlog Settings for table service ###

#### Replication Settings
dlog.bkcEnsembleSize=1
dlog.bkcWriteQuorumSize=1
dlog.bkcAckQuorumSize=1

Thanks for your help

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

No branches or pull requests

1 participant