Re: when is using cygserver recommended? (thx)

2006-04-10 Thread J. David Boyd
Christopher Faylor [EMAIL PROTECTED] writes:


 Just to state the obvious again: cygserver has nothing to do with fork
 -- superstitious assertions to the contrary not withstanding.

 cgf


From the CYGSERVER Readme:
--
What is Cygserver?

  Cygserver is a program which is designed to run as a background service.
  It provides Cygwin applications with services which require security
  arbitration or which need to persist while no other cygwin application
  is running.

  The implemented services so far are:

  - Control slave tty/pty handle dispersal from tty owner to other
processes without compromising the owner processes' security.
--

To me, this sounds like it controls the 'fork'ing of items, but I can't argue
(too much), as I don't know for certain.

Or, could it be that something we (us that have had the problem) call from our
.bashrc or .profile might be calling something that bounces off the cygserver
controlling mechanism?

Dave




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



RE: when is using cygserver recommended? (thx)

2006-04-10 Thread Dave Korn
On 10 April 2006 13:47, J. David Boyd wrote:

 Christopher Faylor cgf-no-personal-reply-please writes:

 To me, this sounds like it controls the 'fork'ing of items, but I can't
 argue (too much), as I don't know for certain.

  Then it's damn silly to argue (any at all) with someone who does know for
certain!


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: when is using cygserver recommended? (thx)

2006-04-10 Thread J. David Boyd
Dave Korn [EMAIL PROTECTED] writes:

 On 10 April 2006 13:47, J. David Boyd wrote:

 Christopher Faylor cgf-no-personal-reply-please writes:

 To me, this sounds like it controls the 'fork'ing of items, but I can't
 argue (too much), as I don't know for certain.

   Then it's damn silly to argue (any at all) with someone who does know for
 certain!



Hmm, too true.  I guess I'll stop!  Have a great day...

Dave


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



Re: when is using cygserver recommended? (thx)

2006-04-08 Thread Luis P Caamano
 -- Forwarded message --
 From: [EMAIL PROTECTED] (J. David Boyd)
 To: cygwin@cygwin.com
 Date: Fri, 07 Apr 2006 16:29:59 -0400
 Subject: Re: when is using cygserver recommended? (thx)
 Christopher Faylor [EMAIL PROTECTED] writes:

 
  In that case, my previous reply is even more pertinent; especially given
  that Igor mentioned that the problem has nothing to do with cygserver.
 
  cgf

 Strange then, that my 'fork' problem has now gone away, after adjusting my
 cygserver.conf file

 Dave


I don't know if it fixes it or not but I can tell you that I started
using cygserver perhaps a couple months ago and after changing that
variable, I've never seen the fork problem again.

However, I'm not completely sure but I think that the chain of events
was like this:

1- no fork problems

2- added cygserver for different reasons

3- got fork problems

4- edited cygserver.conf

5- no fork problems


Right now, although I understand that fork problem, I do not
understand its cause or why the cygserver.conf change fixed it.  I
think the reason I edited that file was because I got the impression
that using cygserver is what caused my fork problems.  It seems though
that people are getting the fork problems even when not using
cygserver.  I concluded that I needed to research cygserver a lot more
to understand what's going.  One day ...

One thing is certain, though.  I'm very glad I don't see the fork
problems anymore.

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



Re: when is using cygserver recommended? (thx)

2006-04-08 Thread Christopher Faylor
On Sat, Apr 08, 2006 at 01:25:13PM -0400, Luis P Caamano wrote:
 -- Forwarded message --
 From: (J. David Boyd)
 To: cygwin
 Date: Fri, 07 Apr 2006 16:29:59 -0400
 Subject: Re: when is using cygserver recommended? (thx)
 Christopher Faylor writes:

 
  In that case, my previous reply is even more pertinent; especially given
  that Igor mentioned that the problem has nothing to do with cygserver.

 Strange then, that my 'fork' problem has now gone away, after adjusting my
 cygserver.conf file

I don't know if it fixes it or not but I can tell you that I started
using cygserver perhaps a couple months ago and after changing that
variable, I've never seen the fork problem again.

However, I'm not completely sure but I think that the chain of events
was like this:

1- no fork problems

2- added cygserver for different reasons

3- got fork problems

4- edited cygserver.conf

5- no fork problems

Right now, although I understand that fork problem, I do not
understand its cause or why the cygserver.conf change fixed it.  I
think the reason I edited that file was because I got the impression
that using cygserver is what caused my fork problems.  It seems though
that people are getting the fork problems even when not using
cygserver.  I concluded that I needed to research cygserver a lot more
to understand what's going.  One day ...

One thing is certain, though.  I'm very glad I don't see the fork
problems anymore.

But, think of the chickens...

Just to state the obvious again: cygserver has nothing to do with fork
-- superstitious assertions to the contrary not withstanding.

cgf

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



Re: when is using cygserver recommended? (thx)

2006-04-07 Thread J. David Boyd
Christopher Faylor [EMAIL PROTECTED] writes:


 In that case, my previous reply is even more pertinent; especially given
 that Igor mentioned that the problem has nothing to do with cygserver.

 cgf

Strange then, that my 'fork' problem has now gone away, after adjusting my
cygserver.conf file

Dave


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



Re: when is using cygserver recommended? (thx)

2006-04-07 Thread Christopher Faylor
On Fri, Apr 07, 2006 at 04:29:59PM -0400, J. David Boyd wrote:
Christopher Faylor [EMAIL PROTECTED] writes:
In that case, my previous reply is even more pertinent; especially
given that Igor mentioned that the problem has nothing to do with
cygserver.

Strange then, that my 'fork' problem has now gone away, after adjusting
my cygserver.conf file

Yeah, it was either that or the chicken, I reckon.

Poor chicken...

cgf

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



Re: when is using cygserver recommended? (thx)

2006-04-06 Thread Tom Rodman
On Thu 4/6/06 13:46 EDT cgf wrote:
--snip
 I just read 
 
   /usr/share/doc/cygwin-doc-1.4/html/cygwin-ug-net/using-cygserver.html
 
 for the first time.  
 
 We mainly run fairly straight forward bash and perl scripts under
 cygwin, both at the commandline and through cron; some scripts use
 make, some use background processes and wait. 
 
 At what point does it make sense to start using the cygserver service?
 Some guidelines for nondeveloper types in this topic would be
 appreciated- I did check the FAQ.
 
 If you don't know if you need it, you don't need it.
 
 cgf

fair enough, thanks.  

My interest was only in reducing the chances of fork problem 
( http://cygwin.com/ml/cygwin/2006-04/msg00122.html ).

--
Tom

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



Re: when is using cygserver recommended? (thx)

2006-04-06 Thread Christopher Faylor
On Thu, Apr 06, 2006 at 02:51:34PM -0500, Tom Rodman wrote:
On Thu 4/6/06 13:46 EDT cgf wrote:
--snip
I just read

/usr/share/doc/cygwin-doc-1.4/html/cygwin-ug-net/using-cygserver.html

for the first time.

We mainly run fairly straight forward bash and perl scripts under
cygwin, both at the commandline and through cron; some scripts use
make, some use background processes and wait.

At what point does it make sense to start using the cygserver service?
Some guidelines for nondeveloper types in this topic would be
appreciated- I did check the FAQ.

If you don't know if you need it, you don't need it.

fair enough, thanks.

My interest was only in reducing the chances of fork problem (
http://cygwin.com/ml/cygwin/2006-04/msg00122.html ).

In that case, my previous reply is even more pertinent; especially given
that Igor mentioned that the problem has nothing to do with cygserver.

cgf

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