Thursday, October 22, 2015

8 Factors That May Cause Slow Server Performance

Your hosting administrator has stopped your site as it causes server overload. He said that the problem had been experienced in the last several hours, while you hadn't made any changes by this period of time. Of course you will confuse and ask "Why it can be happened? What may be the reason? How to fix it? Here are some server performance issues that may be slowing down your server, and some tips to fix the problems.

1. Memory leaks

Leaks can accumulate maxing out the memory of your server and slowing it to a crawl. Solution: You can of course increase the memory in your server, but the best fix would be to locate the memory leak and recode the offending script.

2. Too many processes / connections

Programs that keep spawning processes or don't release server connections can bog down your server response time. Solution: rewrite the code to release resources upon completion.

3. External resource delays

Loading JavaScript or other resources from off-site can cause indeterminate delays for your own site. JQuery, advertising scripts, Google Plus One, Facebook, and other external resources are typically loaded with a remote JavaScript call to Google, Facebook, or some other busy site. Loading infrequently changing resources (like a programming library) remotely introduces DNS and network overhead, and indeterminate delay from a server you don't control. Solution: Periodically cache the resource locally on your server and serve locally. Use a CRON script to copy the resource.

4. Inefficient SQL Queries

Database queries that are written poorly can cause slowdowns to web sites. Databases that aren't indexed properly can also cause slowdowns.

5. Slow database calls

Each additional plugin can make calls to a database, which can add up. Solution: Disable any unnecessary plugins in Wordress or your favorite CMS.

6. Insufficient server resources

Low memory, bandwidth caps, or limited disk space can cause paging and poor server response times. Solution: Use VMStat, Top, etc. to locate bottlenecks and either decrease resource usage or increase resources (more memory and disk space can't hurt).

7. Overloaded Shared Servers

Some hosting companies put too many sites on the same shared server. Servers have limited resources and these can be taxed (memory, processors, bandwidth, etc.) by having too many sites competing for the same resources. Just one heavily loaded site hosted on a shared server can slow down all the other sites hosted there. Solution: Move to a lightly loaded shared server, or a dedicated server where you have complete control.

8. Inconsistent website response times

If your site is slower during different parts of the day (say near lunch time for example), it may be due to increased load on the server slowing down your response time due to maxed out resources (processes, memory, disk space, bandwidth). Solution: Find which resource(s) are highly utilized (CPU, memory, processes etc) during high load and profile and fix "hot code" to help minimize the impact of your scripts. Increasing the resources allocated to your server may help (number of processes for example). A dedicated server may also help here.
Tags: , , , , , , ,

Written by

We've been a trustworthy web hosting review site, and have reviewed 350+ web hosts since 2008 - focusing on helping developers, bloggers, freelancers and small business owners to pick up the right web host based on the budget and requirement, including shared web hosting, cloud hosting, reseller hosting and dedicated servers.


Post a Comment

Note: Only a member of this blog may post a comment.


About Us

WindowsHostingBulletin is a professional windows hosting review website to help people find the best windows hosting at the lowest price available. We receive compensation from the web hosting companies whose products we review, though this has no impact on the quality of our reviews.
Copyright © Best ASP.NET Hosting Reviews | Designed by