You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2007/03/20 16:54:19 UTC

[Bug 5383] compile_now() doesn't pre-load all necessary Perl modules

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5383


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|Undefined                   |3.2.0




------- Additional Comments From jm@jmason.org  2007-03-20 08:54 -------
> For every version of SA since the early 2.x, for amavisd-new I'm manually
> preparing a list of missing modules and keeping it in the amavisd program,
> which then preloads the remaining missing modules in a master process.
> This hacking approach if getting unsightly long, and can't cope
> cleanly with future versions of SA.

definitely better if we do that.

> I'm proposing that the compile_now is enhanced to pre-load ALL the
> required Perl modules, at least the ones directly needed by SA for
> its current set of loaded plugins and selected bayes store etc.,
> or some alternative API call be provided which can be invoked by
> a master process just before forking. Certainy SA is in a better
> position to know which plugins are being loaded, what is its
> current bayes db backend, and what are its other components that
> are not exercised by a sample message evaluated by compile_now.
> 
> I thing the SA 3.2 jump is a perfect place in time to introduce
> this enhancement :)

you left it a bit late ;)  let's give it a try and see if it doesn't
introduce any issues.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.