Skip to main content

Litespeed or not? 8 GB RAM, 8 vCPU, 30 sites, but how many workers?

Comments

4 comments

  • eugenevdm.host
    I can provide some feedback now as last night we converted to Litespeed. 100+ total sites, about 30 WordPress sites. 1. Most sites load faster. 2. We have 12 GB RAM,and went with the defaults,it installed 2 workers. 3. It's really use friendly installation, very advanced, the way it takes care of everything. Super smooth. 4. It's really quick and easy to switch between Litespeed and back to Apache in case you need to. 5. It's really easy to deploy the WordPress cache plugin to individual sites, from an admin point of view. Issues: 1. Before we hardly had any excessive resource usage warning, now we get them all the time. Here is a typical one: [QUOTE]lfd on xyz.host: Excessive resource usage: abc_client (48050 (Parent PID:51451))
    Resource: Process Time Exceeded: 1811 > 1800 (seconds) Executable: /opt/cpanel/ea-php72/root/usr/bin/lsphp 2. Every single WordPress site, including those that don't have Litespeed plugin, but those who do have WordFence plugin, is sending a warning. Litespeed not compatible with WordFence without below .htaccess: # BEGIN litespeed noabort RewriteEngine On RewriteRule .* - [E=noabort:1] # END litespeed noabort
    This is manageable but will be a pain going forward because we'd have to identify when people install WordFence. Reference:
    0
  • cPanelLauren
    1. Before we hardly had any excessive resource usage warning, now we get them all the time. Here is a typical one: Resource: Process Time Exceeded: 1811 > 1800 (seconds) Executable: /opt/cpanel/ea-php72/root/usr/bin/lsphp

    Note that the title is a bit decveiving here, this is not excessive resource usage, it's runtime specifically. This can be followed up in:
    0
  • ffeingol
    First off, if you have questions about which license to use, I'd suggest contacting LiteSpeed sales. I've always found them very quick to respond / answer questions. Secondly, you really don't want works to match your cores. If, for example, you had a 4 core server, you'd (more than likely) want a 2 worker license. That way LSWS can at most use 2 cores and leave the other two for PHP/MySQL etc. Internally we did quite a bit of testing with the LSWS WP cache vs. all the others. Quite simply it blew the others out of the water. The main advantage was that it did not cause any CPU or IO load increases on the server. We just basically used ab (Apache Benchmark) to simulate different levels of requests / concurrent users. We also see the same thing where (occasionally) see LSPHP processes that simply don't end and trigger the LFD execution time alerts. They don't really end up bother much on our servers and we go in and kill them.
    0

Please sign in to leave a comment.