On 11/08/2010 03:48 AM, Torsten Bronger wrote:
Any idea why this is?
I believe it is because you aren't starting enough servers/keeping
enough spare servers
My out of the box Ubuntu 10.04 server setup is:
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
<IfModule mpm_worker_module>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
Which section you use depends, of course, in which version of apache
you're running (the traditional prefork model, or the new threaded
worker model).
Other thoughts:
- If the machine is RAM constrained, it is possible that any files read
into memory and cached there are being dropped as the machine sits idle,
so it needs to re-read them from memory.
- If the browser's cache times out and the page content is flushed, all
the graphics, etc. will need to be pulled in again. Setting up a static
cache of these so they are pulled through apache rather than through
wsgi/trac/etc. may help things
- If you're using SQLite as a DB, and have several users, you will
likely see issues like this if a user is reading from a table which is
being updated by another user.
--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@sixnet.com
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en.