Hi,
>
> I am using 1.3.6. and apache 1.3.27
>
> Wel it keeps getting bigger with one page. When I reload it or click
> through it it keeps growing.
>

Then there must be something inside the page, that grows.

> To ask a beginners question:
>
> if I make a silly script like this:
> ------
> [*
> open F,"</tmp/largetextfile.txt";
> while(<F>)
>     {
>     $data.=$_;
>     }
> close(<F>);

this should be

close F ;


> $counter=0;
> while ($data =~ s/image.jpg/$counter.jpg/)
>    {
>     $counter++;
>    }
> *]
> <html>
> <body>
> [+$data+]
> </body>
> </html>
> --------
>

Not sure if the close syntax error has memory side effects, but the rest of
the page is ok

> Do I need to empty the vars used

No, EMbperl does this for you

>or if every thing works okay this
> should not cause my apache process to grow all the time? (if this is
> the only page in the server)
>

Yes, it should not grow

>
> Than an other question
> I installed embperl a while ago, with storable and apache session and
> made the session database.
>
> What is the properway to cleanup the session database? Right now I
> just delete the content of the session table but this also deletes
> the sessions of the current users, which is a it rude.
>

You might add a datetime column and select on that what to delete. Search
the mailing listarchive, there should be some more ideas

Gerald


--------------------------------------------------------------
Gerald Richter     ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
--------------------------------------------------------------
|
|   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to