Results 1 to 5 of 5
  1. #1

    Red face Maximizing Linux (CentOS) for Maximum Concurrent users

    Hello, I am running lighttpd and eccelerator.

    I have stripped the php-cgi.

    I have tried forking anywhere from 50 to 300 to 1000 fastcgi children with PHP_FCGI_CHILDREN (through lighttpd, I'll attempt to do with same with spawn-fastcgi and fpm)

    Server stats:

    Intel Core i7 920
    12GB DDR
    250GB 7.2k RPM SATAII 16MB Cache

    I am using to lighttpd's lighttpd-status to estimate concurrent connections.

    When I refresh the panel, it shows that there are around 100-150 connections and around 150 requests/s in the last 5 seconds.

    My vmstats show that CPU is 98% idle. Blocks written/read is neglible. MySql key_buffer set to 2gb and I'm pretty sure it's not mysql. The overwhelming majority of requests do not access mysql.

    EDIT: Uh oh, I just realized that tcp_mem could be a huge bottle neck.

    I just set it to:

    net.ipv4.tcp_mem = 4096000 87380000 4194304000

    It was previously:
    net.ipv4.tcp_mem = somenumber somenumber 393,216 <<<--- WTF!!!!!!!

    x1000 for my read values (it's an access server only). I can't benchmark the server right now so let me know if you have any suggestions besides this. I do think that this was the problem. When under load images could not be accessed either.

  2. #2
    Please let me know of any sysctl or other values I should look at. I think I'm okay on Mysql and web server config. I'm mainly interested in optimizing the OS.

    Also, has anyone had experience with the LiteSpeed LSAPI server? Was the performance increase significant. Let's say I'm buying 12 servers running lighttpd, would it bring that down to 8 in your opinion? Also, do you know if their licensing when it says, 8-CPU etc, is it cool to run it on 8 different computers with 8 CPUS or is it 8 CPU in one box. I just sent a question to contact but thought'd I'd ask.

  3. #3
    Join Date
    Aug 2004
    Location
    Indonesia
    Posts
    34
    litespeed is a fast webserver. i personally also using litespeed. but the license it's to expensive.. try nginx or cherokee webserver
    Wowtutorial.org | IT Server Tutorials For Dummies

  4. #4
    Join Date
    May 2009
    Location
    On a Speck!!!!!
    Posts
    216
    nginx shall be a better choice.

  5. #5
    Yeap, Nginx is best for high performance, stability, simple configuration, and low resource consumption.
    SUPPORT FACILITY | 24/7 TECH SUPPORT
    SERVER MANAGEMENT | WEB HOSTING SUPPORT | WP EXPERTS

Similar Threads

  1. How many concurrent users?
    By j0sh78 in forum Dedicated Server
    Replies: 6
    Last Post: 11-26-2008, 05:42 AM
  2. Replies: 18
    Last Post: 11-19-2007, 02:08 PM
  3. Concurrent Users vs. Total Users
    By ty2000 in forum Web Hosting
    Replies: 4
    Last Post: 01-04-2007, 06:32 PM
  4. Concurrent Users?
    By sharewareislandCO in forum Web Hosting
    Replies: 11
    Last Post: 08-30-2006, 12:25 PM
  5. 400 concurrent users?
    By torwill in forum Dedicated Server
    Replies: 10
    Last Post: 10-03-2002, 05:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •