Its pretty much a apache configuration issue then. Look in your apache configuration file (httpd.conf in your case) and go down change (backup current settings first) the following settings
StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 30 MaxRequestsPerChild 2000 Then restart apache and watch top to see if everything is working fine. I am pretty certain it would though if you still see issues revert to earlier settings and message back here with those settings. Thanks, Adi On Thu, Aug 19, 2010 at 2:34 PM, Pete Graham <[email protected]> wrote: > Hi, thanks for all your help so far. > > Hamish, I've checked the permissions on the assets folder > "assets/Uploads" is writable by apache, should "assets" be writable > also? > I've been looking in the error logs, it seems to contain mainly "File > not found" errors for missing graphics and some php notices for > variables missing in wordpress views (the site has a wordpress and > silverstripe installation the client wants to move to just > silverstripe), I wouldn't expect these to cause the server any > significant issues. > > Adi, this is the type of server we're using > http://mediatemple.net/webhosting/nitro/ (client chose the hosting, > personally I don't rate Media Temple). Restarting Apache does fix the > problem. > > Pete > > On 19 August 2010 09:32, Adi <[email protected]> wrote: > > Are you running on a VPS or dedicated server? This seems like a apache > > configuration issue. > > > > If you can confirm I think i can point you to some more information. > > Also you should see if restarting apache fixes this porblem > > > > - > > Adi > > > > > > On 8/18/10, Pete Graham <[email protected]> wrote: > >> Hi everybody, > >> > >> I have a live SilverStripe site that I'm experiencing major problems > >> with. After the site has been running for a while it starts spawning > >> multiple httpd processes, some taking up huge percentages of the CPU > >> (these can be seen using top). The site progressively become more and > >> more unresponsive returning 500 errors for requests. > >> > >> At first I thought this was most likely to be an server > >> misconfiguration, but the apache setup seems fine. Strangely I've > >> noticed that running ?flush=1 on the site gets rid off the spawned > >> httpd processes and the servers response time returns to expected > >> levels. > >> > >> Does anyone have suggestions about what exactly is happening here? > >> This suggests to me that something is going wrong with the > >> Silverstripe caching process. Does flush=1 clear just the cached php > >> files or does it perform other tasks also? > >> > >> The site has low to medium traffic and is on fairly hefty dedicated > >> server so should be able to handle the load easily. > >> > >> Any assistance would be greatly appreciated. > >> Pete > >> > >> -- > >> NZ PHP Users Group: http://groups.google.com/group/nzphpug > >> To post, send email to [email protected] > >> To unsubscribe, send email to > >> [email protected]<nzphpug%[email protected]> > > > > -- > > NZ PHP Users Group: http://groups.google.com/group/nzphpug > > To post, send email to [email protected] > > To unsubscribe, send email to > > [email protected]<nzphpug%[email protected]> > > -- > NZ PHP Users Group: http://groups.google.com/group/nzphpug > To post, send email to [email protected] > To unsubscribe, send email to > [email protected]<nzphpug%[email protected]> > -- NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected]
