On Fri, Jan 09, 2009 at 08:42:08PM -0500, David Abrahams wrote:
> 
> 
> on Thu Jan 08 2009, David Abrahams <dave-AT-boostpro.com> wrote:
> 
> >> Have a look at http://trac.edgewall.org/wiki/TracIni#changeset-section 
> >> and reduce the number of max. files (e.g. 500). Does the problem still 
> >> happen?
> >
> > Hmm, good question.  
> >
> >   svn diff -r 2791:2796 | grep -cE '^======================'
> >
> > says there are around 1929 files.  OK, dropping the number to 500...
> >
> > ...works!
> 
> Couldn't Trac better protect itself from this sort of thing by using a
> timeout?  It could simply bail on inlining anything if it takes more
> than X seconds.  That way, one wouldn't have to try to guess at the
> number of files or bytes that will cause an apparent hang on particular
> hardware and source bases.

That seems more the job for the webserver or middleware, though a plugin would 
be trivial to implement (IRequestFilter).

Jeff Hammel
IRC: jhammel, k0s

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

Reply via email to