This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Intermittent pipe creation failures of commands within bash.exe and sh.exe script run


 
Recently installed 1.7.3 onto Windows Server 2008 R2 - 64 bit (clean
install but have prior experience of 1.5 running on Windows Server
2003)

Have many scripts which previously worked fine on 1.5

I have noticed frequent unpredictable failures of the form:

  ......  *** fatal error - couldn't create signal pipe, Win32 error 1

The problems seems to be more prevalent when the server is under load
but the point at which the failure seems completely random. As a
precaution I upped the default heap size (using the recommended
regtool) to 2048Mb but this seems to have made no difference. The
problems doe not appear to be repeatble and so it is difficult
pinpoint where the problem might lay. The server has 4 CPUs and 4Gb
memory assigned to it (it is Vmware Virtual Machine - although this
should not have any bearing?)

Help?

Extract of script runs with debug lines (I ran the scripts with -x to
get maximum info)...
(They all occured within  the day)

--------

Example 1:

+ rm -f /tmp/error_3380.txt

18 [sig] sh 8628 C:\cygwin\bin\sh.exe: *** fatal error - couldn't
create signal pipe, Win32 error 1

/cygdrive/c/Scripts/dprunpostbackupcopy.sh: line 80: 8628 Hangup rm -f
/tmp/error_$$.txt

---------

Example 2:

++ grep 'Unknown internal error' /tmp/error_3448.txt

7 [sig] grep 10900 C:\cygwin\bin\grep.exe: *** fatal error - couldn't
create signal pipe, Win32 error 1

+ '[' -n '' ']'

+ check_error

--------------

+ case "$FSTYPE" in

104 [sig] sh 8896 C:\cygwin\bin\sh.exe: *** fatal error - couldn't
create signal pipe, Win32 error 1

++ awk '-F'\''' '{print $2}'

----------------------

++ awk -v 'DEVICE="BR-TL-1-DR-3"' '$2==DEVICE&&$(NF-1)=="LOCKNAME"
{print $NF}' /tmp/dplsdevices_5632.txt

5 [sig] gawk 4648 C:\cygwin\bin\gawk.exe: *** fatal error - couldn't
create signal pipe, Win32 error 1

++ sed 's|"||g'

---------

++ sed 's| ||'

7 [sig] sed 1644 C:\cygwin\bin\sed.exe: *** fatal error - couldn't
create signal pipe, Win32 error 1

+++ date +%e

-------

++ awk '-F"' '/^DEVICE / {print $2}'

23 [sig] tr 5892 C:\cygwin\bin\tr.exe: *** fatal error - couldn't
create signal pipe, Win32 error 1

+ cat

-----

As you can see the problem appears to be fundamental piping problem
that can srtike anywhere.

Any assistance you can give will be much appreciated.

Leon.

=================================================
Email has been scanned for spam and viruses by Altman Technologies' email management service
The LSBU communications disclaimer can be found at  http://www.lsbu.ac.uk/ict/legal/

Attachment: cygcheck.out
Description: cygcheck.out

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]