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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Benchmarking...

Reply
 
Thread Tools Display Modes
  #1  
Old 06-05-2004, 06:44 AM
hopfi2k hopfi2k is offline
New Member
 
Join Date: Jun 2004
Posts: 9
Default Benchmarking...

Hi there,

I'm running LiteSpeed V1.5RC4 under FreeBSD 5.2.1 with a fresh compiled PHP 4.3.7 (using params as in FAQ).

When I run ab -c 10 -1000 http://<servername>/phpinfo.php it won't finish the test! Somewhere after 4000 to 5000 request it stops with error message (apr_recv: Connection reset by peer (54)) and top shows 10 running php processes...

Running the same benchmark with apache2 doesn't cause any problems...

Trying to run ab with 100 concurrent connections doesn't work at all...

Maybe I didn't configured the server correctly (well, to be honest, I'm using the default confiuration...)?
Reply With Quote
  #2  
Old 06-05-2004, 05:55 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Can you please try your test with the pre-built php binary?
There might be some problems with PHP 4.3.7.

And there is a per IP connection limits in lsws, the default is 10, so when you try to make 100 concurrent connections, lsws think some one is trying to attack the web site and close those connections immediately.

Please increase both hard and soft connection limit under "Server"->"Security" page.

Best regards.
Reply With Quote
  #3  
Old 06-06-2004, 02:52 PM
hopfi2k hopfi2k is offline
New Member
 
Join Date: Jun 2004
Posts: 9
Increasing hard and soft connection limit did the trick!

Many thanks.

The first results of my benchmarks show, that litespeed V1.5RC4 outperforms Apache 2.0 (worker mpm) by 1.5 - 4 times using php scripts!

Not to forget the time one saves with Litespeeds easy configuration.

Great!

Best Regards
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
question about load-balancing / benchmarking ts77 Install/Configuration 3 12-11-2005 01:31 AM


All times are GMT -7. The time now is 06:33 PM.



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