vhttpd Optimization Settings

Below are vhttpd.conf performance settings. None need be set by default, but careful tuning of these parameters can sometimes increase server performance.

  • OutPktSz bytes Set the TCP data packet size assumed in output. Most platforms send data in constant-size packets where possible. The server can tune its output buffers to this packet size, reducing the number of packets sent. The default is 512. It is only advisable to change this setting if you know what the packet size is.

  • OutBufSz bytes Set the output buffer size. Must be a multiple of OutPktSz. The default is 1024.

  • SingleUser boolean Set Texis single-user mode. Use with caution; see the caveats on singleuser with the <sqlcp> function, here.

  • TxPreOpenDb filepath The database to pre-open Texis handles for. In conjunction with the other TxPreOpen... settings, some Texis handles can be pre-opened by the web server. This can speed up the servicing of server-run Vortex scripts that use that database, by avoiding the overhead of opening a Texis handle for every request. Generally 10-20 handles are opened with TxPreOpenNum, and one or two handles are reserved per process with TxPreOpenGive, depending on the number of simultaneous SQL accesses in the script. ServerRoot-relative. The default is none.

  • TxPreOpenNum num Pre-open num Texis handles in the TxPreOpenDb database. The default is none (0).

  • TxPreOpenGive num Give num pre-opened Texis handles to each process. The default is 2 (if TxPreOpenDb and TxPreOpenNum are set).

  • TxPreOpenLife num Use each pre-opened Texis handle num times before closing. The default is 10.

Copyright © Thunderstone Software     Last updated: Aug 4 2020
Copyright © 2021 Thunderstone Software LLC. All rights reserved.