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:to:in-reply-to:from:subject:message-id:date :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=cD2dQ1rz84NNAAjgyyo88v4P7jTKJ1FbUuAltuu+m3Zc04zJXVkfW Th7dJuCfLvd/gSAW9MN2N6LrQgmYNOkpi9eXy4ZpF89NwOBrlddWVYstnWNCh/OI evCmTzmD0AXr4FYhMhPHHqlMKTg5PtK6o24tazLiH8EnnnLizXHC+Y= 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:to:in-reply-to:from:subject:message-id:date :mime-version:content-type:content-transfer-encoding; s=default; bh=mx0BbnFqPK1kx8QAk3VB0eZzsPQ=; b=nG3LIiJe/P8QocvplAiHfsulzPCq Kb46hg/tq8HdtbELLckZ46B7fl5F8gn9aYJy7Lui/6NAx5yzZZkxm9W6res44B1f CkzI2ix1rtLiPZpfk60nCxrpYJXxsnsLPCiYxszW8WJiAD02VuWegb+OHsrjqw/p lh7oBSe3qIB33RI= 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.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mout.gmx.com To: cygwin AT cygwin DOT com In-Reply-To: <560431B5.5040203@null.net> From: litter AT null DOT net Subject: Solved Re: Bash / cygwin process spawning (?) performance very slow Message-ID: <5604651E.7070106@null.net> Date: Thu, 24 Sep 2015 23:03:26 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-UI-Out-Filterresults: notjunk:1;V01:K0:NZMxrcIcwMI=:OlSWVkOw6k7IO2KWM34ZPG iW/8uSdsx5D90fcf2AGnHcNLVP5jOVZlCtiS1ZQhXFfNxpPM8HvTcaSSouE0hhR4SH+FEtIvc 1f6yIMiGZKrhGhTfOKQHouUhLUKJfZWqGqZiTy1fCd3KmV5oHECNX+n0xGJX76ga3ppmG5/4C bTsqfgd1Bej3eajx8m+skQa5dNKmSd6nZkv3Jm+1Bq2Sahp2Tfy7i/SuAUOEkYmZlE6djjfHG /Q/hkRJ4rYlsQWMNezyXdeLXZN96KmrT5Mwbk6oBQD++fGwH0YhvdJ3h3/TKB/W89C2hTppi7 Ne76fO9GGuXibf7Fm7d0uU1XOkoXUG9qeztPBkSbO01U7Yz8XdWVLdwb5DdDAz+favejHb6c/ A6edQOFwVJwetdA2KIrUt9gZ07QRJ3P7awkWqMcApQQ4qZkukbkxodYRxymhQItbyfBE92fDi lz9rBwnC34q3WL7hKrF6VNdR0/E52EZqOZWdeKpQ6FHIq5q3W1KWs+hNbwCUzJj2C5Le3+CCS 1pKUvxr7tbJlwfyFazNX3QJnudYNCF5x6Wz7WrQfQha/E24td2kcWlqGdiGOepOnnhVAXHdQw v7t0rsO2xBAJs343x5VYm0vdB2cQxiqfH01hOTYEOyfxp7vEyQjmLM7mMLdwe8Siz2uZhahZ3 6MLiYuAoRx2iZhuNLONzNRVkke5xtm2AJyNlUrYRhlAAfGQyh+pBNNF5AIQ6sPDOaovD6I0KN nkypHQtyulK2ZZD5dU+3hOMq9l5WLCjzl8t2hQ== > turns out that Comodo Firewall (Free version) loads a DLL in each process that is the cause of the delay. > Although I only use the Firewall, and do not use any "AntiVirus" features, still it causes delay during startup of a process. > > However, after disabling it -- which did speed up process spawning in Bash -- I encountered the other problem I already had much more often. > For now I consider the issue of slow spawning to be solved > (although it would have been nice if there was an easier way to diagnose it, maybe with tracing?) After some more experimenting, and reading on Comodo issues in combination with Chrome, I found the following solution: Add the cygwin installation folder to Comodo's 'Detect Shellcode Injections Exclusions' setting. This will lead to an immediate drop in 'spawn' times to more acceptable levels. Somehow 'Detect Shellcode Injections' is active, even when HIPS is disabled. Paul -- 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