solairs10 rsh 问题 rcmd: socket: Cannot assign requested address
操作系统版本:
SunOS dszmas1o 5.10 Generic_127127-11 sun4u sparc SUNW,Sun-Fire
今天应用r命令如 rsh ,rcp 经常会出现
rcmd: socket: Cannot assign requested address
错误提示
不知道有何办法解决?
谢谢
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
谢了。
最后没有找到好办法,因影响到另外一套系统的正常运行(通过rcp取数据),最后通过重启系统解决问题。
问题时执行# netstat -an |grep "TIME_WAIT" | wc -l 的结果
3554
现在系统正常情况下
# netstat -an |grep "TIME_WAIT" | wc -l
2770
可以参考下文:
rsh/rcp maybe using "reserved" ports (ie < 1024), of
which there are only ~400 available inherently and blocking new
rsh/rcp sessions from being established or due to many connections
in TIME_WAIT status (i.e. wait after close for remote shutdown
retransmission.
Suggest to increase the existing file descriptors to 8192 and decrease
the tcp_time_wait_interval from the default of 4 minutes to 1 minute
for sockets.
Example:
# ndd -set /dev/tcp tcp_time_wait_interval 60000