
VTCPD Features User Manual
Page 58 P0602483 Ver: 03.41
VTCPD Features User Manual
If the message is sent to the host, requests are either physically stored on the host side
or in the kernel buffer. If an application restarts before receiving the reply, this has no
effect on the host, which eventually retrieves and processes the request. However, this
could result in the processing of outdated requests which can further reduce already
limited host resources.
VTCPD can also hold requests locally and remove them from the queue when the
application restarts. This is done if the host is unable to process several messages
simultaneously. The VTCPD command line option is vtcpd -q #
This option specifies how many unanswered requests are sent to the host before
queuing them locally. If the option is not specified, all requests (default) are
immediately sent to the host. When -q option is specified, the VTCPD either sends
the request or stores it in a queue. When a reply comes from the host, the VTCPD
forwards the first message from the queue to the host. Another option used to maintain
one global queue for all links is vtcpd -Q #
In the global queue option, all requests go into the single queue and are retrieved when
the number of unanswered requests for any link becomes smaller than the number
specified by -Q option. In this mode, any request can be sent through any link, so the
-m I option is added to the list of command line arguments and the option -m R (if
any) is disabled.
In the global mode, any request can be sent through any link, so the -m I option is
added to the list of command line arguments. Correspondingly, the option -m R, (if
specified) is disabled.
If an application restarts and executes either the Free or Get operation, all related
requests are removed from the queues.
Clearing the Connection
When VTCPD queues requests, it does not send them to the host until the previous
request has been answered. However, requests can go unanswered due to a variety of
reasons (for example, incorrectly formatted requests, bugs in the code) The
unanswered request causes the corresponding connection to be unusable.
Queueing Requests
vtcpd [{-q <#> | -Q <#>}]
Args: -q <#> Specifies how many unanswered requests go to the host before
they are queued locally. Unless this option is specified, all requests
are immediately written to the host.
-Q <#> Specifies that all requests from all links are to be placed in a global
queue. When the number of unanswered requests for any link
becomes smaller than the specified value, the requests are
retrieved.
Comentários a estes Manuais