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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Max concurrent connections for different licenses.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-14-2011, 01:36 PM
foliovision foliovision is offline
Member
 
Join Date: Mar 2011
Posts: 10
Default Max concurrent connections for different licenses.

Hello,

in the document about the licenses, it says:

Quote:
There is limit for max concurrent connections for different licenses. Free version is limited to 150, ...
-- http://www.litespeedtech.com/support...about_licenses

We have both VPS version installed and two free version, and the free version had Server -> Configuration -> Tuning -> Max Connections option set to 500 by default.

Is that safe? We discovered that 250 is working better for us, but that's more complex I guess.

But is the free standard version cutting off anything above 150 connections somehow?

Thanks,
Martin
Reply With Quote
  #2  
Old 03-14-2011, 02:05 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
http://www.litespeedtech.com/support...=4646#post4646

Quote:
Quote:
What would the users see if there were more than 150 concurrent connections? ... Are the pages just fetched slowly, or are the connections actually refused?
When the backlog of TCP server socket is not full, the pending connection will be held in the backlog, when the backlog was full, more connections will be refused. Linux's TCP backlog can hold upto 200 connections I believe.
Reply With Quote
  #3  
Old 03-14-2011, 04:00 PM
foliovision foliovision is offline
Member
 
Join Date: Mar 2011
Posts: 10
Default Better Answer Please

Why are you configuring the standard edition for 500 concurrent connections out of the box if it only supports 150?

Would this configuration not be doomed doomed to end in failure on load and additional slowdowns on load as the queue is flooded?

Thanks,

Alec
Reply With Quote
  #4  
Old 03-14-2011, 10:18 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
It doesn't matter whether it is 500 or 2000 out of box. User should be aware of this limit (150) before they install it. Any new request over the 150 (even though max connection settings is higher) limit will be queued until backlog is full. On the other hand, the backlog queue (has nothing to do with 150 limit) would not be flooded as pointed out earlier. anything above the limit will be dropped.

If you have a higher traffic site, you should use Enterprise Edition.
Reply With Quote
  #5  
Old 03-15-2011, 07:16 AM
foliovision foliovision is offline
Member
 
Join Date: Mar 2011
Posts: 10
Default Configure it correctly out of the box

Hello Webizen,

Thank you for your note.

Actually offering correct default configuration is a first good step to engendering trust in your software and your company.

Making a mystery of this and putting shaky defaults into the default configuration for the Standard Edition is not very nice and not very good business.

Configuration instructions should include checking the queue limit and matching it to the maximum connections.

And it would be nice to have a better guide on how to set this properly for maximum performance on the Standard Edition.

Having to play Blind Man's bluff in the dark is not much fun and a great waste of your users' time.

Perhaps you could bring yourself to actually make some articulate suggestion on configuration so we could set up our servers properly and not have to guess.

Thanks.

Alec
Reply With Quote
Reply

Tags
free, license, max connections, standard, version

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 05:58 AM.



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