Difference between revisions of "Conf/Parameters"

From AOLserver Wiki
Jump to navigation Jump to search
Line 38: Line 38:
 
;[[Conf/Parameters/checkexitcode|checkexitcode]] :Check exit code on forked process
 
;[[Conf/Parameters/checkexitcode|checkexitcode]] :Check exit code on forked process
 
;[[Conf/Parameters/crashcmd|crashcmd]] :A Tcl command that dumps core.
 
;[[Conf/Parameters/crashcmd|crashcmd]] :A Tcl command that dumps core.
 +
 +
'''Thread library (nsthread) parameters'''
 +
;[[Conf/Parameters/mutexmeter|mutexmeter]] : Measure lock contention

Revision as of 14:42, 20 December 2011

Global Parameters

part of AOLServer Config Reference

ns_section "ns/parameters"

home
Server's home directory

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.

Thread library (nsthread) parameters

mutexmeter 
Measure lock contention