Solved

rcp problems

Posted on 2000-03-22
10
469 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

920 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

15 Experts available now in Live!

Get 1:1 Help Now