delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/12/19:11:19

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <43260C2E.8010707@ateb.com>
Date: Mon, 12 Sep 2005 19:15:58 -0400
From: Reid Thompson <reid DOT thompson AT ateb DOT com>
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
MIME-Version: 1.0
To: "Hommersom, Fred" <fhommers AT ugs DOT com>
Cc: cygwin AT cygwin DOT com
Subject: Re: Bash login breaks if too many environment variables are set
References: <67B13185D126644BA1AC929BE1F942AD748A1B AT dekomplm001 DOT net DOT plm DOT eds DOT com>
In-Reply-To: <67B13185D126644BA1AC929BE1F942AD748A1B@dekomplm001.net.plm.eds.com>
X-IsSubscribed: yes

Hommersom, Fred wrote:

>My startup of cygwin is a .bat file with contents
> 
>call bigsetup.bat
>set HOME=C:\Data\locations\tc50_custy00
>c:\cygwin\bin\bash --login -i
> 
>The file bigsetup.bat contains a huge amount environment variables.
>For a medium number (~ 600) everything works fine
>For a larger number the output is:
>bash: /usr/bin/id: Resource temporarily unavailable
>bash: /bin/find: Resource temporarily unavailable
>bash: /usr/bin/sort: Resource temporarily unavailable
>bash: /usr/bin/tr: Resource temporarily unavailable
>bash: /usr/bin/uname: Resource temporarily unavailable
>bash: /usr/bin/id: Resource temporarily unavailable
> 
> 
>and for more variables no error messages show up but the HOME directory
>is not correctly set.
> 
>What is the underlying cause of this behavior? Is it possible to tune
>bash or cygwin to cope with this large number of variables?
>Thanks
>Fred
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Problem reports:       http://cygwin.com/problems.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/
>
>  
>
i would think that you should declare your env variables in either your 
.bashrc or your .bash_profile rather than in a .bat file.  It may solve 
your problem.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019