Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-Id: <4.3.1.2.20021010084243.026037d0@pop.rcn.com> X-Sender: lhall AT pop DOT rcn DOT com Date: Thu, 10 Oct 2002 08:51:23 -0400 To: Christophe Trophime , cygwin AT cygwin DOT com From: "Larry Hall (RFK Partners, Inc)" Subject: Re: conflict between cygrunsrv and fixing heap_chunk_in_mb in registry In-Reply-To: <1034231880.28640.5.camel@SNCI-PC3-15.grenoble.cnrs.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 02:38 AM 10/10/2002, Christophe Trophime wrote: >Recently I wanted to increase the program/data memory limit for cygwin. >As mentionned in http://cygwin.com/ml/cygwin/2002-09/msg00254.html I >have added a registry DWORD value in "HKCU/Sofware/Cygnus >Solutions/Cygwin" and restarted my computer. > >But I still get the 256 Mb limit. >After several trial I figured out that if I configured sshd to start >manually instead of automatic than I get the limit I have specified in >the registry. > >Is this a known issue? I guess I'd say it's not "unexpected". Since the setting is in HKCU and sshd is started under SYSTEM to work as a service, this value will be initialized to the default for SYSTEM, which isn't the same as the user you set it for in the registry. You can probably work around this by checking the archives and finding the references describing how to start a shell window as user SYSTEM. From that, you could use something like regtool to make the setting there. I haven't tried this but it looks like it should work. Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/