X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=jHuBC4VPnKIjheio 5lFa4Cln0yP20EOsB2MTB/OIQ+0rBo4zTzq4RPiz4BiFX0RD04hxLIMEsVtftLu5 Vlnu4QC+Cvs15YeP1Ocd1E3b4D5M5D5HYg0QOpYxE9+160Y/lL8OqYd2jbkGleTT DDYVZqB/62iOLE/KBaHo0q/YGJc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=PT1yPVzt1J/wHmhgrAStuy tjvQQ=; b=Xu3+cCoOVlWAU5GcAdad/9RWunIcHeDdqmM17kPerpZE11c03m4DBJ GiTYnqHxbhlLhR7ZmJLLa0WZMxWKX6zny8FbEBO5cubCub87xa6o3WvKP1R5RYtM vG6v2pA1a/iqf2iTV2Cukj9yWe9yAmRQEjoeFFhjx9Jm8y7HtptQU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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) Subject: Re: Cygwin 1.7-58 with windows 2008 To: cygwin AT cygwin DOT com References: From: Marco Atzeri Message-ID: <56CC6626.3070606@gmail.com> Date: Tue, 23 Feb 2016 15:01:10 +0100 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 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