Learn about Centmin Mod LEMP Stack today
Register Now

Can this server handle 1.000 users online at the same time?

Discussion in 'Dedicated server hosting' started by pamamolf, Nov 12, 2014.

  1. pamamolf

    pamamolf Well-Known Member

    2,529
    231
    63
    May 31, 2014
    Ratings:
    +394
    Local Time:
    10:39 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Hi
    Can this server handle 1.000 users online at the same time (invision forum) ?

    CPU Intel Xeon E5-1650v2
    Cores/threads 6/12t
    Frequency/burst 3,5 GHz+/3,9 GHz+
    Intel Smart Cache 12 MB
    RAM 128 GB DDR3 ECC 1600MHz
    Disks 3x 160 GB SSD - RAID5
    RAID SOFT/JBOD
    Bandwidth 500 Mbps
    Burst 1 Gbps
    Public network card 1 Gbps


    netstat -n | grep :80 |wc -l
    5.500 connections about now in the old server with:

    and is sending Avg 3mb/s network usage...

    Intel Xeon E3-1275 @ 3.40GHz
    Cores/threads 4/8t
    Ram 16GB
    Disks 4x 120 GB SSD - Hardware RAID10
    Bandwidth 200 Mbps
     
    Last edited: Nov 12, 2014
  2. eva2000

    eva2000 Administrator Staff Member

    29,031
    6,588
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,780
    Local Time:
    5:39 AM
    Nginx 1.13.x
    MariaDB 5.5
    Depends on a lot of factors including the make up of those 1,000 users, what they're doing, and how your web stack (i.e. Centmin Mod) is configured for such loads. All will vary and depend such. Unfortunately, Centmin Mod is provided as is, so I personally do not provide free optimisation advice.

    Other forum members however are free to chime in :)
     
  3. RoldanLT

    RoldanLT Well-Known Member

    3,830
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    3:39 AM
    1.11
    10.2
    I'm sure it can handle that visitors :)
    Did you count all visitors? or just login member excluding guest?
    I have mine just an E3 CPU: Server E3-SSD-3 - So you Start
    Handles 4K to 6K per seconds as of Google Analytics, but mostly 90% are Guest and Guest view are cached.

    What Hosting is this by the way?
    OVH?
     
  4. pamamolf

    pamamolf Well-Known Member

    2,529
    231
    63
    May 31, 2014
    Ratings:
    +394
    Local Time:
    10:39 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Hi :)

    Yes it is OVH and yes i count also guests.....

    What server load do you get when you have the pick time RoldanLT ?

    The only thing that i was thinking is the Soft Raid 5 if i will be ok with it ....?

    As now is using Raid 10 hardware ....but i don't think that this will be the problem....

    Also do you use MariaDB 10 and Innodb?

    The database is 31GB now on percona Innodb...
     
  5. RoldanLT

    RoldanLT Well-Known Member

    3,830
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    3:39 AM
    1.11
    10.2
    Nah even me don't have Raid setup hehe.
    It's 6PM here so traffic is above normal, and here's the load:
    upload_2014-11-12_18-43-40.png

    it's pretty low because all guest view is cached for 10 minutes.
     
  6. pamamolf

    pamamolf Well-Known Member

    2,529
    231
    63
    May 31, 2014
    Ratings:
    +394
    Local Time:
    10:39 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    How you archive that?

    Do i have to do anything after Centminmod installation to enable it?

    This load is not possible for 5k connections per second and maybe we talk for something else when we say connections :)

    Can you please run this command so we can compare?

    netstat -n | grep :80 |wc -l
     
  7. RoldanLT

    RoldanLT Well-Known Member

    3,830
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    3:39 AM
    1.11
    10.2
    yes you will have to :D
    Enable fastcgi_cache.
    By the way, the site that have those thousand of request is WP site so same cache by Wp Super cache addon and all guest are server by Nginx only.
    And other site is XenForo forum, and all guest view is server by fastcgi_cache.
     
  8. pamamolf

    pamamolf Well-Known Member

    2,529
    231
    63
    May 31, 2014
    Ratings:
    +394
    Local Time:
    10:39 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    How can i enable the fastcgi_cache and is there any size that i must configure for it?

    Thanks for your help RoldanLT !
     
  9. pamamolf

    pamamolf Well-Known Member

    2,529
    231
    63
    May 31, 2014
    Ratings:
    +394
    Local Time:
    10:39 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Does that mean that i must do an edit also on Invision forum for it?

    Why this is not enable by default on Centminmod?
     
  10. eva2000

    eva2000 Administrator Staff Member

    29,031
    6,588
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,780
    Local Time:
    5:39 AM
    Nginx 1.13.x
    MariaDB 5.5
    fastcgi_cache like nginx and varnish cache is web app specific configured. There's no one config that fits all for fastcgi_cache. So to properly enable fastcgi_cache you need to do it yourself and configure it with the full understanding of how your web app behaves and functions i.e. xenforo, invision, vbulletin etc.
     
    • Like Like x 1
  11. RoldanLT

    RoldanLT Well-Known Member

    3,830
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    3:39 AM
    1.11
    10.2
    Maybe but just a little.
    Because it's complicated to setup.
    And config differs on your PHP web app.
     
  12. pamamolf

    pamamolf Well-Known Member

    2,529
    231
    63
    May 31, 2014
    Ratings:
    +394
    Local Time:
    10:39 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Is this for data caching?

    Does anyone has any config for IPB ?
     
  13. eva2000

    eva2000 Administrator Staff Member

    29,031
    6,588
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,780
    Local Time:
    5:39 AM
    Nginx 1.13.x
    MariaDB 5.5
    Google for fastcgi_cache it's caching dynamic PHP requests only so you need to understand your web app and how it works to make sure you only cache PHP requests for guests and need to distinguish between logged in and logged out users via cookies etc. Basically, same thing as Varnish Cache except Varnish Cache can cache both static files and PHP requests while fastcgi_cache is only for PHP requests itself.
     
  14. pamamolf

    pamamolf Well-Known Member

    2,529
    231
    63
    May 31, 2014
    Ratings:
    +394
    Local Time:
    10:39 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Ok last question can i use it with Zend opcahe together?
     
  15. eva2000

    eva2000 Administrator Staff Member

    29,031
    6,588
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,780
    Local Time:
    5:39 AM
    Nginx 1.13.x
    MariaDB 5.5
    yes :)
     
  16. Josephm

    Josephm Active Member

    126
    43
    28
    Aug 26, 2014
    Ratings:
    +45
    Local Time:
    2:39 AM
    1.9.5
    10.0.21
    Is there any tool to benchmark connections/queries of virtual visitors to our website in the server?
     
  17. eva2000

    eva2000 Administrator Staff Member

    29,031
    6,588
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,780
    Local Time:
    5:39 AM
    Nginx 1.13.x
    MariaDB 5.5
  18. pamamolf

    pamamolf Well-Known Member

    2,529
    231
    63
    May 31, 2014
    Ratings:
    +394
    Local Time:
    10:39 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    As i know there is a sample for this (fastcgi_cache) for Xenforo and Wordpres but not for IPB and RoldanLT is helping me to configure it :)

    Let's hope that he will find how to do it as ipb is using the same cookie for guests and registered members :(

    If anyone else has already done that please post here for any tips :)

    Thanks
     
    Last edited: Nov 14, 2014
    • Like Like x 1
  19. pamamolf

    pamamolf Well-Known Member

    2,529
    231
    63
    May 31, 2014
    Ratings:
    +394
    Local Time:
    10:39 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    How can i verify if fastcgi_cache is working or not?