Is there a temporary downgrade option?

Discussion in 'Install/Configuration' started by theRKF, Dec 7, 2012.

  1. theRKF

    theRKF Member

    I'm trying to determine if the current 8 core license is the best option for our server. I'd like to temporarily downgrade for a few hours/days to benchmark the differences.

    From what I understand from the wiki and forums if I want to downgrade I have to change my license (only at the end of the billing cycle?), then upgrade again later and pay for the upgrade.

    Is there no config option or anything that will limit Litespeed to a lower number of CPUs?

    If not, can we put that down as a feature request? Clearly the functionality is there as the number of cores used changes with the license - no re-install required. We just need a way to toggle it more directly aside from swapping licenses.
  2. webizen

    webizen New Member

    You can bind all listener(s) to specific CPU(s) (Admin Console => Configuration => Listener => General => Bindings)
  3. theRKF

    theRKF Member

    Thanks - just to make sure I don't screw this up ...

    I don't have that path that you described.

    From Home (admin console) I click Configuration, then Listeners (0), but that's where I lose track.

    There is no General option, and no Listeners defined.

    I'm looking at http://exampleserver.com:12345/config/confMgr.php?m=sltop
  4. webizen

    webizen New Member

    For control panel environment like your case, you need to create a listener in Admin Console for port 80 and bind CPUs to it. The listener created in admin cp will take precedence over the ones defined in httpd.conf.
  5. theRKF

    theRKF Member

    Great, thanks. Do I need to create a separate listener for 443 for SSL traffic?
  6. theRKF

    theRKF Member

    Another question:

    Does it matter which cores I assign the listeners to? Our server has a quad core cpu with hyperthreading, so it reports 8 cores. (It seems we mistakenly purchased an 8 cpu license, even though I think we should only have a max of 4.)

    I'm wondering if for this test binding to 2 cpus does it matter if I'm assigning to hyperthreading cores vs actual.

    Bind to cpus 1 & 2? 1 & 3? Other? Doesn't matter?
  7. webizen

    webizen New Member

    Yes, you need to create a separate listener for SSL traffic.
  8. webizen

    webizen New Member

    Does not matter as long as 2 CPUs are bound.
  9. theRKF

    theRKF Member

    So you have an actual step-by-step guide? The docs say what needs doing, but not the how.
  10. webizen

    webizen New Member

    I thought it was self explanatory.

    By default, there is no native LSWS listener created when import Apache httpd.conf. In this case, you need to create a native LSWS listener in Admin Console to override Apache listener:
    1. Create/Add a listener in Admin Console => Configuration => Listeners.
    2. Bind to ANY or the IP server is listening to.
    3. You will see error status (Admin Console => Actions) for the newly created listener after LSWS restart. Just ignore that.
  11. theRKF

    theRKF Member

    Right, I have that running for http traffic on port 80.

    The concern is with implementing the SSL listener for 443. The docs reference creating / acquiring certificates and installing them, but without more detailed guidance I'm hesitant to try something that might put our clients' SSL traffic at risk.
  12. webizen

    webizen New Member

    SSL listener in LSWS will not cause problem loading certificate defined in httpd.conf (via WHM).
  13. theRKF

    theRKF Member

    Ok, that's great - thanks!

Share This Page