LiteSpeed Cuts RAM Usage by 95% on Shared Servers

Synergy 8 uses PHP suEXEC Daemon mode to deliver efficient opcode caching

This scalability, reliability, and performance issue was solved with LiteSpeed Web Server.

Scott M.Director

The Challenge

  • Average server has 160 separate websites, averaging 10 req/sec, peaking to 100 req/sec.
  • Traffic is PHP heavy.
  • suEXEC needed for security, but can cause very high RAM usage.
  • Exponential growth already under way.

The Solution

  • LiteSpeed Web Server 2-CPU license.
  • PHP suEXEC Daemon mode with shared opcode caching.
  • RAM usage immediately decreases from 40GB to 2GB.
  • Addition of new users does not add noticeable increases in RAM usage.

Synergy 8 is a cloud-based platform for managing your online presence. Features include content management (CMS), e-mail marketing, customer database (CRM), and e-commerce. Our application servers serve a lot of dynamic content (PHP), moderate amounts of static content, and very little video. We believe that performance is paramount to usability, so we are prepared to invest in the best software and hardware solutions available. All of our clients share the same PHP code base on a "per branch" basis, so shared opcode caching is very beneficial for us.

Server Environment
  • Dual CPU x5690 (2x 6 core) 3.46 GHz
  • 96 GB RAM

Our initial configuration was Apache+DSO+PHP. At the end of April 2013, though, we switched to Apache+FCGI+suEXEC for security. We upgraded to PHP 5.5 and moved from APC to OPcache for our opcode caching. We used generous opcode cache sizes, as we like to take advantage of our servers' high memory capacity. We were not aware, though, of the insane implementation of FCGI PHP suEXEC— there is no shared opcode cache. This caused our committed memory to spike. FCGI also spooled up processes leading to dangerously high RAM usage (see graph at right). Each new website added about 300MB of RAM, with almost a 1GB commit. As we grew with this unscalable approach, we experienced a couple of crashes, primarily in the form of Linux watchdog timeouts — a classic “out of memory” event. This would happen during our most critical/peak times as Apache would spool up additional workers and PHP processes. We did not want to leave Apache, but enough was enough.

In August 2014, we switched to LiteSpeed+suEXEC Daemon mode. With suEXEC Daemon mode's shared opcode caching, we immediately reduced RAM usage from 40-50GB consumption + 100GB commit to 2-3GB consumption + commit. Our services run faster, mainly due to this freed up RAM now being utilised for disk caching.

Our bottleneck has been RAM usage for quite some time now due to suEXEC. This scalability, reliability, and performance issue was solved with LiteSpeed Web Server. The other factors (CPU, etc) are not a problem at present for us. We did not see any real difference in CPU usage between Apache and LiteSpeed, though this is probably due to our workload mainly being dynamic PHP, rather than static files. Thanks again for your product. It’s taken a great deal of pain away.

LSWS's combination of PHP suEXEC and opcode caching slashed RAM usage for Synergy 8, while keeping top-of-the-line performance. Do you have runaway RAM usage? Interested in opcode caching with suEXEC security? Read up on LiteSpeed's unique suEXEC Daemon mode.

Serve More Bandwidth With LiteSpeed

LiteSpeed Web Server is Green Olive Tree's choice for high-bandwidth web applications

The infrastructure has pushed out as much as 450 Mbit peak traffic without a hiccup.

Jon B.President

The Challenge

  • A high-traffic WordPress site and a very heavy affiliate system application.
  • Apache setup is swamped and only a portion of traffic is getting through.
  • Exponential growth on the way.

The Solution

  • LiteSpeed Web Server 2-CPU license.
  • Traffic immediately increases by 50%.
  • Now around 750,000 unique visitors daily.
  • Each server can handle 90 Mbit peak traffic without issue.

Jon Berry, the owner of Green Olive Tree, prides himself on solving complicated tech problems. For very high bandwidth applications or sites where page speed is critical, he uses LiteSpeed Web Server. He's seen how LSWS's efficient connection processing allows servers to serve more:

Server Environment
  • 5 application servers with 2xE5-2620 CPUs (12 cores) each
  • 32GB RAM each

