PLBWEB_REST_USE_FCGI Keyword
10.2
PLBWEB_REST_USE_FCGI<nn>={parameter}
This keyword controls the REST task interface used by the PWS server.
This keyword is optional and is placed in the [Environment] section of the PWS configuration INI file.
Where:
Note:
1. When this keyword is set to OFF, the PL/B REST service uses the CGI interface. This is the default behavior if this keyword is not used.
2. The CGI interface creates a new process for each request.
3. When this keyword is set to ON, the PL/B REST service uses the FastCGI interface.
4. The FastCGI uses persistent processes to handle a series of requests.
5. Each REST FastCGI process is started when the PWS starts.
6. If a FastCGI process fails, it is locked out. This reduces the PLBWEB_REST_MAX_COUNT by one. Optionally, an error is logged and an email message is sent when the administrative email services are enabled.
Example:
PLBWEB_REST_USE_FCGI=ON
See Also: Server Configuration Keywords, Server Command Line
![]() |