Questions tagged [broken-pipe]

Broken pipe is a general term for when a process is unable to output to a socket or pipe due to no process reading from the other end of the pipe.

Broken pipe is a condition in programming where a process is unable to direct output to either a pipe or socket due to the connection being closed by a peer.

Every library function that returns this error code also generates a SIGPIPE signal; this signal terminates the program if not handled or blocked.

More info in the libc documentation

238 questions
0
votes
1 answer

Oracle jdbc connection takes long time, then "java.sql.SQLRecoverableException: IO Error: Broken pipe"

In my application I use connection to Oracle. Sometimes It shows Broken-pipe error, not all the time. Why connection takes over 1 minute(Causes "Broken pipe" error)? DB and application in the same host. Why reconnect 5 seconds cycle? I guess "Con…
Enoo Lee
  • 11
  • 1
  • 4
0
votes
1 answer

mosh + osx + /bin/false error

I have successfully installed mosh at server and client side both. I am trying to ssh using mosh from osx but it is throwing following error: /bin/false: No such file or directory write: Broken pipe /usr/local/bin/mosh: Did not find remote IP…
Shweta
  • 1,111
  • 3
  • 15
  • 30
0
votes
1 answer

Error: [Errno 32] Broken pipe in python code

I am trying to compile this python code in Ubuntu 12.04. import numpy as np import argparse parser = argparse.ArgumentParser(add_help=True) parser.register('type', 'bool', lambda v: v.lower() in ("yes", "true", "t",…
user144209
  • 189
  • 1
  • 10
0
votes
0 answers

Getting Errno 32 Broken Pipe Some of the Time Python3

After doing some research I have a much better idea as to what the error is. Pardon me if I'm wrong but it has to do with the pipe/socket you're connecting to closing before all of the data can be transferred? I'm unclear as to the best way to fix…
terratunaz
  • 614
  • 3
  • 9
  • 19
0
votes
1 answer

urlopen, Google speech API

I want to use Google's Speech API using the Python code below and a wav file (or an audio file in some other format for that matter). I get a broken pipe error at the moment, which I don't know how to fix. Have been reading a bit about changing…
Ingrid
  • 516
  • 6
  • 18
0
votes
1 answer

Broken pipe when bootstrapping or repair node

I got 2 node "A" and "B" in two datacenter, A in DC1, B in DC2. Replication factor for DC1 = 3, for DC2 = 1. I try join new node "C" to the DC1 but i got this error message on node "A": ERROR [STREAM-OUT-/X.X.XX.XXX] 2015-12-31 02:39:05,252…
Black Jack
  • 11
  • 5
0
votes
1 answer

Gradle Docker plugin broken pipe on osx

Hi I try to use this awesome Gradle plugin: https://github.com/bmuschko/gradle-docker-plugin I use the following URL obtained from my docker-machine / kitematic installation on osx: docker-machine url default tcp://192.168.99.100:2376 However…
Georg Heiler
  • 16,916
  • 36
  • 162
  • 292
0
votes
1 answer

ffmpeg streamaudio video webcam raspberry pi

I'm using a webcam on my Rpi to record audio video. I'm using ffmpeg and here is my command: ffmpeg -y -ac 1 -f alsa -i hw:1,0 -i /dev/video1 -r 10 -s 120*120 -async 1 -strict -2 -c:a aac -pix_fmt yuv420p -threads 0 -ar 44100 -f mpegts out.avi This…
0
votes
1 answer

Broken pipe error and connection reset by peer 104

I'm using Bottle server to implement my own server using an implementation not so far away from the simple "hello world" here , my own implementation is (without the routing section of course): bottleApp =bottle.app() …
JavaSa
  • 5,813
  • 16
  • 71
  • 121
0
votes
0 answers

Broken Pipe Error in Django

I setup and use Redis cache and Django celery in my Django app. Everything was working normal for two days, but I tried to change one my template page while server is on today. When I refresh the page, it doesn't recognize the change and I get this…
Onur
  • 19
  • 6
0
votes
3 answers

Broken pipe using os.system for get the folder size

I have a python script and I want to get the size of a folder (as fast as possible) like this: os.system("du -k folder |sort -nr| head -n 1 > size") Although it seems that works, I get this error sort: write failed: standard output: Broken…
Ren91
  • 5
  • 5
0
votes
1 answer

Broken pipe when calling Request.getInputStream over Jetty

I'm running a high volume java web-app over a jetty 9.x server (4k-5k qps). My servlet (MyServlet.java) is simple Java class the extends HttpServlet. When getting the request object HttpServletRequest I invoke the getInputStream() method (as can…
forhas
  • 11,551
  • 21
  • 77
  • 111
0
votes
1 answer

C++ fwrite , ferror code 36 Broken Pipie

I have a problem with saving lot of data to binary file in c++ , i'm using CodeBlocks My code: long tablica[10000]; int main(int argc, char *argv[]) { FILE * pFile; clock_t start,stop; srand (time(NULL)); long i; for(i=0;i<10000;i++){ …
Eaxxx
  • 25
  • 3
0
votes
1 answer

Errno 32: Broken pipe

Below is the code for which I am getting Broken Pipe error. I am not getting this error for small data sets. This arises only when the data set is large. I am not able to handle it through exceptions also. ## reading the data from CSV file import…
Arighna
  • 89
  • 2
  • 9
0
votes
1 answer

Sending data multiple times over a single socket in python

I have a python program where I use a server socket to send data. There is a class which has some Threading methods. Each method checks a queue and if the queue is not empty, it sends the data over the sever socket. Queues are being filled with what…
Zeinab Abbasimazar
  • 9,835
  • 23
  • 82
  • 131