Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rsh - rcmd socket failure 1

Status
Not open for further replies.

art15t

MIS
Apr 8, 2002
77
GB
Hi,

I have just encountered a problem with rsh where I had an overnight dispatch of files from one machine to another.

rsh returned:

rcmd: socket: Cannot assign requested address

Is there a tunable kernel parameter to increase nuber of sockets or is there some limitation with rsh. I killed of the overnight a few of the overnight dispatch processes and rsh was once again functioning.

Any ideas?





 
Many Thanks J1mbo!

That was just what i was looking for! Excellent mate!!

ART
 
Guys,
Could you please repost the solution to "rcmd: socket: Cannot assign requested address" problem again?
That website Jim referred to is no longer available and I would like to know the solution.
We are facing the same problem and tcp_time_wait_interval is set to 60 secs by default.
So I need a better solution.
Thanks

Anand
 
Well it's been a while since I had this problem and I think if I recall I upped the file handles in /etc/system and reduced the time wait to 30 seconds. Additonally, this was caused because I moved the app from a sparc20 to a V880 and the io was dramatically improved such that when I ran several batch in parallel it took just a matter of seconds to use up all the available port/sockets. The solution also involved checking for the error before establishing a connection. This together with reducing the number of parallel tasks solved the issue and I no longer came to work the next day to find the overnight batch had failed!

ART
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top