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=TigMAEWAhivijnHg wOAHIFUGmVXePCxHsf+PhG2cwXWISj7amCgOgtdIz/+6pU7CSyzIfaWe0Dx2chwb S4BUr/rQC52Qt3iGo8Xj2G+S3HGd76Xod96wjOLCAS2KXZeOIMM4Okx/eAaB/Ubw 0iNs/5gcVNWg+vkNaxL3O491Z0w= 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=0V5yvFYitD1AOkdFN3TmvK YgHJs=; b=HhUofBIJacV8c7jGlUxgIlQp3ShKuVntUammcK8+vo1VWdM7pAea8Z k6iHJseozs4mgp5cwAM8qmNV96IBFNF/2YN82U4isD4VRTDCimZt+s5AT9N7US+x rIa0/TiOT8AE7uy4zVLc+pQFh+BrSMsr3syMIpL/Hht432rVKemfU= 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.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f169.google.com X-Received: by 10.194.175.232 with SMTP id cd8mr12248302wjc.45.1443262465610; Sat, 26 Sep 2015 03:14:25 -0700 (PDT) Subject: Re: gawk: Bad File Descriptor error with concurrent readonly access to a network file To: cygwin AT cygwin DOT com References: From: Marco Atzeri Message-ID: <56066FF9.2070107@gmail.com> Date: Sat, 26 Sep 2015 12:14:17 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.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 26/09/2015 12:00, Vermessung AVT - Wolfgang Rieger wrote: > On Fri, 25 Sep 2015 18:58:57 +0200, Marco Atzeri wrote: >>> Can you provide the type of network disk with >>> /usr/lib/csih/getVolInfo > I am sorry, I have a very small installation of Cygwin running with no getVolInfo. In which package can I find that? We have MS Windows Server 2008 that provides network shares. > It is part of the tiny "csih" package > Again I want to stress: Running the jobs in single thread we never experienced any such problems at all. Only with several jobs running in parallel (the same batch job is started in several cmd-shell windows independently) we have these errors. The reason is obviously when by chance two processes try to access the same file at the same time which happens not often, but it happens. I assume access to local files is better synchronized by the CPU, whereas at the server there may arise these conflicts. > > The major question is, what is the underlying access problem within Cygwin? As mentioned, the MS programs (e. g. copy) never show a similar problem. I suspect you need to wait that Corinna is back. She wrote most of the stuff and workaround in that area. > Thanks for your help, > Wolfgang -- 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