delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/06/11:58:56

X-Spam-Check-By: sourceware.org
Date: Thu, 6 Apr 2006 11:58:38 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "J. David Boyd" <david AT adboyd DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: fork problem [Attn: cygserver maintainer]
In-Reply-To: <m3sloqpxi9.fsf@adboyd.com>
Message-ID: <Pine.GSO.4.63.0604061106330.12523@access1.cims.nyu.edu>
References: <m3sloqpxi9 DOT fsf AT adboyd DOT com>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Thu, 6 Apr 2006, J. David Boyd wrote:

> "Luis P Caamano" <lcaamano AT XXXXX DOT XXX> 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, <http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  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/

- Raw text -


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