Conf/Parameters

From AOLserver Wiki
Jump to navigation Jump to search

Global Parameters

part of AOLServer Config Reference

ns_section "ns/parameters"

home
Server's home directory
servername
Server's home directory


Keep Alive

keepalivetimeout
Max time in seconds that the connection is kept alive.
maxkeepalive
Max number of connections in keep alive state

Limits

listenbacklog
Max length of pending conn queue
schedmaxelapsed
Warn when waiting on really long procs
shutdowntimeout
Secs to wait on shutdown if open conns

Server logging

dev

Display logging with "Dev" severity

debug
Display logging with "Debug" severity
logexpanded
true = double-spaced server.log
logroll
Roll server.log every 24 hours.
maxbackup
Max number of old server.log files
pidfile
PID of server (named "nspid.PORT")
serverlog
Filename of server log

DNS tuning

dnscache
In-memory cache of DNS lookups
dnscachetimeout
How long to keep hostnames in cache

Miscellaneous

mailhost 
SMTP host for ns_sendmail
checkexitcode
Check exit code on forked process
crashcmd
A Tcl command that dumps core.