LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Is there a temporary downgrade option?

Reply
 
Thread Tools Display Modes
  #1  
Old 12-07-2012, 06:53 AM
theRKF theRKF is offline
Member
 
Join Date: Apr 2012
Posts: 31
Default Is there a temporary downgrade option?

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.
Reply With Quote
  #2  
Old 12-07-2012, 10:26 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
Quote:
Originally Posted by theRKF View Post
...
Is there no config option or anything that will limit Litespeed to a lower number of CPUs?
...
You can bind all listener(s) to specific CPU(s) (Admin Console => Configuration => Listener => General => Bindings)
Reply With Quote
  #3  
Old 12-07-2012, 10:40 AM
theRKF theRKF is offline
Member
 
Join Date: Apr 2012
Posts: 31
Quote:
Originally Posted by webizen View Post
You can bind all listener(s) to specific CPU(s) (Admin Console => Configuration => Listener => General => Bindings)
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/confi...gr.php?m=sltop
Reply With Quote
  #4  
Old 12-07-2012, 02:36 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
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.
Reply With Quote
  #5  
Old 12-08-2012, 07:23 AM
theRKF theRKF is offline
Member
 
Join Date: Apr 2012
Posts: 31
Great, thanks. Do I need to create a separate listener for 443 for SSL traffic?
Reply With Quote
  #6  
Old 12-08-2012, 09:13 AM
theRKF theRKF is offline
Member
 
Join Date: Apr 2012
Posts: 31
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?
Reply With Quote
  #7  
Old 12-08-2012, 11:12 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
Quote:
Originally Posted by theRKF View Post
Great, thanks. Do I need to create a separate listener for 443 for SSL traffic?
Yes, you need to create a separate listener for SSL traffic.
Reply With Quote
  #8  
Old 12-08-2012, 11:14 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
Quote:
Originally Posted by theRKF View Post
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?
Does not matter as long as 2 CPUs are bound.
Reply With Quote
  #9  
Old 12-14-2012, 08:47 AM
theRKF theRKF is offline
Member
 
Join Date: Apr 2012
Posts: 31
Quote:
Originally Posted by webizen View Post
Yes, you need to create a separate listener for SSL traffic.
So you have an actual step-by-step guide? The docs say what needs doing, but not the how.
Reply With Quote
  #10  
Old 12-14-2012, 11:38 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:39 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.