On Apr 1, 11:43 am, Chris Hill <[EMAIL PROTECTED]> wrote:
> We've got a strange slowdown issue with our projects root listing.
> Nothing else is effected. No individual project has a problem.
>
> Pretty much a textbook setup:
>
>         <Location "/projects">
>                 SetHandlermod_python
>                 PythonHandler trac.web.modpython_frontend
>                 PythonOption TracEnvParentDir "/var/trac"
>                 PythonOption TracUriRoot "/projects"
>                 SetEnv PYTHON_EGG_CACHE /tmp
>
>         </Location>
>
> Useful Tidbits:
> Trac 10.4
> We're using SSL. Problem does not seem SSL-specific.
> We have 175 and counting projects.
> We've got a couple custom plugins, nothing earth-shattering.
>
> So what we're seeing happening, we think, is thatmod_pythonis loading,
> over and over again, a bunch of plugins, for some unknown reason:
>
> 2008-03-31 17:12:20,126 Trac[__init__] DEBUG: Loading egg plugin
> navhider.filter from
> /usr/lib/python2.4/site-packages/TracNavHider-1.0-py2.4.egg
> 2008-03-31 17:12:20,128 Trac[__init__] DEBUG: Loading egg plugin navadd
> from /usr/lib/python2.4/site-packages/NavAdd-0.1-py2.4.egg
> 2008-03-31 17:12:20,157 Trac[__init__] DEBUG: Loading egg plugin
> webadmin.logging from
> /usr/lib/python2.4/site-packages/TracWebAdmin-0.1.2dev_r4240-py2.4.egg
> 2008-03-31 17:12:20,159 Trac[__init__] DEBUG: Loading egg plugin
> webadmin.ticket from
> /usr/lib/python2.4/site-packages/TracWebAdmin-0.1.2dev_r4240-py2.4.egg
> 2008-03-31 17:12:20,160 Trac[__init__] DEBUG: Loading egg plugin
> webadmin.basics from
> /usr/lib/python2.4/site-packages/TracWebAdmin-0.1.2dev_r4240-py2.4.egg
>
> If we tail -f the log, we can see that there are these pauses where its
> thinking, then it loads the plugins, then its thinking, then it loads
> the plugins, and it does this about 30 times. This takes an extremely
> long time, regardless of what's in index.cs.
>
> We're really unsure what Trac's doing, or why. Any thoughts would be
> appreciated!

Apache is a multi process web server. Are you sure the messages aren't
from different Apache child processes?

Also, do you set MaxRequestsPerChild? If you do it would result in
Apache child processes being recycled when that number of requests is
being reached. If you have a constant stream of requests, this would
show as plugin being loaded on a similar regular basis.

Graham
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
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