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
Solved

rcp problems

Posted on 2000-03-22
10
471 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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
reinstall 1 84
how to check for shares on aix 1 85
Shell Script on AIX 7 111
Martian Packets Unix 5 67
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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…
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.

840 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