Solved

rcp problems

Posted on 2000-03-22
10
468 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
  • 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
 
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
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 200 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

706 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now