本文介绍如何测试 Microsoft 远程过程调用 (RPC) 的性能,以及如何针对 RPC 错误信息进行故障排除。
RPC 与开放软件基金会(Open Software Foundation,OSF)设计兼容,并且具有与其他数据通讯交换(Data Communications Exchange,DCE)标准进行交互的能力。RPC 是业界标准的进程之间的通讯 (IPC) 机制,用于独立于网络的、可支持多种网络协议的客户机-服务器通讯。RPC 使用 IPC 机制来在客户机与服务器之间建立通讯,以便调用远程计算机上的程序功能。使用此级别服务的复杂程序需要有一个连接或相应级别的吞吐量来提供这种能力。例如,使用 Microsoft Exchange Server 时,需要有一个连接来可靠地维持数据流。
RPC 错误信息
使用 RPC 时,可能会收到下列错误信息(这些错误信息可能是网络连接缓慢导致的,也可能不是)之一:
- The RPC protocol sequence is not supported.
- The RPC protocol sequence is invalid.
- The RPC server is already listening.
- The RPC server is not listening.
- The RPC server is unavailable.
- The RPC server is too busy to complete this operation.
- A remote procedure call (RPC) protocol error occurred.
- The transfer syntax is not supported by the RPC server.
- The RPC protocol sequence was not found.
- An internal error occurred in a remote procedure call (RPC).
- The RPC server attempted an integer division by zero.
- An addressing error occurred in the RPC server.
- A floating-point operation at the RPC server caused a division by zero.
- A floating-point underflow occurred at the RPC server.
- A floating-point overflow occurred at the RPC server.
- The list of RPC servers available for the binding of auto handles has been exhausted.
- The error specified is not a valid Windows RPC error code.
- Incompatible version of the RPC stub.
- The RPC pipe object is invalid or corrupted.
- An invalid operation was attempted on an RPC pipe object.
- Unsupported RPC pipe version.
- Invalid asynchronous RPC call handle for this operation.
- The RPC pipe object has already been closed.
- The RPC call completed before all pipes were processed.
- No more data is available from the RPC pipe.
RPC 性能问题和错误信息的故障排除
有许多工具可以用来确定 RPC 错误信息是否由缓慢的网络连接导致的。如果收到一条 RPC 错误信息,就需要排除缓慢网络连接这一可能的原因。请使用下面的一种或几种方法来找出此问题的原因。
文章编号: 177446 - 最后修改: 2003年9月23日 - 修订: 2.0
这篇文章中的信息适用于:
- Microsoft Windows NT Server 4.0 企业版
- Microsoft Windows NT Server 3.5
- Microsoft Windows NT Server 3.51
- Microsoft Windows NT Server 4.0 Standard Edition
- Microsoft Windows NT Workstation 3.5
- Microsoft Windows NT Workstation 3.51
- Microsoft Windows NT Workstation 4.0 开发员版
| kbhowto kbinfo kbrpc kbnetwork KB177446 |
Microsoft和/或其各供应商对于为任何目的而在本服务器上发布的文件及有关图形所含信息的适用性,不作任何声明。 所有该等文件及有关图形均"依样"提供,而不带任何性质的保证。Microsoft和/或其各供应商特此声明,对所有与该等信息有关的保证和条件不负任何责任,该等保证和条件包括关于适销性、符合特定用途、所有权和非侵权的所有默示保证和条件。在任何情况下,在由于使用或运行本服务器上的信息所引起的或与该等使用或运行有关的诉讼中,Microsoft和/或其各供应商就因丧失使用、数据或利润所导致的任何特别的、间接的、衍生性的损害或任何因使用而丧失所导致的之损害、数据或利润不负任何责任。