一、问题现象:Users were getting error "Maximum number of connected terminals reached" while logon to R/3 System.
二、Root cause:
The space available in the C table tm_adm is not sufficient for another terminal to log on to this applicatin server. The number of table elements is determined by the profile parameter 'rdisp/tm_max_no' when the application server is started. Important: For internal purposes one entry for each work process and one entry for each CPIC connection is made in tm_adm in addition to an entry for each work process.
Parameter 'rdisp/tm_max_no' value was set to 200 and when number of terminals exceed 200, users were getting an error "Maximum number of connected terminals reached" during login screen initiation.
三、解决思路
临时:
Instance restarted.
Logon to SAP system. Execute T-code RZ10 to change profile parameter.
Change profile parameter 'rdisp/tm_max_no' to more than 2000.
Restart SAP instance.
避免办法(转):
Maximum number of connected terminals reached on SAP
雖然強硬推行 SAP Logon Group 作為 SAP GUI 登入使用,礙於當前使用者數量明顯增加,導致於時常連線數量到達參數設定
The maximum number of connections per instance is determined by parameter
●rdisp/tm_max_no (default setting: 200).
增加此數字只會佔用些微系統資源,另外因為使用者不正確登出,例如直接關閉電腦而沒有 Logout SAP系統,此時該連線依舊會持續保留,因此可以搭配 Session Time out 參數使用
●rdisp/keepalive ( unit seconds, default 1200 )
設定使用端於參數秒數內無傳遞任何資料時,Application Server 會送出 Ping 訊號,使用端於 40 秒之後會回應 Pong 訊號,若無回應表示該連線已經中斷,而進行該資源釋放動作
●rdisp/gui_auto_logout ( unit seconds, default 0 )
延續上述參數,當連線持續通暢,但使用者於此參數設定秒數到達時,依舊沒有與 Application Server 傳送任何資料,則系統將會自動進行資源釋放動作
以上,三者參數的搭配運用,將對於SAP系統管理與資源運用有所幫助
参考:SAP note Note 22099 - "maximum number of connected terminals reached"
四、Solution:
(1)将rdisp/tm_max_no (default setting: 200). 由默认的200调到到300--1000
(2)上面的修改有可能影响shared memory pool,改完后,做下profile check,如果报错不足就得扩(否则可能很快宕机) [参数修改后,用户多了,而用户会占用Extend memory,扩大了用户数肯定会对SHM造成影响,]
(3)其它相关参数设置设置,加强预防
五、其它
(1)rdisp/tm_max_no (default setting: 200). 用于控制所有用户的登陆上限,如对话、系统、通讯、服务等等。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26663467/viewspace-716008/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26663467/viewspace-716008/