Solution
The NI Web Server configuration files can be located in
C:\Program Files\National Instruments\Shared\Web Server\conf. The main file is
httpd.conf.
Since the NI Web Server is Apache-based, the MDM module is required for parallel client requests.
Note: Do not modify other
.conf files since these only apply to certain requests. To ensure that the Web Service applies the required configuration, only modify
httpd.conf.
Inside the
httpd.conf file, the following directives can be added:
- ThreadsPerChild
- This specifies the number of threads created by each child process and takes the following syntax: ThreadsPerChild <number> where <number> represents the number of threads. The default value is 64.
- ListenBackLog
- This specifies the maximum length of the queue of pending connections and takes the following syntax: ListenBackLog <backlog> where <backlog> represents the queue length.
- This directive will be utilised if the maximum number of client connections has been reached.
Note: The
MaxRequestWorkers directive cannot be used with the NI Web Server because this directive does not apply to Windows.