fork problem [Attn: cygserver maintainer]

Igor Peshansky pechtcha@cs.nyu.edu
Thu Apr 6 16:10:00 GMT 2006


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

> "Luis P Caamano" <lcaamano@XXXXX.XXX> writes:
>
> > On 6 Apr 2006 03:44:22 -0000, cygwin-digest-help@XXXXXX.XXX wrote:
> >
> >> fork problem
> >>         120469 by: david@XXXXXX.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@cs.nyu.edu | igor@watson.ibm.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/



More information about the Cygwin mailing list