>> I looked there, but the only relevant thing I found concerning
>> multiple instances of Trac was to run all of the instances in one
>> python interpreter. But to tell the truth I didn't have enough time to
>> read modwsgi wiki in depth :(
>
> Huh, it actually talks about it being preferable to use daemon mode
> and run different Trac instances in their own process groups for
> various reasons. That is, the opposite of what you are talking about.

Sorry, I was trying to set up the Trac as fast as possible, because
other matters were more important at the moment :(.

> It is certainly a bad idea to to run multiple Trac instances in same
> interpreter where not the same code base, different versions of
> plugins, or dependent modules or where need distinct Python egg cache
> directories for projects. Also should be avoided if relying on
> os.environ for setting Trac location.

Only one thing is different among the configurations: a svn
repository. Probably that caused all the problems...

> The Python egg cache is a particular problem in your code as you
> change it on every request and that could screw up badly on a
> multithreaded configuration.
>
> So, that particular auto generated trac.wsgi from trac-admin is
> actually a bit dangerous. Normally one should not be setting Python
> egg cache directory like that. It should be set once only.

Thanks for pointing that out. I will try to adjust my configuration
accordingly. Maybe that info should be posted on
http://trac.edgewall.org/wiki/TracModWSGI too?

Do you think that bad performance could be caused by this egg cache
misconfiguration? As I told before - mod_python seems to work way
faster then mod_wsgi.

Best regards,
  Bartosz

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" 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/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to