Skip to content

Bookkeeper High CPU usage when StreamStorageLifecycleComponent extra component is active #2216

@aschiazza

Description

@aschiazza

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions