egrenes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 02, 2002 6:45 AM
To: Jonathan E. Paton; [EMAIL PROTECTED]
Subject: Re: SybPerl - Memory leaks
The same thing happens when I comment out the checks.
The script uses more memory when I connect to the database:
$dbh = new Sybase::DBlib $us
ED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 02, 2002 12:31 PM
Subject: Re: SybPerl - Memory leaks
> > The script is not smallish, but the main loop looks like this:
> >
> > {
> > # Connecting
> > $dbh = new Sybase::DBlib $userid, $password, $host;
> The script is not smallish, but the main loop looks like this:
>
> {
> # Connecting
> $dbh = new Sybase::DBlib $userid, $password, $host;
> $dbh->dbuse($database);
>
> # Checking
> checkProsesses();
> checkSegmentStatus();
> getMonitor();
>
> # Disconnecting
>
Rune
- Original Message -
From: "Jonathan E. Paton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 02, 2002 12:15 PM
Subject: Re: SybPerl - Memory leaks
> > I've created a script that is checking the status of an ASE-server.
> I've created a script that is checking the status of an ASE-server.
> It's running in an infinitive loop:
>
> 1. Connect to the database
> 2. Doing some checks...
> 3. Disconnecting from the db
> 4. Sleeping for avile
> 5.
>
> I found that the perl prosess is using about 4
Hi
I've created a script that is checking the status of an ASE-server. It's running in an
infinitive loop:
1. Connect to the database
2. Doing som checks...
3. Disconnecting from the db
4. Sleeping for avile
5.
I found that the perl prosess is using about 4k more memory fo