Srun

From CauchoWiki

Jump to: navigation, search


A srun is a backend port listing to requests from a load balancer.

[edit] configuration directives

directivedescriptiondefault
server-idmatches the -server command line argument""
connection-maxmaximum number of concurrent connections allowed4096
hostthe host interface to listen to or "*" for all interfaces"*"
indexoptional index for sticky sessions (not recommended)the ordered value in the srun list
keepalive-maxmaximum number of keepalive connections for this port1024
<openssl>configures the port to require SSL using OpenSSL
<jsse-ssl>configures the port to require SSL using JSSE
portconfigures the port to listen to
protocoloptional protocol to usehmux
read-timeouthow long to wait for a read on an idle socket<timeout>, 30s
socket-listen-backlogqueue size for the operating system listen() value100
tcp-no-delaysets the TCP no-delay valuetrue
timeoutdefault value for read-timeout and write-timeout30s
backupIf true, the server is generally used as a backupfalse
write-timeouthow long to wait for a write on an idle socket<timeout>, 30s

[edit] See Also

Retrieved from "http://wiki.caucho.com/Srun"
Personal tools