delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/06/22:35:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Frank Seide" <seide AT mac DOT com>
To: <cygwin AT cygwin DOT com>
Subject: lock down cygwin1.dl in memory to avoid paging in a network installation?
Date: Thu, 7 Feb 2002 11:34:29 +0800
Message-ID: <FE3A5416EBDD83408F14F09EBA56474402C4F2EC@bjs-msg-01.fareast.corp.microsoft.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.3416
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700

Hi,

does anyone have an idea how to force cygwin1.dll
to be loaded entirely and then locked down in physical
memory so that NT won't page it out?

In our compute server farm, to reduce maintainance overhead,
I installed Cygwin UNIX-like "in the network,"
i.e. the cygwin root (/) and everything below like
/bin, /etc etc is on an NT network drive.
With this I can "install" Cygwin on any computer by using a
single Cygwin-"mount" command, and all "installations" are
guaranteed to be identical, works well.

However, once the NT file server crashes or falls
into meditation or the network hangs for >~1 minute,
cygwin does not function anymore reliably.
Programs (running or newly started) sooner or later
crash with seg fault or STATUS_ACCESS_VIOLATION.
It seems the file handle to cygwin1.dll becomes invalid
due to a timeout, and subsequent requests for
paging in dll code fail.

The only way to recover is to terminate _all_ cygwin
processes which unloads cygwin1.dll. Our jobs often
run many days, and there are multiple cygwin jobs
on each multi-CPU server.

Anyone any idea?

Thanks!

Frank


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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