Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

rcp problems

Posted on 2000-03-22
10
Medium Priority
?
475 Views
Last Modified: 2013-12-27
I have an automated process using rcp between Sun and Alpha systems. Sometimes I get an error of "rcp failure connection lost".

Can anyone suggest why?
0
Comment
Question by:WakiBaki
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
10 Comments
 
LVL 2

Expert Comment

by:mapc
ID: 2644203
Could you provide more details, file size, how often it happends, when this task is run, etc.
0
 

Expert Comment

by:salikova
ID: 2644267
you would test line between computers, for example
ping -s name_host
 please see how many packets is lost
0
 

Author Comment

by:WakiBaki
ID: 2644272
The files are quite small, typically no more than 10/15k. So far this has happened on 4 occasions over about 1 month, and these have all been evening / overnight. The frequency and times of the actions are variable, as the process is initiated elsewhere (though our ecom offering).
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 2

Expert Comment

by:mapc
ID: 2644316
Do you see any messages in kernel.
It's possible that under extremely heavy load the machine will drop packets.
salikova's answer is still not an answer, just one step to it :)
0
 

Author Comment

by:WakiBaki
ID: 2644321
The connection appears to be sound and has lost no packets when carrying out a ping(s). According to our switch (Cisco) there is no packet loss of any consequence (2 packets in 3 months on one system, 3 on the other. the latter having about 1200 concurrent users).
0
 
LVL 2

Expert Comment

by:mapc
ID: 2644350
It could happen if the process (in.rshd) dies or was killed.
Does it make sense in your environment?
Any messages in syslog?
0
 

Author Comment

by:WakiBaki
ID: 2644358
The connection appears to be sound and has lost no packets when carrying out a ping(s). According to our switch (Cisco) there is no packet loss of any consequence (2 packets in 3 months on one system, 3 on the other. the latter having about 1200 concurrent users).
0
 

Author Comment

by:WakiBaki
ID: 2644384
This might lead on to something...

If the rcp made a successful connection and the process was immediately killed on the destination host (before completion) could this produce the error?
0
 
LVL 2

Accepted Solution

by:
mapc earned 600 total points
ID: 2644838
The answer is yes.
In that case the filedescriptor is closed by the underlying OS and this error is produced at the client side.

I *think* some OSs implemented "kill _user_ processes when low on resources" algorithms, don't know if it's still true. e.g. user: uid<=someuid
0
 

Author Comment

by:WakiBaki
ID: 2644975
This makes sense, but i will need to do some further investigation to prove it 100%. I am happy that this is the most likely cause.

Thanks for the help!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question