Chinaunix

标题: solairs10 rsh 问题 rcmd: socket: Cannot assign requested address [打印本页]

作者: gyh9711    时间: 2009-12-02 15:40
标题: 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
错误提示
不知道有何办法解决?
谢谢
作者: paul_ham    时间: 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
作者: gyh9711    时间: 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




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2