From owner-freebsd-isp Thu Jun 10 12:49:15 1999 Delivered-To: freebsd-isp@freebsd.org Received: from loki.intrepid.net (intrepid.net [204.71.127.3]) by hub.freebsd.org (Postfix) with ESMTP id DD02214E6A for ; Thu, 10 Jun 1999 12:49:12 -0700 (PDT) (envelope-from mark@loki.intrepid.net) Received: (from mark@localhost) by loki.intrepid.net (8.8.5/8.8.5) id PAA18031; Thu, 10 Jun 1999 15:48:55 -0400 Message-ID: <19990610154855.K26725@intrepid.net> Date: Thu, 10 Jun 1999 15:48:55 -0400 From: Mark Conway Wirt To: Joe Nall Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Forking Problem w/ Perl, FBSD 3.1 References: <19990609134358.J26725@intrepid.net> <375EAFBD.62EC48F@nall.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 In-Reply-To: <375EAFBD.62EC48F@nall.com>; from Joe Nall on Wed, Jun 09, 1999 at 01:17:33PM -0500 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Jun 09, 1999 at 01:17:33PM -0500, Joe Nall wrote: > > There is no chmod in your code snippet. Do you mean the chown? > Are you sure the script doesn't launch anything asynchronous? > Check the status returns on all of the calls. > Is the filesystem NFS mounted? > > I have seen behavior like this on broken (non FreeBSD) NFS > implementations, but not lately. Haven't really found anything, but I've noticed that the code that the first system() call calls exits with a _exit(0); not an exit(0); from looking at _exit(2) and exit(3) man pages, don't know if that would cause the code to exit before the file descriptors are closed, but I've changed it to an exit just to see... --mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message