Small Business Ideas Forum

Small Business Ideas Forum (http://www.smallbusinessbrief.com/forum/index.php)
-   Blogs and Blogging (http://www.smallbusinessbrief.com/forum/forumdisplay.php?f=35)
-   -   A frequently asked question about blog speeds (http://www.smallbusinessbrief.com/forum/showthread.php?t=350)

Chris 9th October 2004 02:51 PM

A frequently asked question about blog speeds
 
Here is a howto on why some blogs suddenly slow down and what you can do if it happens to you!

Reference : Testing Why My Site Is Slow Suddenly

You can test your own site by going to the login page for your blog. If this loads immeadiately then the chances are your site is using a script that is slowing the building of the page due to another server having problems. This is because typically the login page for a blog does not have any scripts calling to outside servers.

PHP creates the pages on the fly. This involves the webserver and the database. If you have scripts that generate content such as blog rolling, Eco System etc then your php page makes a call out to their servers and waits for the data response before it can continue finishing the build of your page. If those servers are slow then it will increase the time it takes for your page to load.

What can you do? Disable those scripts on your page in the template until such time that those overloaded servers are back up to full speed.
Read the error_log in the root of your account via FTP or CPanel. The error log will show timeouts etc that PHP reports.

Keep in mind for those of you that have instalaunches or powerlines etc that when you get instalaunched then so do all the scripts on your pages. We recently had an issue where a fun little script on justagirlintheworld.com caused this very same issue when she was highly publicized on some blogs. It appeared as if her site was slow and that the server was having issues, however, upon checking the error_log in her account we saw that one little script plugin called audioscribbler that calls to its server was causing her entire front page to not display because they were unable to handle the traffic requests from justagirlintheworld.com. Upon disabling this plugin her site immediately began displaying and handled the hundreds of requests coming in per minute. When we checked the traffic for her site that day she handled almost 250,000 hits.

Robert 9th October 2004 11:50 PM

Great info Chris! I've had to take scripts off the Small Business Brief home page when the server the script is calling is slow.

One thing that I've done that helps a little is I put the scripts in the lower right column so the rest of the page appears while waiting. At least it works for static pages with tables.

Chris 11th October 2004 01:28 AM

That reminds me. I am sure I saw a little tag somewhere that told apache to render the page partially while waiting for the other server. Something about reserved space. I shall have to go hunting around for it soon


All times are GMT -5. The time now is 09:47 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright 2004 - 2018 - Privacy