From owner-freebsd-perl@FreeBSD.ORG Thu Jul 8 03:56:29 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D39216A4CE; Thu, 8 Jul 2004 03:56:29 +0000 (GMT) Received: from hotmail.com (bay18-f32.bay18.hotmail.com [65.54.187.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1039F43D2D; Thu, 8 Jul 2004 03:56:29 +0000 (GMT) (envelope-from andrew__nelson@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 7 Jul 2004 20:56:28 -0700 Received: from 203.12.22.34 by by18fd.bay18.hotmail.msn.com with HTTP; Thu, 08 Jul 2004 03:56:28 GMT X-Originating-IP: [203.12.22.34] X-Originating-Email: [andrew__nelson@hotmail.com] X-Sender: andrew__nelson@hotmail.com From: "Andrew Nelson" To: freebsd-current@freebsd.org, freebsd-perl@freebsd.org Date: Thu, 08 Jul 2004 13:56:28 +1000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 08 Jul 2004 03:56:28.0983 (UTC) FILETIME=[8C4FBC70:01C4649F] Subject: 5.2.1 using heaps of memory for Perl Process X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2004 03:56:29 -0000 Hi, I've just upgraded from 4.9 to 5.2.1 and have a perl script which runs for about 10 minutes roughly 20 times a day. Since the upgrade, the same process has started crashing with "Out of Memory".. It keeps building up, eating the swap then crashes. The swap partition is the same size on the old machine but I don't think it ever needed it.. (exactly the same hardware too). 'top' shows the process alternating between STATES: 'piperd', 'swread' and 'RUN'. All the process does is uncompress some data (using the system command to flow-tools) and inserts it into a MySQL database. it's the same version of perl (installed with default FreeBSD install). Can anyone suggest a fix? Thanks, Andrew. _________________________________________________________________ SEEK: Now with over 50,000 dream jobs! Click here: http://ninemsn.seek.com.au?hotmail