Solved

rcp problems

Posted on 2000-03-22
10
472 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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.:
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.

726 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