Zeus Tuning: ------------------ For details on the Zeus tuning parameters used please see: http://support.zeus.co.uk/faq/zws/v4/entries/tuning.html The following tunables are the Zeus global parameters (global.cfg): tuning!bind_any no Boolean: have server sockets bind to IPADDR_ANY default = yes tuning!cache_cooling_time 0 Zeus imposed delay before caching recently modified files starts (seconds) default = 120 tuning!cache_files 282011 Size of the web server file cache (number of files) default = 8011 tuning!cache_flush_interval 31536000 Time after which unaccessed files are flushed from the cache (seconds) default = 120 tuning!cache_large_file 1048576 Minimum size of a "large" file (bytes) default = 1048577 tuning!cache_max_bytes 1288490188 Maximum size to reserve for cached files (bytes) (0=nolimit) default = 33554432 tuning!cache_small_file 40000 Maximum size of a "small"file (bytes) (system page size) default = 4096 tuning!cache_stat_expire 360000 Time for which the response of a stat() call is cached (seconds) default = 17 tuning!cbuff_size 65536 Integer: cgi buffer size default = 8192 tuning!clientfirst_optimize yes Boolean: Enables socket optimisations that arrange that a connection is not accept()ed until there is data ready to be read. default = No tuning!counter!enabled no Boolean: enable or disable the real time monitor counter (default yes) tuning!keepalive yes Boolean: enable 'keepalive', default = yes tuning!keepalive_max -1 Integer: Maximum permitted number of keepalive connections (-1 means no limit), default =15 tuning!keepalive_timeout 3600 Integer: Time after which an inactive keepalive connection will be closed (seconds) tuning!listen_queue_size 8192 Size of the TCP listen queue. This is the second argument that gets passed to the listen() system call, default = 256 tuning!maxaccept 2048 Boolean: Maximum number of accept() calls upon a read bit on the server socket from a poll()/select() tuning!maxconnections -1 Integer: Maximum number of concurrent connections allowed, after which the web server will not accept any more connections. A value of -1 means no limits, a value of 0 means the system will choose a sensible limit. A positive number indicates a user-specified choice, default = 0 tuning!modules!cgi!cbuff_size 1048576 Integer: cbuff size (default 8192) tuning!modules!isapi!enabled no Boolean: Enable the ISPAI module (default no) tuning!modules!nsapi!enabled no Boolean: Enable the NSPAI module (default no) tuning!modules!security!enabled yes Boolean: Enable SSL (default no) tuning!modules!stats!enabled no Boolean: Enable the satistics module (default yes) tuning!num_children 2 Number of child zeus.web processes to run independent of the number of CPUs (the default, however, is set to 1 per CPU initially) default = <#cpus tuning!sendfile no Enable sendfile on platforms that support it, default = yes tuning!sendfile_minsize 0 Size in bytes of the smallest file to be sent with sendfile, default = 32768 tuning!sendfile_maxsize 0 Size in bytes of the biggest file to be sent with sendfile, default = 2147483647 tuning!so_wbuff_size 1048576 Size of the socket write buffer (bytes) default = tuning!so_rbuff_size 1048576 Size of the socket read buffer (bytes) default = tuning!softservers no Enable 'software' virtual servers default = yes tuning!ssl_sessioncache_size 2617 Integer: Size of ssl session cache. Should be prime (default 199) tuning!ssl_diskcache no Boolean: use 2nd level on-disk cache for storing SSL session information (default no if num_children = 1; yes if num_children > 1) tuning!ssl_cbuff_size 32840 Integer: The size in bytes of the SSL circular buffer, default = 16404 tuning!unique_bind yes Force each child process to bind to a unique IP address, and not to each interface, default = no tuning!use_poll no Boolean: use poll() instead of select(), default = yes Zeus Runningsites: modules!gateway!enabled yes Boolean: enable the Gateway module, default = no modules!gateway!path!~/.*\\.jsp Specifes the destination webserver (:) for requests which match the specified . The path can be either a proper path, or a regular expression prefixed by a "~", default = unset modules!gateway!rewritecookie yes Boolean: If yes, cookies returned from the origin server that contain domain variables are rewritten to refer to the gateway server, default = yes modules!gateway!rewritelocation yes Boolean: If yes, we rewrite any 'Location' headers returned by the destination webserver so that they point to us rather than the destination, default = no ------------------------------------------------------------------------------- Apache Tuning: ------------------ For details on the Apache tuning parameters used please see: http://httpd.apache.org/docs/mod/core.html KeepAlive on if set to On, specifies enabling persistent connections on this web server, default = off KeepAliveTimeout 600 specifies how much time, in seconds, Apache will wait for a subsequent request before closing the connection, default = 15 MinSpareServers 250 specifies the minimum number of idle child server processes for Apache, which is not handling a request, default = 5 MaxClients 1500 sets the limit on the number of simultaneous requests that can be supported; not more than this number of child server processes will be created, default = 256 MaxKeepAliveRequests 0 limits the number of requests allowed per connection when KeepAlive is on. If it is set to "0", unlimited requests will be allowed. We recommend that this setting be kept to a high value for maximum server performance, default =100 MaxRequestsPerChild 0 specifies the number of requests that an individual child server process will handle (0 unlimited), default = 0 MaxSpareServers 1500 specifies the maximum number of idle child server processes for Apache, which is not handling a request, default = 10 StartServer 100 specifies the number of child server processes that will be created by Apache on start-up, default = 5 ThreadLimit 500 hard limit of the number of threads, default = 64 Timeout 600 specifies the amount of time Apache will wait for a GET, POST, PUT request and ACKs on transmissions, default = 300 ---------------------------------------------------------------------------------- Apache Tomcat Tuning: ------------------ For details on the Apache Tomcat tuning parameters used please see: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/index.html server.xml: acceptCount 50000 max queue length for connection requests, default = 100 connectionTimeout 60000 The number of milliseconds this Connector will wait, after accepting a connection, for the request URI line to be presented, default 60000 (i.e. 60 seconds) enableLookups false set to true if you want calls to request.getRemoteHost() to perform DNS lookups in order to return the actual host name of the remote client. Set to false to skip the DNS lookup and return the IP address in String form instead (thereby improving performance). By default, DNS lookups are enabled minSpareThreads 4000 number of threads created when connector starts, default = 25 maxKeepAliveRequests -1 The maximum number of HTTP requests which can be pipelined until the connection is closed by the server. Setting this to -1 will allow an unlimited amount of pipelined or keep-alive HTTP requests, default = 100 maxSpareThreads 8000 max number of unused threads allowed, default = 75 maxThreads 8000 max number of sessions, default = 150