CLIENT.SLOWCONSUMER

Advisory

Subject Name Syntax

_RV.ERROR.SYSTEM.CLIENT.SLOWCONSUMER

Purpose

A listening client of the Rendezvous daemon receives this advisory when data is arriving faster than the client is consuming it.

Remarks

Only the specific client transport receives this advisory.

This message indicates an error—the Rendezvous daemon has discarded the oldest inbound messages to make room for new ones. (Clients cannot determine which messages are discarded.)

When many messages arrive in rapid succession, rvd buffers the messages until clients can consume them (that is, accept them from rvd). When unconsumed inbound messages either wait for more than 60 seconds or overflow the client’s buffer (within the daemon), rvd discards them, and presents this advisory to the affected client transport to indicate that data has been lost. This advisory is the next message that the transport receives—ahead of all other inbound messages.

This advisory does not occur when using IPM.

Message Fields

Field Name

Description

waiting

The number of messages waiting in rvd.

dropped

The number of messages that rvd has discarded.

bytes_dropped

The total number of bytes in the messages that rvd has discarded.

reason

This string indicates the reason that the daemon discarded messages:

time limit indicates that the data remained unconsumed in the daemon beyond the 60-second time limit.
size limit indicates that message data overflowed the explicit size limit specified in the daemon’s -max-consumer-buffer parameter.

Diagnosis

Several situations can cause a slow consumer:

The client program is oversubscribed—it cannot process the volume of data for which it is listening.
The client program is starved for CPU cycles—its host computer is too heavily loaded.