> This began with a simple, standard FreeBSD ports
> install, which I think was Apache/1.3.20, mod_perl
> 1.2.6 and perl 5.005_03.  I read some stuff about a
> memory leak in pre 5.005_04 perl,

If you have this from the Embperl docs, then 5.004_04 is meant (not
5.005_04), but installing 5.6.1 is ok anyway.

>
> The upgrades did not really help anything.  The memory
> climbs all day long from about 8M to 40M for each
> instance of apache.

If you have many Embperl pages/Perl modules then 40M per childs is ok. All
the Perl code is precompiled and held in memory, so the processes grow huge,
but when every page has been hit once and every Perl module is loaded in a
child, then the childs memory should not grow anymore. Because you have
preloaded Perl modules some of this memory is shared between childs.

> And the lockups still occur.

Since you are sure your database locking is correct, I would suspect the
session locking.

You could try to use the Null locker. If the lockups went away, we know it's
the session handling and we have to track this down further. If the lockups
still occur it has nothing to do with session handling and we have to search
another direction.

If it went already away by using mysql locker, you could try to increase the
number of semaphores Apache::Session uses by setting NSems=64 or even higher
in EMBPERL_SESSION_ARGS.

Gerald



-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



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

Reply via email to