ISPConfig - High Traffic Wordpress Page - Cluster?

Discussion in 'Installation/Configuration' started by iceget, Nov 24, 2020.

  1. iceget

    iceget Member

    dear community,
    i have the following question:
    on my dedicated server (xeon processor, 128 gb ram, 4 x 4 TB SATA HDDs RAID10 and 1 GBit Up/Download) i have installed the current version of ispconfig with latest setup.
    now i had the issue (i have installed php fast cgi 7.4), if more then 1000 users comes to my wordpress live page (with a live for youtube).
    in this time my server was not overloaded (not network, not ram or cpu) but the most users of them get the error connection refused in chrome.
    but the load was on the server not much high, ...

    now my question:
    how i can configure my server with latest ispconfig for optimal configuration (1000 users or more at the same time)? did anybody has the same setup? my plan is currently (i dont know whats happened) that i install 3 same servers with ispconfig +HA proxy as load balancer (maybe mysql cluster) for round robing.

    is this needed or is it enough to optimize the serverconfiguration?

    i have 2 big wordpress sites on my servers and i should get the best performance from the system.

    can anybody tell me how i can do the best setup for this purpose? sometimes i have a live stream on youtube with much users, all these users goes over my website to the live stream. but the live stream comes from youtube. but i had the problem if all users goes at the same time to my website, that then i got the connection refused from chrome (apache server).

    many greets ice

    Attached Files:

  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    I think your server should be able to handle that. Can you share the exact error they get? Do you see anything related to it in the error log for that website? Could it be that your network can't handle the load (where is this server located?)?
  3. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Setting up an external cdn is probably much easier than installing multiple load balanced servers.

    As for your performance, ensure your database has lots of resources (start with max_connections, which might default to 100). You might also play with php daemon settings, eg. try php-fpm dynamic mode (not ondemand) and bump up the settings.

    It seems like there were some pretty good "improve wordpress performance" tips posted here in the last 2-3 weeks that you could search for, but other places might focus on wordpress specifics more (and those can be very significant).
  4. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    You already have enough for HW. Is your setup using nginx or apache2? Using nginx is much easier IMO.
    Last edited: Nov 27, 2020
  5. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    if you're server's not under high load and visitors beyond a certain level start getting connection problems, then start looking at your webserver settings, the php handler, maxservers maxspareservers etc. and your mysql max connections.

    then start looking at mysql caching, php caching. install decent wordpress cache plugins, use varnish for full page caching, etc.

Share This Page