2009/8/9 rupert.thurner <[email protected]>:
>
> we noticed a frequent reload of the plugins on our trac installation,
> see 
> http://groups.google.com/group/trac-dev/browse_thread/thread/e3803f5c44789f98.
> what would be the easiest possibility to trac down which mod_wsgi
> process / thread is causing the reload, maybe put some id in a log
> file?

Apache/mod_wsgi will run in a multi process configuration. Are you
sure you aren't mistaking loading in distinct processes as being in
the same process? Read:

  http://code.google.com/p/modwsgi/wiki/ProcessesAndThreading

Also read:

  http://code.google.com/p/modwsgi/wiki/DebuggingTechniques

and set LogLevel to 'info' to get mod_wsgi to generate extra debug
information. This can be used to verify whether Trac being reloaded
because of process starts rather than something going on internal to
Trac. Also watch what logs say about application group, in case you
have used WSGIScriptAliasMatch in configuration and done so wrongly
with result in different URLs resulting in separate instances of Trac
being loaded. Send your Apache/mod_wsgi configuration so can verify
that you have just messed up the configuration.

Graham

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to