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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > [solve] best setup for a site that gets 500k+ monthly uniques?

Reply
 
Thread Tools Display Modes
  #1  
Old 09-29-2012, 06:50 PM
jaequery jaequery is offline
Member
 
Join Date: Jan 2012
Posts: 15
Default [solve] best setup for a site that gets 500k+ monthly uniques?

hi guys

i have a client i'm trying to help setup with litespeed.
his site gets over 500k+ monthly uniques.
he is currently on 2 apache servers, which usually have load from 5 to 12+, and often producing 408 errors.

i'm pretty certain his site will function fine just on a single server w/ litespeed but what's the proper configurations for such case?

his site also uses perl/cgi, and i am wondering if there will be any special configurations i need to do to support that. does litespeed support perl/cgi out of the box?

currently i have a 2x hexcore intel romley cpu w/ 256gb memory, intel 520 ssd, so hardware wise i think i'm pretty good shape.

normally i never configure litespeed settings and i just use what's given by default. but i'd like to know if there are things i need to customize, pleaes let me know.

thanks

Last edited by NiteWave; 09-30-2012 at 06:27 PM..
Reply With Quote
  #2  
Old 09-29-2012, 07:49 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
>litespeed support perl/cgi out of the box
yes

>i just use what's given by default
default setting usually fine

when lsws running, watch the Real-Time Stats and adjust those default settings accordingly.
Reply With Quote
  #3  
Old 09-29-2012, 09:05 PM
jaequery jaequery is offline
Member
 
Join Date: Jan 2012
Posts: 15
hi nitewave thanks.
so now i am testing out his script site which is in perl/cgi and i'm now getting:

premature end of response error

any idea?
he did also mention that he had a test server w/ litespeed and it was working fine at the time. i wonder what i'm doing wrong?
Reply With Quote
  #4  
Old 09-29-2012, 09:22 PM
jaequery jaequery is offline
Member
 
Join Date: Jan 2012
Posts: 15
so i've identified it the problem stems from line:

use Session;

is there some known problem w/ this line?

for instance this errors out:

#!/usr/bin/perl
use Session;
print "Content-type:text/html\n\n";
print "hi";
exit;

but this doesn't:

#!/usr/bin/perl
print "Content-type:text/html\n\n";
print "hi";
exit;
Reply With Quote
  #5  
Old 09-29-2012, 09:57 PM
jaequery jaequery is offline
Member
 
Join Date: Jan 2012
Posts: 15
nvm problem solved. was some path issues.
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 02:19 PM.



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