Get the most out of your Centmin Mod LEMP stack
Become a Member

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 Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    4:18 AM
    Nginx-1.25.x
    MariaDB 10.3.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

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    11:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    9:18 AM
    Mainline
    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 Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    4:18 AM
    Nginx-1.25.x
    MariaDB 10.3.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. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    9:18 AM
    Mainline
    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 Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    4:18 AM
    Nginx-1.25.x
    MariaDB 10.3.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. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    9:18 AM
    Mainline
    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 Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    4:18 AM
    Nginx-1.25.x
    MariaDB 10.3.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. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    9:18 AM
    Mainline
    10.2
  10. pamamolf

    pamamolf Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    4:18 AM
    Nginx-1.25.x
    MariaDB 10.3.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?
     
  11. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    11:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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.
     
  12. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    9:18 AM
    Mainline
    10.2
    Maybe but just a little.
    Because it's complicated to setup.
    And config differs on your PHP web app.
     
  13. pamamolf

    pamamolf Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    4:18 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Is this for data caching?

    Does anyone has any config for IPB ?
     
  14. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    11:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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.
     
  15. pamamolf

    pamamolf Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    4:18 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Ok last question can i use it with Zend opcahe together?
     
  16. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    11:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yes :)
     
  17. Josephm

    Josephm Active Member

    132
    44
    28
    Aug 26, 2014
    Ratings:
    +48
    Local Time:
    8:18 AM
    1.9.5
    10.0.21
    Is there any tool to benchmark connections/queries of virtual visitors to our website in the server?
     
  18. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    11:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  19. pamamolf

    pamamolf Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    4:18 AM
    Nginx-1.25.x
    MariaDB 10.3.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
  20. pamamolf

    pamamolf Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    4:18 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    How can i verify if fastcgi_cache is working or not?