Fans2Cash is now a popular Facebook affiliate network. But when they were just starting out, Fans2Cash's owners came to Green Olive Tree with a problem. They were running the affiliate system and their content site,, "on a single underpowered cPanel server and were only getting around 10 Mbit peak traffic per day. The site operators were convinced that a lot of their traffic just wasn’t getting through." Jon switched them to LiteSpeed Web Server, guessing their WordPress site needed the superior PHP handling LSWS offers (as opposed to something like nginx). Immediately, they saw a 50% jump in traffic.

This was just the start, though. "Their growth speed was staggering," Jon says. Now they are on five application servers all running LSWS. Each of these servers routinely powers through 30 Mbit peak traffic (for a total of 150 Mbit) without any slowdowns. (See graph at right.) These traffic levels would be unimaginable with Apache on similar hardware. Jon says he's even seen them handle 90 Mbit peak traffic each "without a hiccup".

The Fans2Cash operators are thrilled with Green Olive Tree's management. Green Olive Tree has customized many different aspects, including recently optimizing the affiliate system, but LSWS has been integral to making the system work.

LSWS makes possible web application traffic levels Apache and nginx can't touch. It's efficient PHP handling has given Fans2Cash the speed and reliability they need to grow at breakneck speed.

Hosting Partners Specializing in Joomla!/Drupal

Resellers wishing to join our partners program and existing partners wishing to appear in our partners section are encouraged to contact the This email address is being protected from spambots. You need JavaScript enabled to view it. .
Platinum US VPS, Dedicated


WiredTree is a managed hosting provider that specializes in all modern CMS solutions, such as WordPress, Drupal, Joomla!, and Magento, with fast and friendly US based support.

Company website:

Greece Shared, VPS, Dedicated


MultiHosting, a leading webhosting company in South-East Europe since 2003, provides a great variety of web hosting solutions. We have won various prizes for our extremely fast and efficient support team! We have a strong Joomla! development team and specialize in serving demanding websites, like news or sports websites.

Company website:

Interested in LiteSpeed?

You are visiting the LiteSpeed Technologies website from an automatically generated error page.
Please be aware that LiteSpeed Technologies Inc. is not a web hosting company and, as such, has no control over the site you came from.

Please do not email LiteSpeed Technologies Inc about the site you have come from or its contents.

You will be automatically redirected in 5 seconds. Please use this link if you are not redirected.

Hosting Partners Specializing in Cloud Hosting

Resellers wishing to join our partners program and existing partners wishing to appear in our partners section are encouraged to contact the This email address is being protected from spambots. You need JavaScript enabled to view it. .
Platinum Turkey Shared, VPS, Dedicated

iDeal Hosting

iDeal Hosting helps organisations of all sizes to successfully with incredibly reliable,high-performance and flexible dedicated and virtual servers for 9 years.

Company website:

Platinum US Shared, VPS, Dedicated


Company website:

Gold US Shared, VPS, Dedicated


Dewahost offers business class cloud hosting services with 100% uptime SLA and SSD powered. Our cloud locations are in LA, Chicago and New York.

Company website:

Gold Indonesia Shared, VPS, Dedicated

Dewaweb Cloud Hosting

Dewaweb is the first cloud hosting service in Indonesia that uses LiteSpeed Enterprise exclusively, backed by 100% uptime SLA and 90-day money back guarantee. Dewaweb offers high quality cloud hosting, cloud servers, and also free hosting for non-profit organizations. We are also specialized in hosting high volume traffic websites.

Company website:

Gold US Shared, VPS, Dedicated


At Hostwinds our client's are our number one priority. We take support very seriously, and can ensure that when you Host with us, we will keep you online, and support any issues you may have. We treat all client's like family.

Company website:

Gold US VPS, Dedicated

Liquid Web

Liquid Web has established a world class Heroic Support team that is professionally educated and available on-site at each data center 24 hours per day. Liquid Web currently employs 300+ Heroic Support engineers with specialties in Technical Support, Server Setup, Networking, Security and more.

Company website:

Turkey Shared, VPS, Dedicated


Company website:

Australia Shared, VPS, Dedicated

AVS Networks

AVS Networks is one of Australia’s most experienced hosting companies, having been in the industry since 1997. AVS Networks provides top quality solutions - everything from enterprise cloud hosting to web hosting and colocation.

Company website:

Canada Shared, VPS, Dedicated


100% Canadian hosting solutions in the finest data centers from Vancouver and Toronto.

Company website: