From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47547 invoked by alias); 23 Feb 2016 14:01:28 -0000 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 Received: (qmail 47528 invoked by uid 89); 23 Feb 2016 14:01:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=sbin, replicate, terminators, H*i:sk:CAPCR6Q X-HELO: mail-wm0-f52.google.com Received: from mail-wm0-f52.google.com (HELO mail-wm0-f52.google.com) (74.125.82.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 23 Feb 2016 14:01:25 +0000 Received: by mail-wm0-f52.google.com with SMTP id a4so210359788wme.1 for ; Tue, 23 Feb 2016 06:01:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=fGtQrN4LwIzj/PB4StsDUU66m7v3sDONNCwpBQzgJdk=; b=T6NA2sgYmFHES1VQbfR/3WCk03Ul75sF32s1WI23i4ocuHB2VpRs2OY3xWeayjjZq2 0EyIIfdInqWtV8FHl2JI7++tknKXpqM9DRf4g4i1QDusjyOTOo3oGE0913dYFos8a0qi 2LV2q9e9VgkcyhD/NeSpvXU9OU32SqxbZTHywZtxOK3CzcUPel/lFlpjMh6kZWvvdEgi ZcIM5dE6YF3UBD2Y9/9pgjIJNd3lQlDRqoK3EztiHPnxbPh7GblIqkibUmJYzZRd5HsB cwknV/NI3Qc+iXfwdoIintQR1S3e9H+VCdP3RY2xDK5/wpWRNrOvVWuuXc8qS3mChSE5 OJ3Q== X-Gm-Message-State: AG10YORopEi+5k8rxIPNZ+JZmxbU/DgI8t3FP6tpZx9e66vn61/kJ7/Lo5qxyEH930WC1w== X-Received: by 10.28.109.150 with SMTP id b22mr19901980wmi.27.1456236082841; Tue, 23 Feb 2016 06:01:22 -0800 (PST) Received: from [172.21.188.188] ([149.6.156.42]) by smtp.googlemail.com with ESMTPSA id 198sm26521474wml.22.2016.02.23.06.01.21 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 23 Feb 2016 06:01:22 -0800 (PST) Subject: Re: Cygwin 1.7-58 with windows 2008 To: cygwin@cygwin.com References: From: Marco Atzeri Message-ID: <56CC6626.3070606@gmail.com> Date: Tue, 23 Feb 2016 14:01:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-02/txt/msg00364.txt.bz2 On 23/02/2016 04:34, Rashi Singhal wrote: > Hi , > > We have call to "msgsnd" function that fails after processing 3 to 4 messages. > > We tried both Block and NO Block mechanism (IPC_NOWAIT) > > Also we changes configuration of cygserver.conf .This increases > message processing to 8-10 messages.But fails after that. > > Attached is cygserver.conf file for reference: > I don't know if that is relevant , but please note that the file is with "with CRLF line terminators" I tested cygserver with msgtool from cygutils-extra package with: a=0 ; while [ $? -eq 0 ] ; do a=$[$a+1] ; echo $a ; msgtool s $a "This is test" ; done a=0 ; while [ $? -eq 0 ] ; do a=$[$a+1] ; echo $a ; msgtool r $a ; done The system default accepts up to 40 messages so it seems strange that it fails on 8-10 messages or less on your system. I suggest you to look on output of /usr/sbin/cygserver.exe -d for hints on why is not working for your application. Until you provide us a simple test case that we can replicate, I doubt we can understand or solve the issue you meet. Regards Marco -- 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