max no of gateways exceeded

前几天写的一个RFC程序今天在运行时提示:

max no of gateways exceeded (100)

原因在于每次Call RFC的时候,打开了RFC 连接的接口,但是运行完毕之后并未及时关闭连接。

这样做就会导致每次调用完RFC就会占一条连接,等到执行完100次后就会占满SAP Gateway.

解决办法我在SAP SDN中找到答案,具体方法是:

smgw -> goto -> logged clients  check if it is more then 100.

 

sort the connections according to date/time and delete old connections.

 

also you have to check for remote logins

 

smgw -> goto -> remote gateways check if it more then 100.


删除冗余RFC连接后测试通过,没有出现Dump


当然也有另外一种方法 就是修改RFC最大连接数来解决此问题,具体方法转见下:


If this issue occurred again, you may need to increase the maximum number of the remote gateways parameter. You can increase the value in transaction RZ11 via parameter rdisp/max_gateways. Default value is set to 100.

You also may need to change the parameter value for gw/so_keepalive to 1. This will let the TCP/IP network protocol sends messages to the partner. If these are not answered, an error message is reported to the initiator (in this case, the gateway) and the connection can be closed. This parameter is useful when network connections are separate by firewall software, connections are retained in the gateway because the TCP/IP network protocol does not report any connection errors. As a result, connections are repeatedly made to the same system over a longer period and this causes the gateway’s connection table to overflow.



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值