So I can be precise in getting you the correct information the first
time and also being fairly new at Python/Apache/Trac, when you ask for
system settings what specific outputs would you like that will best
help you understand this issue?

I can start with this general information: I am using mod_python on
CentOS5.2. Trac was installed via YUM. Python is 2.4.

Here is the apache config for the Trac section (if you need more/other
apache config entries, let me know):

### The recommended Trac web interface requires mod_python
<IfModule mod_python.c>

### Create your Trac environments as subdirectories of /var/www/trac
### They will appear in a listing on your website at /trac/, and be
available
### at /trac/PROJECTNAME/
<Location /trac>
  SetHandler mod_python
  PythonInterpreter main_interpreter
  PythonHandler trac.web.modpython_frontend
  PythonOption TracEnvParentDir /var/www/trac
  PythonOption TracUriRoot /trac
  PythonOption PYTHON_EGG_CACHE /var/www/trac/.egg-cache

  # Set Site Cache on and default expiration at 1 month
  ExpiresActive On
  ExpiresByType application/x-javascript A259200
  ExpiresByType image/png A2592000
  ExpiresByType text/css A2592000
</Location>

### Use LDAP to authenticat to Trac
<LocationMatch "/trac/[^/]+/login">
   # Enable SSL
   SSLRequireSSL

   # Basic Apache Authentication
   AuthType Basic
   AuthBasicProvider ldap

   # Include file for LDAP connect information
   include conf.d/LDAP.include

   # Require only authenticated users can access this directory
   require valid-user

  # Set Site Cache on and default expiration at 1 month
  ExpiresActive On
  ExpiresByType application/x-javascript A259200
  ExpiresByType image/png A2592000
  ExpiresByType text/css A2592000

  # Set GZIP on above items as well
  AddOutputFilterByType DEFLATE image/png
  AddOutputFilterByType DEFLATE text/css
  AddOutputFilterByType DEFLATE application/x-javascript

</LocationMatch>

</IfModule>

Again, if there are other items you need me to provide, please let me
know.

Thanks for the quick response.

Ken

