Out of curiosity, do you have mod_php active on the server?

--Noah

mankoff wrote:
> Hi List,
> 
> I'm having some apache problems but starting here because I think it
> is Trac related.
> 
> Once or twice a day, for no reason I yet understand, the CPU usage of
> the server spikes to 100% and the load goes to 3 or 4. This is a dual
> 2.5 GHz OS X box running trac 0.10.4dev and apache 2.0.59. After an
> hour or two it returns to normal through no effort on my own. When I
> run top I see apache2 using 99% of the CPU (or multiple apache2
> processes fighting it out with 50% each).
> 
> The reason I post to the Trac list is because if I go to our server
> http://edgcm.columbia.edu it responds quite fast even when in this
> state. Our forums also load quickly. But if I go to 
> http://dev.edgcm.columbia.edu
> where Trac is hosted, the system just hangs. So I think Trac is most
> definitely related to this.
> 
> I do not know how to tell what is hanging or why it is causing this
> hang. If I watch the logs (access or error) nothing shows up to tell
> me what is going on. I cannot create this high CPU usage state, but I
> know when it occurs (using rrdtool here: http://edgcm.columbia.edu/stats/)
> and can narrow it down to a 5 minute window. If I go to the logs and
> check the URLs from that window there is nothing suspicious. If I re-
> enter each one manually I cannot get the system to re-enter this
> anomalous state.
> 
> Trying to dig a bit further I started running ab (apache benchmark
> tool). The server handles 100+ connections without a problem which is
> more than we normally get even with a minor slashdotting.
> 
> If I run ab on the Trac vhost rather than the main site, it works 50%
> of the time, and then the rest of the time I get a very strange
> message:
> 
>> ab -n 10 -c10 -g ab.gnuplot -e ab.csv http://dev.edgcm.columbia.edu/
>> This is ApacheBench, Version 2.0.41-dev <$Revision: 1.121.2.12 $> apache-2.0
>> Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
>> Copyright (c) 2006 The Apache Software Foundation, http://www.apache.org/
>>
>> Benchmarking dev.edgcm.columbia.edu (be patient)...apr_poll: The timeout 
>> specified has expired (70007)
>> Total of 8 requests completed
>>
> 
> Any help you can provide would be greatly appreciated.
> 
> Thanks,
> 
>    -k.
> 
> 
> > 



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

Reply via email to