On Friday, December 2, 2016 at 2:54:01 PM UTC-8, Tomasz Brzezina wrote: > > I have a problem with envirnoment startups during working on trac, I can > see it in debug.file. Previously i thought, that this is XMLRPCPlugin > connected problem > > https://trac-hacks.org/ticket/12977, but when I uninstall plugin, problem > persists (less but still). > > I can reproduce it but not everytime. If I go through the webpage > sometimes I see environment startup in log. Of course this leads to > performance degradation. (instead of 0.2 ms web page loads in 1300ms). This > isn't connected to exact link, I can refresh link 40 times without startup, > but after few seconds of doing nothing next refresh produces envirnonment > startup. > > rjollos said, that environment startup should be done only after apache > restart, so i've got a problem ;D > > My trac installation is debian style - apt-get install trac - and I use > apache2 with mod_wsgi with multiple tracs, first Alias is a result of > finding of solution, TRAC1 is the instalation I focused. If I solve one, I > think I could solve others ;D > > Alias /trac/TRAC1/chrome /var/www/html/trac1/trac/htdocs/ > WSGIDaemonProcess trac > WSGIScriptAlias /trac /var/lib/trac/apache/trac.wsgi > <Directory /var/lib/trac/apache> > WSGIApplicationGroup %{GLOBAL} > Require all granted > </Directory> > <Location ~ "/(trac|svn)/TRAC1/login"> > AuthUserFile /etc/apache2/users.trac1 > Require valid-user > </Location> > <Location ~ "/(trac|svn)/TRAC2"> > AuthUserFile /etc/apache2/users.trac2 > Require user user1 user2 > </Location> > <Location ~ "/(trac|svn)/TRAC3"> > AuthUserFile /etc/apache2/users.trac2 > Require user user1 user3 > </Location> > <Location /svn/> > DAV svn > SVNParentPath /var/lib/svn/ > AuthType Basic > AuthName "My's SVN" > AuthzSVNAccessFile /etc/subversion/access > </Location> > >
Did you find any other exception or error messages in your logs? We discussed PKG_RESOURCE_ZIP_MANIFEST. Please confirm that you see the message before setting environment variable, and that the message is not seen after setting the environment variable: "Warning: Detected setuptools version 5.5.1. The environment variable 'PKG_RESOURCES_CACHE_ZIP_MANIFESTS' must be set to avoid significant performance degradation." The message will be seen when issuing any trac-admin command. See: https://trac.edgewall.org/ticket/12085#comment:5 - Ryan -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
