"Fossies" - the Fresh Open Source Software Archive

Member "monasca-api-3.1.0/devstack/files/zookeeper/zoo.cfg" (27 Sep 2019, 2920 Bytes) of package /linux/misc/openstack/monasca-api-3.1.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) INI source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #
    2 # (C) Copyright 2015 Hewlett Packard Enterprise Development Company LP
    3 #
    4 # Licensed under the Apache License, Version 2.0 (the "License");
    5 # you may not use this file except in compliance with the License.
    6 # You may obtain a copy of the License at
    7 #
    8 #    http://www.apache.org/licenses/LICENSE-2.0
    9 #
   10 # Unless required by applicable law or agreed to in writing, software
   11 # distributed under the License is distributed on an "AS IS" BASIS,
   12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
   13 # implied.
   14 # See the License for the specific language governing permissions and
   15 # limitations under the License.
   16 #
   17 # http://hadoop.apache.org/zookeeper/docs/current/zookeeperAdmin.html
   18 
   19 # The number of milliseconds of each tick
   20 tickTime=2000
   21 # The number of ticks that the initial
   22 # synchronization phase can take
   23 initLimit=10
   24 # The number of ticks that can pass between
   25 # sending a request and getting an acknowledgement
   26 syncLimit=5
   27 # the directory where the snapshot is stored.
   28 dataDir=/var/lib/zookeeper
   29 # Place the dataLogDir to a separate physical disc for better performance
   30 # dataLogDir=/disk2/zookeeper
   31 
   32 # the port at which the clients will connect
   33 clientPort=2181
   34 
   35 # Maximum number of clients that can connect from one client
   36 maxClientCnxns=60
   37 
   38 # specify all zookeeper servers
   39 # The fist port is used by followers to connect to the leader
   40 # The second one is used for leader election
   41 
   42 server.0=127.0.0.1:2888:3888
   43 
   44 # To avoid seeks ZooKeeper allocates space in the transaction log file in
   45 # blocks of preAllocSize kilobytes. The default block size is 64M. One reason
   46 # for changing the size of the blocks is to reduce the block size if snapshots
   47 # are taken more often. (Also, see snapCount).
   48 #preAllocSize=65536
   49 
   50 # Clients can submit requests faster than ZooKeeper can process them,
   51 # especially if there are a lot of clients. To prevent ZooKeeper from running
   52 # out of memory due to queued requests, ZooKeeper will throttle clients so that
   53 # there is no more than globalOutstandingLimit outstanding requests in the
   54 # system. The default limit is 1,000.ZooKeeper logs transactions to a
   55 # transaction log. After snapCount transactions are written to a log file a
   56 # snapshot is started and a new transaction log file is started. The default
   57 # snapCount is 10,000.
   58 #snapCount=1000
   59 
   60 # If this option is defined, requests will be will logged to a trace file named
   61 # traceFile.year.month.day.
   62 #traceFile=
   63 
   64 # Leader accepts client connections. Default value is "yes". The leader machine
   65 # coordinates updates. For higher update throughput at thes slight expense of
   66 # read throughput the leader can be configured to not accept clients and focus
   67 # on coordination.
   68 #leaderServes=yes
   69 
   70 # Autopurge every hour to avoid using lots of disk in bursts
   71 # Order of the next 2 properties matters.
   72 # autopurge.snapRetainCount must be before autopurge.purgeInterval.
   73 autopurge.snapRetainCount=3
   74 autopurge.purgeInterval=1