Previous PageNext Page

3.2.2 [machines]

The [machines] keyword defines the systems that will run Chili!Soft ASP servers. Parameters in this section affect all Chili!Soft ASP servers. For detailed information on running Chili!Soft ASP on multiple servers, see the Multi-Machine Chili!Soft ASP
 
topic in the Running Chili!Soft ASP section.
 
Parameters
count
The number of machines running the Chili!Soft ASP server.
logfile
Defines the name and location of the Chili!Soft ASP server status log file.
machine1 ... machineN
The IP address for each machine running the Chili!Soft ASP server. There should be count machineN entries.
mtengine
Controls multithreading in the Chili!Soft ASP server. If mtengine is set to 0, the Chili!Soft ASP server will use multiple processes to serve ASP requests. If mtengine is set to 1, the Chili!Soft ASP engine will run one process with multiple threads to serve requests. Multiprocess servers tend to be more stable because an error will only affect a single Chili!Soft ASP server process, but may take longer to access variables stored in the Application object. Multithreaded servers tend to be less robust, but can improve access time for variables stored in the Application object since all Application object variables are stored in process space available to all threads.
portnumber
The base IP port the Chili!Soft ASP server control process listens on. The Chili!Soft ASP server will use ports portnumber through portnumber + maxprocesses (defined under the [default machine] keyword). If you are running 5 server processes, you will need 6 IP ports.
disablerestart
This setting is useful for Chili!Soft ASP diagnostics. If set to 1, the Chili!Soft ASP parent process will not automatically restart Chili!Soft ASP child processes that fail.
hashobj_pid
Optional. This setting allows you to specify the name and location of the process ID file for the Chili!Soft ASP hash object.

Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page