From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10171 invoked by alias); 18 Apr 2011 17:33:43 -0000 Received: (qmail 10076 invoked by uid 22791); 18 Apr 2011 17:33:42 -0000 X-SWARE-Spam-Status: No, hits=0.5 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.295.ca (HELO mail.295.ca) (208.85.220.65) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 18 Apr 2011 17:33:23 +0000 Received: from offload1.295.ca (offload1 [208.85.220.66]) by mail.295.ca (Postfix) with ESMTP id AE7CE28A8241 for ; Mon, 18 Apr 2011 13:33:22 -0400 (EDT) Received: from mail.295.ca ([208.85.220.65]) by offload1.295.ca (offload1.295.ca [208.85.220.66]) (amavisd-new, port 10024) with ESMTP id 1pT9cFIp3ByI for ; Mon, 18 Apr 2011 13:33:12 -0400 (EDT) Received: from [192.168.1.100] (unknown [208.83.215.196]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: icanprogram@295.ca) by mail.295.ca (Postfix) with ESMTP id 9D63028A8EDB for ; Mon, 18 Apr 2011 13:33:10 -0400 (EDT) From: bob 295 To: cygwin@cygwin.com Subject: Re: what does this cygserver error mean? Date: Mon, 18 Apr 2011 19:27:00 -0000 User-Agent: KMail/1.8.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201104181334.02386.icanprogram@295.ca> Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-04/txt/msg00251.txt.bz2 (I'm in digest mode on this list so I can't thread my response easily.) The cygserver is setup to run as a Windows service. As far as I can tell the cygserver is running when the error occurs. What isn't clear from your response is what causes the named pipe to cygserver to get created? What tears it down? In my test the sequence of each Send/Receive/Reply message pass involves these steps: 1) the sender creates the shared memory and then attaches to for the purpose of writing a message. 2) The receiver gets passed the shmid (via a named pipe) and attaches for the purpose of reading the message. 3) The receiver will respond by writing into same shared memory area upon which it will detach. I have a script which is repeatedly sending a 1k message (up to 10 times). The error isn't consistently happening but when it does it appears to happen on the first message pass. Thanks again in advance for all your help. bob on Apr 15 14:53, bob 295 wrote: > I'm getting this error associated with shared memory and cygserver (sender is > the name of my process setting and loading the shared memory): > > ======== begin error snip ======== > 3 [main] sender 3684 transport_layer_pipes::connect: lost connection to > cygserver, error = 2 > ======== end error snip ========= > > Could someone point me to a place where this error is described? Thanks. error = 2 is the Win32 error ERROR_FILE_NOT_FOUND returned by the CreateFile or WaitNamedPipe function when trying to connect to cygserver via a named pipe. Either Cygserver isn't running or it reached the maximum number of parallel client connections. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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