From owner-freebsd-questions Thu Apr 8 12:44:45 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 51C1714F96 for ; Thu, 8 Apr 1999 12:44:40 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id MAA02987; Thu, 8 Apr 1999 12:42:34 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Thu, 8 Apr 1999 12:42:33 -0700 (PDT) From: Doug White To: "Stephen C. Comoletti" Cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: Problems with perl script dying before completion In-Reply-To: <370CFF8A.16257A6C@delanet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 8 Apr 1999, Stephen C. Comoletti wrote: > I'm having a problem with a customers perl script dying before completion. > The script searches a text based list of data based on criteria from users of > the site and outputs it to them. Output ranges from 5 to 1k lines of text. It > works fine on the smaller queries, and dies mid way through on the ones with a > larger output. > > Web server is a p2/300 with 192mb ram, uw-scsi2, and FreeBSD 3.0r. Zeus is > the web server software. I have contacted Zeus who had little to offer in > this. The problem appears to only affect dialup connections to this site. Over > the lan at work it does not occur. Web logs show no error, only a code 200 for > a successful completion. Reloading the page will cause it to finish the run on > the same query completely. I'm somewhat at a loss on this one. The script runs > in under 20-30 seconds. Only changes to the server since this began were the > additions of 3 domains (largest of which pulls in 200k hits daily). The > machine still runs 90% idle (except when alot of cgi is running). Scaffold your script and see if some command is dying. This appears to be a Perl problem, not a system problem. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message