On Tue, Jul 18, 2000 at 10:52:55PM -0700, Paul Sander wrote:
> Broken pipe signals occur when you have a pipe open for output, and the
> process at the other end of that pipe closes it before reading an end of
> file condition. This might be due to an explicit close, an early exit, or
> a normal exit upon reading a token from the pipe.
>
> Try looking for all the commit-related pipes and the processes they write to
> (including those spawned by *info files) and see what they're doing.
Thanks to your help and David Martin's <[EMAIL PROTECTED]> I think
I finally solved that problem and understand its nature (which in itself
is a great relief ;). Initially I had the following loginfo:
^auction (date; cat; (sleep 2; cd /usr/local/auction; cvs -q update -Pd;) &) >>
$CVSROOT/CVSROOT/updatelog 2>&1
^share (date; cat; (sleep 2; cd /home/ldm/www/share; cvs -q update -Pd;) &) >>
$CVSROOT/CVSROOT/updatelog 2>&1
ALL [[ %s == *.pm ]]; then sudo apachectl stop; sleep 2; sudo apachectl start; fi;
It seems the ALL entry was the culprit here: it didn't process the
standard input sent through it, it just ran a shell command. Thus the
"broken pipe".
Then I rewrote the ALL in this way:
ALL (cat; (if [[ %s == *.pm ]]; then sudo apachectl stop; sleep 2; sudo apachectl
start; fi;) &) > /dev/null 2>&1
... which takes care of processing the standard input (and throwing it
away) as well as putting the long running shell command in the
background to return immediately.
For now the "broken pipe signal" has went away.
Thanks, best regards,
> --- Forwarded mail from [EMAIL PROTECTED]
>
> I am at wit's end here. After re-installing CVS from scratch, rebuilding
> the repository from a fresh import, I still get this maddening error
> when committing:
>
> styx:/usr/local/auction% cca
> Checking in Project/index.md;
> /var/cvs/auction/Project/index.md,v <-- index.md
> new revision: 1.7; previous revision: 1.6
> done
> cvs [server aborted]: received broken pipe signal
>
> Our server is a Debian Linux machine updated to the latest tools.
>
> The crazy part is it happens 80% of the time, and not at all on another
> repository (same CVSROOT) on the same machine.
>
> What does this mean?
>
> --- End of forwarded message from [EMAIL PROTECTED]
>
>
--
Louis-David Mitterrand - [EMAIL PROTECTED] - http://www.apartia.fr
A meeting is an event at which the minutes are kept and the hours are
lost.