[SPAM] Re: [mod_python] mod_python and SOAP WebServices. The strangest bug I've seen in my entire life.

Colin Bean ccbean at gmail.com
Tue Mar 28 14:43:47 EST 2006


Oops, forgot to cc list.
Original discussion is below.

On 3/28/06, Colin Bean <ccbean at gmail.com> wrote:
>
>
>
> Thought that was the problem ;)
>
> Here's more info about module importing  (these have been posted many
> times before, they're a good place to start)
>
> http://www.dscpl.com.au/articles/modpython-002.html
> http://www.dscpl.com.au/articles/modpython-003.html
>
> You'll also want to take a look at the apache.import_module function in
> the mod_python documentation if you haven't already.  Using this will make
> mod_python automatically reload your modules as they change on disk.
>
> -Colin
>
>
> On 3/28/06, Tadeusz Andrzej Kadłubowski <yess at hell.org.pl> wrote:
>
> > Thus wrote Colin Bean:
> > > What platform / apache setup are you using?
> > > On a forked MPM, you'll have multiple interpreters, each with their
> > own copy
> > > of the code in memory.  It sounds like one of these is hanging on to
> > an old
> > > version of your code; since each request is handled by an arbitrary
> > > intepreter, this would explain the behavior that you're seeing (i.e.
> > one in
> > > every seven requests is handled by the 'bad' interpreter).
> > >
> > > Does restarting apache help the problem?
> >
> > Thanks for Your help.
> >
> > Sure it does help to restart apache. I have invented it on my own just a
> > moment
> > before. :)
> >
> > > This ties in to module importing / refreshing issues in mod_python,
> > which
> > > others on this list can explain better than I can.
> >
> > I don't know how and when mod_python decides it's time to reload a
> > module. I
> > would really appreciate further information / links to documentation.
> >
> > --
> > tadeusz andrzej kadłubowski
> > <przekaz podprogowy> kup mi iBooka </przekaz podprogowy>
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20060328/0c31c189/attachment.html


More information about the Mod_python mailing list