That got it. I cannot thank you enough. The sites are smokin' now.

Recap for interested parties:
        * Solaris 2.7
        * mod_perl 1.21

Observed bugs:

        * occassional httpd processes stop responding
        * they stay in 'run' state (via 'top')
        * only print 'brk(...)' on occasion via 'truss'
        * utilyze all available CPU
        * continuously allocate more mem into heap (/usr/proc/bin/pmap)

Cause (Please correct me if this is not correct):

        * AUTOLOADing of Apache::Constants::OPT_EXECCGI() can cause this to occur

Fix:

        Preload Apache::Constants::OPT_EXECCGI() in either PerlRequire'd file or 
<Perl> section
        (Thanks to Chris Remshaw for coming up with it and to Doug MacEachern for 
pointing it out to me)

Lessons (re)?learned:

* gdb and debugging versions are your friend
* Check the CVS tree for fixes and reports - who know, you might actually find 
the answer
* You definately find better products in the bazaar than in the cathedral

- Tony

In message <[EMAIL PROTECTED]>, Doug MacEac
hern writes:
>> (gdb) perl_get_sv("Apache::Constants::AUTOLOAD")
>> Apache::Constants::OPT_EXECCGI
>
>what I was about to suggest trying is already in the modperl cvs Changes:
> preload Apache::Constants::OPT_EXECCGI() for Apache::{Registry,PerlRun}
> thanks to Chris Remshaw for spotting this w/ Apache::DProf
>
>so try the cvs snapshot, or in a PerlRequire file, preload it like so:
>
>Apache::Constants::OPT_EXECCGI();
>
>

Reply via email to