Page 1 of 1

Caught between Hoster and Design Co.

Posted: Sat Sep 26, 2009 8:51 am
by AlisonM
Hi everyone, I'm an editor not a designer and have been using a site written in CMSMS for just over a year, we've had the following problem for approx. 5 weeks now and have not been able to work out where the issue is in order to get it fixed. No idea if it is CMSMS or a module as I don't know the difference so apologies if this does not belong here.

We are on CMS Made Simple 1.5.1 "San Juan" our webdesign co. will not upgrade.

Approx every 1 in three times we try to load the site we get the error message below.

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


--------------------------------------------------------------------------------

Apache/2.2.8 (Ubuntu) Server at cgi38-ch.uk.clara.net Port 80


I assumed it was a host problem, and they came back with the info below.

After further investigation, our system's engineers have pinpointed that
the following error is the cause of the issue:

Fatal error:
Maximum execution time of 30 seconds exceeded in
/web/sites/user/0/247/98160/public/www/lib/misc.functions.php
on line 1106

This indicates that there is an issue with that specific script as by
default, php has an enforced 30 second execution time limit. To resolve
this, they have changed the php.ini file for your site to have an
increased max_execution_time:

max_execution_time = 60 ; Maximum execution time of each script, in
seconds

However, they advise you to pass this information onto your website
designer so that they can investigate why the code is taking so long to
execute.

Our web design co. say we are getting to the limits of our database? is this possible? our newsletter adds an additional 17.2 KB per month and we have been running for just over 12 months.

I'm happy to provide any further information necessary, you may have to tell me how to get to it!

Thanks for any support/recommendations you can provide.

Alison

Re: Caught between Hoster and Design Co.

Posted: Sat Sep 26, 2009 4:11 pm
by JeremyBASS
Hello, there are a few things you can do.  Update your CMSMS... the overall footprites are being worked on to be lower.  Another thing is to use caching program like eAccelerator to speed up the database end of things... you could also make sure that you have turned off mods the are not in use.  There are many other things you can do, reduce the overall requests to a site.  I mean to take uses of things like CSS sprites, .htaccess tips like no etags and long max-age of things like imgs scripts and media, basically ySlow greatness.  This also will free the processor a little which will open more up to do what it needs to while processing the code.

So Google eAccelerator and ySlow and run through till you get an A grade…. Hope this helps… Also so maintenance sound like it's needed.... clear the admin logs, clear the user stats, clear the cache, reduce global content blocks... those are a few more things that can be done.

Cheers
Jeremy