Date: Thu, 08 Jul 2004 17:53:18 +1200 From: Drew Broadley <drew@corrupt.co.nz> To: Andrew Nelson <andrew__nelson@hotmail.com> Cc: freebsd-perl@freebsd.org Subject: Re: 5.2.1 using heaps of memory for Perl Process Message-ID: <40ECE14E.2050905@corrupt.co.nz> In-Reply-To: <BAY18-F32queolj8Jec00019879@hotmail.com> References: <BAY18-F32queolj8Jec00019879@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Nelson wrote: > 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? Probably the best suggestion would be to rebuild perl. 5.1 -> 5.2.1 is a major step and if you are using other then 5.00x then it would probably be a MUST DO. Have you read /usr/src/UPDATING ? - Drew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40ECE14E.2050905>