# This is an example server.conf file ... and documentation for all
# configurable options.
#
# Default values are left commented.

#
# Prefix of server tree
#
#vicedir=/vice

#
# Should the server use private mmaps for RVM
#
#mapprivate=0

#
# RVM parameters
#
# For a single server on a machine use:
#
#rvm_log=
#rvm_data=
#rvm_data_length=
#hostname=

#
# When a server is confused about it's identity the server will complain.
# (i.e. gethostbyname(hostname()) == 127.x.x.x). Use this option to force
# the ip-address through which clients will be able to reach this machine.
#
# The actual cause seems to be a very common setup when the machine has no
# default interfaces configured and /etc/hosts contains a line similar to
# 127.0.0.1 (or .2)	myhostname.mydomain
#
# Removing that line from /etc/hosts also solves the problem.
#
#ipaddress=

# Other parameters as set by startserver script.  Defaults are commented
# out if default is different than startserver script.

#
# How full the log can get before it is truncated.
#
#rvmtruncate=0
rvmtruncate=5

#
# Specify the number of rpc2 buffers to keep in a circular log, this can be
# useful for debugging.
#
#trace=0
trace=100

#
# Location of the vicetab file (relative to the vicedir prefix).
#
#vicetab=db/vicetab

#
# Whether the server should calculate SHA checksums, this adds CPU usage
# to GetAttrPlusSHA operations allows clients to use a local lookaside
# cache to avoid fetches.
#
allow_sha=1


#
# The number of threads a server uses to handle the authentication of
# new connections. This defaults to 5.
#
#auth_lwps=5

#
# The number of threads to handle Coda client requests. There is a
# hardcoded limit of 16 (NUM_LWPS in srv.cc) the default value is 10.
#
#lwps=10

#
# Let the server check if it has previously seen a reintegration log
# entry In this case it will return VLOGSTALE, the can client drop the
# previously reintegrated operation and continue. If we didn't check the
# client would have gotten an unnecessary conflict.
#
# However there are cases where the retry detection fails. Clients older
# than Coda-6.9.4 would reset the operation counter when a volume is
# flushed and reinstated. It can also trigger whenever a client is
# running in a virtual machine that is reverted back to some older
# snapshot.
#
# The default is to try to detect retried reintegrations.
#
#check_reintegration_retry=1

#
# Fork a helper process to handle client-server communication.
#
#codatunnel=0

#
# Directory containing server.crt, server.key and Coda CA certificates
#
#sslcertdir=/etc/coda/ssl


#authenticate=1
#cbwait=240
#chk=30
#comparedirreps=1
#dumpvm=0
#forcesalvage=1
#large=500
#nodebarrenize=0
#pollandyield=1
#pathtiming=1
#resolution=1
#salvageonshutdown=0
#sendahead=8
#small=500
#stack=96
#timeout=60
#retrycnt=5
#windowsize=32
#zombify=0
