X-Spam-Check-By: sourceware.org Date: Thu, 6 Apr 2006 11:58:38 -0400 (EDT) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: "J. David Boyd" cc: cygwin AT cygwin DOT com Subject: Re: fork problem [Attn: cygserver maintainer] In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 On Thu, 6 Apr 2006, J. David Boyd wrote: > "Luis P Caamano" writes: > > > On 6 Apr 2006 03:44:22 -0000, cygwin-digest-help AT XXXXXX DOT XXX wrote: > > > >> fork problem > >> 120469 by: david AT XXXXXX DOT XXX (J. David Boyd) Again, . Let's stop this spamfest. Thanks. > > I started using cygserver and edited its config file to use 310 procs > > instead of 62. In /etc/cygserver.conf, I edited the following: > > > > # kern.srv.process_cache_size: No. of concurrent processes which can be handled > > # by Cygserver concurrently. > > # Default: 62, Min: 1, Max: 310, command line option -p, --process-cache > > kern.srv.process_cache_size 310 > > > > Hmm, that is not an available option in my etc/cygserver.conf. > > Strange, no? I'm running the latest version of everything. Yeah, I got caught off-guard by this at first as well. Usually, if the config file in /etc doesn't exist, there is a postinstall script that copies the default version in /etc/defaults/etc/ into /etc. There is also a mechanism for removing the config file on update if it's identical to the default config file. Apparently, cygserver isn't using this mechanism. I've no idea how /etc/cygserver.conf gets created. However, copying /etc/defaults/etc/cygserver.conf to /etc/cygserver.conf should get you the latest version. Corinna, how is cygserver.conf end up in /etc? Could we add a postinstall (and preremove) script for the cygwin package that would take care of copying/replacing /etc/cygserver.conf? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte." "But no -- you are no fool; you call yourself a fool, there's proof enough in that!" -- Rostand, "Cyrano de Bergerac" -- 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/