From owner-freebsd-questions Wed Jun 3 01:17:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA26673 for freebsd-questions-outgoing; Wed, 3 Jun 1998 01:17:51 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from teresa.strip.net.nz (teresa.strip.net.nz [203.96.128.77]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA26639 for ; Wed, 3 Jun 1998 01:17:41 -0700 (PDT) (envelope-from wheely@thevortex.com) Received: from nicole.wheely.dyn.ml.org (dialin130.strip.net.nz [203.96.135.130]) by teresa.strip.net.nz (8.8.5/8.8.5) with SMTP id UAA19965 for ; Wed, 3 Jun 1998 20:11:41 +1200 (NZST) Message-Id: <199806030811.UAA19965@teresa.strip.net.nz> X-Sender: wheely@pop3.strip.net.nz (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Wed, 03 Jun 1998 20:17:52 +1200 To: freebsd-questions@FreeBSD.ORG From: wheely Subject: Terminate signal Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG When I "halt" the system naturally it sends the terminate signal to all processes. My users and I run a program that writes several files when it receives the terminate signal before terminating. My problem is that because I have such a slow IDE disk and several instances of the program are running, the time inbetween the signal and the actual termination is not enough for the writing process to finish. The writing process consists of writing 3 files per program under temporary filenames (so if the quota is full it does not erase the current file) then moving it to its final name. Sometimes the files write ok and the moving does not occur, sometimes an empty file is written. I do not have a problem with the program on a system with a desent SCSI disk. My question is, is there a setting where I can increase the length of time between the terminate signal and the termination? If not has anyone got any ideas on workarounds? I'm using 2.2.5-RELEASE currently. Thanks wheely To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message