<81449328D7EE4AB093AF0E11D86120E9@tv> ----- Original Message ----- From: "Larry Stotler"
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Source Business Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top How can I fix a Broken Pipe error? up vote 17 down vote favorite 5 I recently reinstalled RVM (following the instructions at http://rvm.io) after a fresh install of Ubuntu 12.10 when I https://lists.opensuse.org/opensuse/2008-10/msg01201.html got an SSD Drive. Now, when I type: type rvm | head -1 I receive the following error: rvm is a function -bash: type: write error: Broken pipe But if I immediately repeat the command then I only receive: rvm is a function And it appears everything is ok? What's happening? What can I do to fix it? It doesn't happen always. It appears to be more sporadic. I've tried to find some kind of pattern to it but haven't yet. bash ruby .bash-profile rvm share|improve this question http://superuser.com/questions/554855/how-can-i-fix-a-broken-pipe-error edited Feb 20 '13 at 16:44 terdon 33.9k662100 asked Feb 20 '13 at 15:29 Jason Shultz 2352410 add a comment| 3 Answers 3 active oldest votes up vote 28 down vote accepted Seeing "Broken pipe" in this situation is rare, but normal. When you run type rvm | head -1, bash executes type rvm in one process, head -1 in another.1 The stdout of type is connected to the "write" end of a pipe, the stdin of head to the "read" end. Both processes run at the same time. The head -1 process reads data from stdin (usually in chunks of 8 kB), prints out a single line (according to the -1 option), and exits, causing the "read" end of the pipe to be closed. Since the rvm function is quite long (around 11 kB after being parsed and reconstructed by bash), this means that head exits while type still has a few kB of data to write out. At this point, since type is trying to write to a pipe whose other end has been closed – a broken pipe – the write() function it caled will return an EPIPE error, translated as "Broken pipe". In addition to this error, the kernel also sends the SIGPIPE signal to type, which by default kills the process immediately. (The signal is very useful in interactive shells, since most users do not want the first process to keep running and trying to write to nowhere. Meanwhile, non-interactive services ignore SIGPIPE – it would not be good for a long-running daemon to die on
Sign in Pricing Blog Support Search GitHub This repository Watch 77 Star 365 Fork 184 chapmanb/bcbio-nextgen Code Issues have a peek here 107 Pull requests 5 Projects 0 Pulse Graphs New https://github.com/chapmanb/bcbio-nextgen/issues/1442 issue bcbio-ipengine.err:cat: write error: Broken pipe #1442 Open pengxiao78 opened this Issue http://www.saetechnologies.com/cat-write-error-broken-pipe-solusvm/ Jun 22, 2016 · 5 comments Labels None yet Milestone No milestone Assignees No one assigned 3 participants pengxiao78 commented Jun 22, 2016 Hi Brad, Recently, when I updated the bcbio-nextgen in the newest development version and ran any variant calling pipeline, I frequently found the following Cat Write error in bcbio-ipengine.err.%%j files. In addition, all the log files did not update instantly until error occurs. So I could not keep tracking the status of the running. Could you help me to debug it? Thanks! 2016-06-22 11:13:20.044 [IPEngineApp] Completed registration with id 8 cat: write error: Broken pipe cat: write error: Broken pipe cat: write error: Broken pipe cat: write error: Broken Cat Write Error pipe cat: write error: Broken pipe cat: write error: Broken pipe cat: write error: Broken pipe 2016-06-22 12:14:52.391 [IPEngineApp] WARNING | No heartbeat in the last 5010 ms (1 time(s) in a row). bcbio-nextgen collaborator roryk commented Jun 22, 2016 Hi @pengxiao78, It is hard to tell from this output but my first guess is that the worker nodes in your cluster are having trouble writing to the log files in the log directory for some reason. Does the ipcontroller file have any enlightening information in it? Does bcbio-nextgen fail? What does that error look like? pengxiao78 commented Jun 22, 2016 Hi Rory, This error may has nothing with the log file writing. If bcbio-nextgen failed, job canceled or the running completely finished in the cluster, the log files would be updated. I had successfully finished two runs without showing any updates in all the log files in log folder and my own log file in work folder during runnings, but just saw the results in final folder and updated log files when the runs were completed. However, I feel uncomfortable without monitoring running stages. The ipcont
- How to do anything – We're trying to help everyone on the planet learn how to do anything. Join us. How to… Android : Socket - … – I am trying to make connection with server using socket. The connection pipe is broken as shown below exceptions. 01-31 14:47:16.536: W/System.err(27255 …… Resources to Help Eliminate The Top 25 Software Errors . The TOP 25 Errors List will be updated regularly and will be posted at both the SANS and MITRE sites… … [DEBUG] mod_voicemail.c:2321 Deliver VM to 1000 at 192.168..20 /bin/cat: write error: Broken pipe sh: line 1: 11975 Done(1) /bin/cat /tmp/mail.124558382500b1 11976 Segmentation fault (core dumped) | exim4 -t myemail … And these are permissions of the folder where I chroot the user… cat: write error: Broken pipe. Does anyone else notice the error "cat: write error: Broken pipe" when running YaST2 on openSUSE 11.0 via SSH? … no broken pipes here on 11.0 (The update repo seems hosed, but no broken pipes) … Subject: Re: [opensuse] cat: write error: Broken pipe On Mon, Oct 20, 2008 at 12:20 PM, Andrew Joakimsen wrote: Does anyone else notice the error "cat: write error: Broken pipe" when running YaST2 on openSUSE 11.0 via SSH? cat: write error: Broken pipe, referer: http://domain.example/cgi-bin/search.sh the cgi does the following, read a db file plain text that repeat each 15 lines an information where to look the seraching info. if it is there sends to the output the 15 lines block. but it was not sending errors in … I am getting a lot of 499 nginx error codes. I see that this is a client side issue. It is not a problem with Nginx or my uWSGI stack. I note the …… 0008254: dracut or mkinitrd throws error "cat: write error: Broken pipe" when run from rsh/rlogin session. underlying problem is lsinitrd: Description: If you enable rsh on a system and rsh to it, and run dracut, you get an error at the end. bash scripting sending "cat: write error: Broken pipe," I move a page from a server in Suse to Debian and this script was working well but when i move the page to a Debian base server it is sending in the logs the following message: cat: … … i am getting a broken pipe error i.e Code: cat: write error: Broken pipe what does that mean? please let me know if you want any other … It means a program died unexpectedly and things further up