Show Table of Contents
5.2.6. 配置 Remoting 里的消息大小
Remoting 子系统提供了限制用于远程协议的消息的大小的选项。您可以设置最大的转入消息(
MAX_INBOUND_MESSAGE_SIZE)及最大的转出消息(MAX_OUTBOUND_MESSAGE_SIZE)来确保接收和发送的消息具有合适的大小。
配置远程协议里的消息大小有助于有效地利用系统内存并防止在执行重要任务时内存溢出。
如果发送者发送的消息超过了最大限制(
MAX_INBOUND_MESSAGE_SIZE),服务器将抛出异常并取消数据的传输。然而连接将保持打开且如果需要的话发送者可以选择关闭消息。
如果接收的消息超过了最大限制(
MAX_INBOUND_MESSAGE_SIZE),消息将被异步关闭而连接仍将保持打开。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.