LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 04-05-2006, 10:24 PM   #1
henkelarsson12
LQ Newbie
 
Registered: Mar 2006
Posts: 8

Rep: Reputation: 0
Broken pipe


EDIT: oops, don't know waht I was thinking, meant title of this to be broken pipe, dont know why i put link

Hi, I just recently starting getting this error message anytime i update ports through #portsnap fetch update and sometimes when I compiling something through ports:
(#portsnap fetch update has always worked for me fine, and it still appears to work and updates ports but I see this error, I run FreeBSD-6.0 w/ the 6.1 prerelease kernel, I do not know if that may have to do w/ anything, I rebuilt world like one week ago, but I am not sure if the error started showing up right afterwards or just lately )

Code:
OLIVIER# portsnap fetch update
Looking up portsnap.FreeBSD.org mirrors... using portsnap2.FreeBSD.org
Fetching snapshot tag... done.
Fetching snapshot metadata... done.
Updating from Wed Apr  5 16:46:59 EDT 2006 to Wed Apr  5 21:26:10 EDT 2006.
Fetching 4 metadata patches... done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 63 patches.....10....20....30....40....50....60. done.
Applying patches... done.
Fetching 1 new ports or files... done.
sort: write failed: standard output: Broken pipe
sort: write error
Removing old files and directories... done.
Extracting new files:
/usr/ports/[ a ton of ports here, removed them since its a long list and I did not think it was important]
Building new INDEX files... done.
OLIVIER#
Has anyone had any similar problem or know what might be causing it?
Thanks in advance.

HLarsson

Last edited by henkelarsson12; 04-05-2006 at 11:48 PM.
 
Old 04-08-2006, 11:12 AM   #2
taylor_venable
Member
 
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

Rep: Reputation: 43
I'm not sure what is happening in this specific case (not familiar with portsnap; I use cvsup myself), but this may help:

Say you've got two processes A and B connected with a pipe like A===B. If I remember correctly, a pipe is actually implemented in the OS as a separate construct for connecting two byte streams. The pipe is only gone (leaves the OS) when both A and B close their connections. So if A closes its end, B still has access to the pipe. Suppose this happens, and B tries to write to (or read from) the pipe; there's nothing on the other end, so the OS has to send B a SIGPIPE to let it know that A isn't accessible anymore.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Broken pipe? Nubian Linux - Newbie 2 08-16-2005 08:56 AM
broken pipe in mozilla? cubfan425 Linux - Newbie 1 03-15-2004 09:06 AM
Broken pipe ? Red evil Linux - Software 1 01-16-2004 05:01 AM
Broken Pipe Cynthia Blue Linux - Newbie 0 12-30-2002 02:31 PM
ls - Broken pipe vcheah Linux - Software 2 10-30-2002 08:10 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 08:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration