How to configure ispconfig for a vhost with 1500 aliases

Discussion in 'Installation/Configuration' started by vistree, Jan 29, 2018.

  1. vistree

    vistree Member HowtoForge Supporter

    Hi forum,
    I have a ispconfig 3 server based on Debian Jessie. Server is set up using the "The Perfect Server - Debian 8.4 Jessie (Apache2, BIND, Dovecot, ISPConfig 3.1)" guide. There are just a view vhosts set up - but one has around 1500 alias domains defined.
    Server hardware is
    • Intel Xeon E5-1650 v2 Hexa Core
    • 64 GB DDR3 ECC
    • 2× 240 GB SATA3 Data Center Series SSD
    The website uses Drupal (a PHP based CMS) to provide content in a mult-domain setup.
    Everything seems to be fine - but after some time the websites can not be reached anymore. And - the real cracy thing: the server load is really low (AVG < 1 + RAM still available and not swapping).
    So it seems, that there must be a limit in the number of connections or a internal configuration problem. But I can't find the problem ;-(
    I set up the website (with the 1500 alias domains) to use Fast-CGI. I already tried to increase the
    MaxRequestsPerProcess 2000
    And to set mysql max_connectons + max_user_connections also to 2000
    How can I find out where the real problem is? How to setup the vhost in ISPconfig best for such a lot of alias domains?
    I am happy for all suggestions!!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The first thing you should try s to use php-fpm, which is the modern version of fast-cgi. Then you should consider installing a monitoring software like munin which monitors many server variables which might help you to find out where the bottleneck is.
     
  3. vistree

    vistree Member HowtoForge Supporter

    Hi Till,
    thanx for your hints.. Do you have some suggestions for the php-fpm for the hardware / number of vhosts I descried in my first post?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    I never tried to add so many alias domains in a single vhost, so I can't tell you which settings are required for that.
     
  5. matb9899

    matb9899 New Member

    Hello Till, I know it's an old thread, but how is the better way to define a server (vhosts) with multiple domains, say 10 or 20 domains?
     
  6. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    20 should be fine I think.
     
  7. matb9899

    matb9899 New Member

    if I'm allowed to expand the question, how can I isolate the individual vhosts one from the other? Thanks in advance for the answer
     

Share This Page