Apache Hosting and Performance

The single biggest hardware issue affecting webserver performance is RAM. A webserver should never ever have to swap, as swapping increases the latency of each request beyond a point that users consider “fast enough”. This causes users to hit stop and reload, further increasing the load. You can, and should, control the MaxClients setting so that your server does not spawn so many children it starts swapping. This procedure for doing this is simple: determine the size of your average Apache process, by looking at your process list via a tool such as top, and divide this into your total available memory, leaving some room for other processes.

Beyond that the rest is mundane: get a fast enough CPU, a fast enough network card, and fast enough disks, where “fast enough” is something that needs to be determined by experimentation.

Operating system choice is largely a matter of local concerns. But some guidelines that have proven generally useful are:

  • Run the latest stable release and patchlevel of the operating system that you choose. Many OS suppliers have introduced significant performance improvements to their TCP stacks and thread libraries in recent years.
  • If your OS supports a sendfile(2) system call, make sure you install the release and/or patches needed to enable it. (With Linux, for example, this means using Linux 2.4 or later. For early releases of Solaris 8, you may need to apply a patch.) On systems where it is available, sendfile
  • enables Apache 2 to deliver static content faster and with lower CPU utilization.

If your webserver is critical to your business, do not leave performance tuning to chance. Call ForLinux now of 0845 4210 440 or complete the contact form on the left to find out how hosting with ForLinux will improve your webserver speed.

« | Home | »

  • Call us

    Switchboard:
    Tel: 0845 4210444

    Sales:
    Tel: 0845 4210440
  • Get in touch

    Your Name (required)

    Your Email (required)

    I am interested in
     Hosting Support Training

    Your Message

  • Join our mailing list

    To receive our latest Whitepapers free of charge and direct to your inbox on a fortnightly basis, sign up to our mailing list.
  • Training offer

Xen solution meets e-commerce demand

“A lot of hosting companies talk about 99.999% SLA, this means nothing if their support fails to deliver but with ForLinux’s support you know you’re in good hands. I’ve just checked one of our older servers that’s due to be replaced this year, it’s uptime is 902 Days! Needless to say ForLinux will be handling the upgrade.” Ashley Peake, Technical Director, Rapid Web Ltd.

Proactive monitoring service is crucial

“The proactive monitoring service that ForLinux provide is crucial to our business. When a problem occurs, the ForLinux team ring us with a potential solution, which they are ready to work on straight away”. Sam Phillips, Technical Director, Setfire Media.

“The level of support ForLinux offer is very high”

“The ForLinux team are very knowledgeable and there is always someone who can deal with the problems and errors we incur. I wouldn’t dream of hosting my dedicated server alone, without that extra support”. Chris Chaplow, Managing Director, Andalucia.com

“ForLinux are a world apart”

“Compared to other hosting and support companies we have dealt with, ForLinux are a world apart. In our experience the level of service provided by ForLinux is very high”. Alan Taylor, Managing Director, Blue Chip Vacations

Understanding “Support”

“Thanks for your help. If only all the companies we deal with understood what “support” means as well as you do.” – Mike Busuttili, Webmaster, Eaton Publications.

“Five year partnership speaks for itself”

“They’re very good at being proactive rather than reactive. The five years of partnership pretty much speaks for itself. And it has been improving all the time, so satisfaction levels are still high. The price is surprisingly good as well for the kind of industry they’re in, so that’s another plus point. ” Danny Ramdenee, Head of IT, Insurancewide

“Application uptime is above 99.98%”

“The ForLinux organisation appears the perfect size to perform its function well, it is large enough not be reliant on one or two people but small enough to ensure that, as the customer, you know the technical staff and they know you. I have great confidence in the technical competence of the ForLinux team.” – John Latham, Managing Director, Cognovi.

“Customer service is phenomenal”

“I respect the service that the company provide & it is nice to finally find a hosting company that operates in the same way as we do, in terms of ethos. It sounds like a cliché but the Customer service really is phenomenal!” – Stafford Sumner, Managing Director, Jarrang.

Deploying virtual servers on Amazon

Creating a Linux Server in the Cloud
Technical Director of ForLinux Ltd, Steve Nice, recently wrote an article for .Net Magazine, which demonstrates how to set up an Amazon Web Services EC2 Instance, running Linux and Apache.
The feature contains a step by step tutorial guide to installing and deploying virtual servers on the Amazon EC2 network [...]

Scaling Apache, MySQL & PHP

Overview of Scaling your Apache PHP MySQL Hosted website
This is a short post on the basic principles of scaling your Apache PHP MySQL based hosted website.
Scaling your website isn’t as simple as introducing a new web server.  It is easy to upgrade the hardware however, there are the issues associated with migrating the website to [...]

Amazon Cloud EC2 Pricing Summary

Amazon Cloud EC2 Pricing Summary
Amazon Web Services (aka EC2, Amazon Cloud Computing, AWS) provide you with the ability to create virtual servers and only pay for them while they are in use. The virtual servers (known as Instances) can be various sizes ,in terms of CPU, RAM and temporary disk space. Disk space is temporary, [...]

Tomcat Apache

ForLinux Dedicated servers are supported by Linux Professionals who will be able to assist you in configuration and installation of Tomcat.  Complete the contact form on the right to discuss the best options for your hosting.