write failed: Broken pipe


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users write failed: Broken pipe
# 8  
Old 11-22-2011
Dear Mirni:

thanks!

The bug causing the "Broken pipe" has already digged out, which is because of the concurrency of sending and interrupt. Now the sending actions can run in parallel and so does the recieving.

Another trouble emerges: the sending actions cannot run in parallel with recieving. The output information show "stalled" in both directions. Why?


li,kunlun

---------- Post updated at 10:42 PM ---------- Previous update was at 10:23 PM ----------

Hi, all:

In either direction the system reports "stalled" with the 0KB transmition rate.
platform: x86 linux-3.0.4

li,kunlun
# 9  
Old 11-23-2011
It may be because scp saturates your bandwidth. Try using scp with -l switch, to set the limit, like:
Code:
scp -l 8192 src dest

This sets the limit to 8192 kbit/s.
# 10  
Old 11-23-2011
Dear Mirni:

Thanks for your suggestion, but it isn't the reason of this trouble! I use "scp -l 16384 src des" in both directions, the rate 16384b/s is far below the average rate "5MB/s" of multiple sending or recieving, but the two command run into stalled again!

Could you give me some suggestion further?

li,kunlun
# 11  
Old 11-23-2011
The -l value is in kilobits/s, not b/s; still only 2MB/s, but if you're running parallel transfers... Do you stall with lower values also? 8192 or 4096? Verbose mode did not show anything useful or...?
# 12  
Old 11-23-2011
set to 8192Kb/s is also the same as its original, still "stalled".

---------- Post updated at 07:29 AM ---------- Previous update was at 07:27 AM ----------

Quote:
Originally Posted by mirni
The -l value is in kilobits/s, not b/s; still only 2MB/s, but if you're running parallel transfers... Do you stall with lower values also? 8192 or 4096? Verbose mode did not show anything useful or...?

Thanks and how to use verbose mode? Is it as "scp -l 8192 -v src det" ?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

SFTP error between UNIX to iSeries (Write Failed Broken Pipe)

Hi, I am iseries resource and having Issue in one of the sFTP failures between one of my job (Unix --> iSeries). The response to sending machine (Unix) is "Write Failed Broken Pipe". Appreciate any help Available on why this Issue happens, how can we replicate the same, what fixes can... (1 Reply)
Discussion started by: hamelchauhan
1 Replies

2. Shell Programming and Scripting

How to avoid ssh :Write failed: Broken pipe?

Hello, I am trying to run some code on Matlab over ssh . The code takes around 5-6 hours to complete. so after giving the command to run it , I locked my machine and then went off to sleep at night, only to discover in the morning that I get this message : ...Code running, partial results... (1 Reply)
Discussion started by: ajayram
1 Replies

3. UNIX for Dummies Questions & Answers

broken pipe

I know what causes 'broken pipe' errors, but I can't understand why I can get it (only occasionally) with my example: ps -ef | grep "\./ans$" | grep -v grep Basically I'm searching the ps output looking for the process I'm interested in and excluding the process that is grepping for the... (2 Replies)
Discussion started by: fhew
2 Replies

4. Shell Programming and Scripting

Replace pipe with Broken Pipe

Hi All , Is there any way to replace the pipe ( | ) with the broken pipe (0xA6) in unix (1 Reply)
Discussion started by: saj
1 Replies

5. UNIX for Dummies Questions & Answers

echo: write error: Broken pipe ??

I want to try the unix pipe, the command is like this: echo new | find . the standard output of the echo should be "new", then I guess find command will use this output as input to find the file named "new". But the output is all the file names in my current dir, the last line is "echo: write... (5 Replies)
Discussion started by: andrewust
5 Replies

6. Shell Programming and Scripting

broken pipe

hi i am trying to upload a file using ftp protocol, i am facing some problem while uploading "Failedtoupload:SFTREGUP1:FTP_ASCII_MAILBOX21.39.10.856305000:Broken pipe" Can someone explain why it is coming , and the solution . (0 Replies)
Discussion started by: Satyak
0 Replies

7. UNIX and Linux Applications

pipe broken

hi i have a server, and i have a web site and i installed apache in the /usr/local/apache/logs i have a file and i have this problem (32)Broken pipe: core_output_filter: writing data to the network plz help me how i can resolve this plz it's urgent th (1 Reply)
Discussion started by: abir2
1 Replies

8. Linux

pipe broken

hi i have a server, and i have a web site and i installed apache in the /usr/local/apache/logs i have a file and i have this problem (32)Broken pipe: core_output_filter: writing data to the network plz help me how i can resolve this plz it's urgent th (2 Replies)
Discussion started by: abir2
2 Replies

9. UNIX for Advanced & Expert Users

Broken Pipe

Hi I tried to open the man page of sh and piped to `pg`. Normally while reading a file page by page using `pg`, if we wanna quit at the middle of file, we give "q" near the colon mode. Ex1: $cat file1 | pg hi how r u : (page1) now press "return key", it will go to next page yes i ... (1 Reply)
Discussion started by: ramkrix
1 Replies

10. Programming

.cc fopen failed - Broken Pipe

hello.. i make some code with C in freebsd 5.4 and compile it in solaris somehow i succeed compile the program. but when i run it, i got error message "Broken Pipe" i looked out the syntax that that caused this, fp = fopen("file.tmp","r"); does anyone know why, and how to solve this... (3 Replies)
Discussion started by: kuampang
3 Replies
Login or Register to Ask a Question