On Aug 10, 4:47 am, Andrea Tomasini <[email protected]>
wrote:
> On 10 Aug, 2009, at 4:45 , Ken wrote:
>
> Hi Ken,
>
> > I just upgraded to 0.8 with a few bumps and while looking through the
> > debug log file, I noticed modules are being loaded numerous times in a
> > single page load. Is this normal? Is there a setting I have missed
> > such that Trac/Agilo appear to be reloading the same module in a
> > matter of milliseconds?
>
> It is not normal... I am also not able to reproduce this... so can you  
> please give us a printout of your systems setting and tell us how you  
> configured the software?
>
>
>
>
>
> > Here is a short output from a single page load only looking at
> > Agilo.Help.*
>
> > 2009-08-09 21:59:43,739 Trac[loader] DEBUG: Loading agilo.help.search
> > from /usr/lib/python2.4/site-packages/binary_agilo-1.0.1_PRO-py2.4.egg
> > 2009-08-09 21:59:43,741 Trac[loader] DEBUG: Loading agilo.help from /
> > usr/lib/python2.4/site-packages/binary_agilo-1.0.1_PRO-py2.4.egg
> > 2009-08-09 21:59:45,880 Trac[loader] DEBUG: Loading agilo.help.search
> > from /usr/lib/python2.4/site-packages/binary_agilo-1.0.1_PRO-py2.4.egg
> > 2009-08-09 21:59:45,882 Trac[loader] DEBUG: Loading agilo.help from /
> > usr/lib/python2.4/site-packages/binary_agilo-1.0.1_PRO-py2.4.egg
> > 2009-08-09 21:59:45,886 Trac[loader] DEBUG: Loading agilo.help.search
> > from /usr/lib/python2.4/site-packages/binary_agilo-1.0.1_PRO-py2.4.egg
> > 2009-08-09 21:59:45,888 Trac[loader] DEBUG: Loading agilo.help from /
> > usr/lib/python2.4/site-packages/binary_agilo-1.0.1_PRO-py2.4.egg
> > 2009-08-09 21:59:46,971 Trac[loader] DEBUG: Loading agilo.help.search
> > from /usr/lib/python2.4/site-packages/binary_agilo-1.0.1_PRO-py2.4.egg
> > 2009-08-09 21:59:46,973 Trac[loader] DEBUG: Loading agilo.help from /
> > usr/lib/python2.4/site-packages/binary_agilo-1.0.1_PRO-py2.4.egg
> > 2009-08-09 21:59:47,656 Trac[loader] DEBUG: Loading agilo.help.search
> > from /usr/lib/python2.4/site-packages/binary_agilo-1.0.1_PRO-py2.4.egg
> > 2009-08-09 21:59:47,658 Trac[loader] DEBUG: Loading agilo.help from /
> > usr/lib/python2.4/site-packages/binary_agilo-1.0.1_PRO-py2.4.egg
> > 2009-08-09 21:59:47,858 Trac[loader] DEBUG: Loading agilo.help.search
> > from /usr/lib/python2.4/site-packages/binary_agilo-1.0.1_PRO-py2.4.egg
> > 2009-08-09 21:59:47,860 Trac[loader] DEBUG: Loading agilo.help from /
> > usr/lib/python2.4/site-packages/binary_agilo-1.0.1_PRO-py2.4.egg
> > 2009-08-09 21:59:49,382 Trac[loader] DEBUG: Loading agilo.help.search
> > from /usr/lib/python2.4/site-packages/binary_agilo-1.0.1_PRO-py2.4.egg
> > 2009-08-09 21:59:49,398 Trac[loader] DEBUG: Loading agilo.help.search
> > from /usr/lib/python2.4/site-packages/binary_agilo-1.0.1_PRO-py2.4.egg
> > 2009-08-09 21:59:49,400 Trac[loader] DEBUG: Loading agilo.help from /
> > usr/lib/python2.4/site-packages/binary_agilo-1.0.1_PRO-py2.4.egg
> > 2009-08-09 21:59:49,409 Trac[loader] DEBUG: Loading agilo.help.search
> > from /usr/lib/python2.4/site-packages/binary_agilo-1.0.1_PRO-py2.4.egg
> > 2009-08-09 21:59:49,411 Trac[loader] DEBUG: Loading agilo.help from /
> > usr/lib/python2.4/site-packages/binary_agilo-1.0.1_PRO-py2.4.egg
> > 2009-08-09 21:59:49,416 Trac[loader] DEBUG: Loading agilo.help from /
> > usr/lib/python2.4/site-packages/binary_agilo-1.0.1_PRO-py2.4.egg
> > 2009-08-09 21:59:49,430 Trac[loader] DEBUG: Loading agilo.help.search
> > from /usr/lib/python2.4/site-packages/binary_agilo-1.0.1_PRO-py2.4.egg
> > 2009-08-09 21:59:49,432 Trac[loader] DEBUG: Loading agilo.help from /
> > usr/lib/python2.4/site-packages/binary_agilo-1.0.1_PRO-py2.4.egg
>
> I would say terrifying... are you using tracd, fast_cgi, mod_python or  
> mod_wsgi? Or something else?
>
> > Any thoughts on where I could look? Tickets and Wiki section on the
> > left always seem to come very slow after everything else has loaded.
> > (Speaking of the left panel, I see the change in design and the mouse
> > changes when I cross over it, but it seems I am unable to resize it,
> > another configuration issue?)
>
> They come "slow" cause they are actually Javascript XmlHttpRequest to  
> the normal trac pages... so they are initiated once the page is  
> completed. We are looking into optimizing this, in particular in  
> making the page more "adaptive" to users needs...
>
> > Thanks for any assistance. The product has been great and stable minus
> > some slow page loading which hopefully some of these answers will help
> > with.
>
> I think we need more info, someone else experiencing the same issue?
>
> > Thanks.
>
> Thank you for reporting
>
> > Ken
>
> ANdreaT

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Agilo for Scrum" group. This group is moderated by agile42 GmbH 
http://www.agile42.com and is focused in supporting Agilo for Scrum users.
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/agilo?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to