Add CPU Profile and Heap Profile in BE webserver. This way we can more easily diagnose system performance bottlenecks through perf tools.
59 lines
2.2 KiB
Plaintext
59 lines
2.2 KiB
Plaintext
# Licensed to the Apache Software Foundation (ASF) under one
|
|
# or more contributor license agreements. See the NOTICE file
|
|
# distributed with this work for additional information
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
# to you under the Apache License, Version 2.0 (the
|
|
# "License"); you may not use this file except in compliance
|
|
# with the License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing,
|
|
# software distributed under the License is distributed on an
|
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
# KIND, either express or implied. See the License for the
|
|
# specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
PPROF_TMPDIR="$DORIS_HOME/log/"
|
|
|
|
# INFO, WARNING, ERROR, FATAL
|
|
sys_log_level = INFO
|
|
|
|
# ports for admin, web, heartbeat service
|
|
be_port = 9060
|
|
be_rpc_port = 9070
|
|
webserver_port = 8040
|
|
heartbeat_service_port = 9050
|
|
brpc_port = 8060
|
|
|
|
# Choose one if there are more than one ip except loopback address.
|
|
# Note that there should at most one ip match this list.
|
|
# If no ip match this rule, will choose one randomly.
|
|
# use CIDR format, e.g. 10.10.10.0/24
|
|
# Default value is empty.
|
|
# priority_networks = 10.10.10.0/24;192.168.0.0/16
|
|
|
|
# data root path, separate by ';'
|
|
# you can specify the storage medium of each root path, HDD or SSD
|
|
# you can add capacity limit at the end of each root path, seperate by ','
|
|
# eg:
|
|
# storage_root_path = /home/disk1/doris.HDD,50;/home/disk2/doris.SSD,1;/home/disk2/doris
|
|
# /home/disk1/doris.HDD, capacity limit is 50GB, HDD;
|
|
# /home/disk2/doris.SSD, capacity limit is 1GB, SSD;
|
|
# /home/disk2/doris, capacity limit is disk capacity, HDD(default)
|
|
#
|
|
# you also can specify the properties by setting '<property>:<value>', seperate by ','
|
|
# property 'medium' has a higher priority than the extension of path
|
|
#
|
|
# Default value is ${DORIS_HOME}/storage, you should create it by hand.
|
|
# storage_root_path = ${DORIS_HOME}/storage
|
|
|
|
# Advanced configurations
|
|
# sys_log_dir = ${DORIS_HOME}/log
|
|
# sys_log_roll_mode = SIZE-MB-1024
|
|
# sys_log_roll_num = 10
|
|
# sys_log_verbose_modules = *
|
|
# log_buffer_level = -1
|
|
# palo_cgroups
|