[wx-dev] trac stability and svn post-commit integration

Robin Dunn robin at alldunn.com
Tue May 20 12:09:29 PDT 2008


Stefan Csomor wrote:
> Hi
> 
> a) I’m getting quite a few stacktraces on trac, like eg
> 
>   File 
> "/usr/lib/python2.4/site-packages/Trac-0.11rc1-py2.4.egg/trac/db/sqlite_backend.py", 
> line 176, in __init__
>     timeout=timeout)
> MemoryError
> 
> reloading usually solves this, but still ... do we have to change 
> something ?

Adding the main wx website and trac have upped the average memory 
consumption on the system a little higher than I would like, but there 
is usually still lots of the "burst ram" available.  (The hard limit on 
the VPS is 1.5G and the guaranteed ram is 768M.  The server is usually 
hovering around 700M.)  That said, there are a few things, or a 
combination, that could have caused that memory exception.  There could 
have been a spike in usage of one of the other services at the time, 
(I've got the upper limit on Apache processes set higher than it 
probably needs to be...) or it is also possible for Trac to produce 
*very* large results and that could have been the problem.

When the exception happened Apache should have eventually restarted the 
process and all would have been well again, except that since the error 
page didn't have a cache expire header your browsers were probably not 
trying to refetch the page.

Anyway, I'll keep looking to find a good balance for the various settings.


> 
> b) once we have some headroom for processing additional things, could we 
> activate the post-commit-hook on svn, or is it already runing and 
> failing sometimes ?
> http://trac.edgewall.org/browser/trunk/contrib/trac-post-commit-hook?rev=latest 

Yep, it's on my ToDo list.


BTW, I should probably mention that I recently paid for the next year's 
worth of VPS hosting on this server out of the donations made by various 
people in the community in the past year.  Thanks!


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!



More information about the wx-dev mailing list