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

X-Spam-Check-By: sourceware.org
Message-ID: <c56e219d0604060710v3a27d782t2a434aba9a474bdc@mail.gmail.com>
Date: Thu, 6 Apr 2006 10:10:46 -0400
From: "Luis P Caamano" <lcaamano AT gmail DOT com>
To: david AT adboyd DOT com
Subject: Re: fork problem
Cc: cygwin AT cygwin DOT com
MIME-Version: 1.0
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k36EAsWs012797

On 6 Apr 2006 03:44:22 -0000, cygwin-digest-help AT cygwin DOT com
<cygwin-digest-help AT cygwin DOT com> wrote:
>

> fork problem
>         120469 by: david AT adboyd DOT com (J. David Boyd)

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

I also set the CYGWIN var like this:

$ echo $CYGWIN
server ntsec

I believe I set that variable in the Windows XP environment, that is,
System Properties dialog, Advance Tab, Environment Variables button. 
Let me check ... yes, I did.

I don't remember how to set up cygserver to start as a service but the
doc was very clear.  You, of course, need cygrunsrv to run cygserver.

Here's the output of ps -ef:

$ ps -ef
     UID     PID    PPID TTY     STIME COMMAND
  SYSTEM    1276       1   ?  00:54:28 /usr/bin/cygrunsrv
  SYSTEM    1380    1276   ?  00:54:29 /usr/sbin/cygserver
  SYSTEM     632       1   ?  00:54:38 /usr/bin/cygrunsrv
  SYSTEM    1820     632   ?  00:54:38 /usr/sbin/syslog-ng
  SYSTEM     180       1   ?  00:54:39 /usr/bin/cygrunsrv
  SYSTEM     340     180   ?  00:54:39 /usr/sbin/sshd
     lpc    3608       1 con  09:12:47 /usr/X11R6/bin/XWin
     lpc    1016       1 con  09:12:52 /usr/bin/xterm
     lpc    2308    1016   0  09:12:53 /usr/bin/bash
     lpc     516       1   ?  09:12:58 /usr/bin/ssh-agent
     lpc    2536    3608   ?  09:14:07 /usr/bin/xterm
     lpc    2580    2536   1  09:14:08 /usr/bin/ssh
     lpc    2064    3608   ?  09:55:23 /usr/bin/xterm
     lpc    3520    2064   2  09:55:23 /usr/bin/bash
     lpc    2692       1   ?  10:04:22 /usr/bin/gvim
     lpc     332    3520   2  10:07:49 /usr/bin/ps


Hope that helps,



--
Luis P Caamano
Atlanta, GA USA

--
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