Re: 5.2.1 using heaps of memory for Perl Process

From: Drew Broadley <drew_at_corrupt.co.nz>
Date: Thu, 08 Jul 2004 17:53:18 +1200
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
Received on Thu Jul 08 2004 - 03:54:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:00 UTC