免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4376 | 回复: 2
打印 上一主题 下一主题

solairs10 rsh 问题 rcmd: socket: Cannot assign requested address [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-12-02 15:40 |只看该作者 |倒序浏览
操作系统版本:
SunOS dszmas1o 5.10 Generic_127127-11 sun4u sparc SUNW,Sun-Fire

今天应用r命令如 rsh ,rcp 经常会出现
rcmd: socket: Cannot assign requested address
错误提示
不知道有何办法解决?
谢谢

论坛徽章:
0
2 [报告]
发表于 2009-12-03 09:43 |只看该作者
可以参考下文:

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

论坛徽章:
0
3 [报告]
发表于 2009-12-04 11:20 |只看该作者

回复 #2 paul_ham 的帖子

谢了。
最后没有找到好办法,因影响到另外一套系统的正常运行(通过rcp取数据),最后通过重启系统解决问题。
问题时执行# netstat -an |grep "TIME_WAIT" | wc -l 的结果
    3554
   
现在系统正常情况下
# netstat -an |grep "TIME_WAIT" | wc -l
    2770
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP