delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/17/22:39:50

X-Spam-Check-By: sourceware.org
Message-ID: <20060518023929.65449.qmail@web31310.mail.mud.yahoo.com>
Date: Wed, 17 May 2006 19:39:29 -0700 (PDT)
From: "Bryan D. Thomas" <cinder_bdt AT yahoo DOT com>
Subject: "fork problem" debugging
To: 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

I'm taking the risk of conflating several different
issues into one.  On the other hand, this might be a
useful synthesis to help us bottom out on "fork
problems" so that we can turn a snapshot into a stable
release[1]?

I've been trying to figure out strace incantations.
Hopefully someone more wizardly can help?  Is strace
the best/only attack vector on this?

In [2] Torfinn Ottesen wrote:
> I find that my loops are OK until after about 80
> cases, each loop increases my memory usage by about
> 3.2 MB
> I am aware of the following information:
[3],[4],[5]
> I have strace but do not know what to do with it 

I wonder if some strace like [6] would help?

Perhaps someone could suggest a helpful "cheatsheet"
of
what we might want to focus on in strace output of
these processes?

If it would be helpful to run strace against the
processes in the weather.sh fork example[7]
, or in the nonsense testcase example[8]
...what should the command line be, and what would we
be looking for in output?

In [2], Larry Hall wrote:
> Sounds to me like the situation you found closely
> mirrors the behavior the MS KB article describes.
> I think it's worthwhile for you to experiment
> with the workaround proposed to see if it helps.
> It would be beneficial if you reported any results
> you saw back to this list.

Torfinn, any luck on SharedSection parameter tweaking
per the MS KB?

Regards,
Bryan

http://sourceware.org/ml/cygwin/
[1] 2006-05/msg00402.html
[2] 2006-05/msg00127.html
[3] 2006-04/msg00390.html
[4] 2005-09/msg00945.html
[5] http://support.microsoft.com/kb/824422
http://sourceware.org/ml/cygwin/
[6] 2006-05/msg00364.html
[7] 2006-04/msg00718.html
[8] 2006-05/msg00422.html

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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