Web services (HTTP, MySQL frozen)

  • I use i-MSCP 1.2.2 (Build: 20150212 Codename: Andromeda).


    The global apache conf is in /etc/apache2/apache2.conf ?


    I have exactly 70 domains with "average" small traffic (cca. 100 visitor/day/domain).


    Here are the main settings:


  • Hi,


    that are the standard settings. Check with

    Code
    1. apache2 -V


    which Server MPM is used. I think it is "Worker". So you have only edit the settings in <IfModule mpm_worker_module>. Raise MaxClients to 250 and have a look to your server.


    Greets
    Chris

  • You have right! :)


  • I'd suggest you:


    <IfModule mpm_worker_module>
    ServerLimit 40
    StartServers 8
    MinSpareThreads 25
    MaxSpareThreads 75
    ThreadsPerChild 25
    MaxClients 1000
    MaxRequestsPerChild 4000
    </IfModule>


    Maybe, enought

    Edited once, last by rauschr ().

  • @rauschr


    Bad idea.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hello


    I am having a similar problem.


    I have:
    # Ubuntu 14.04 (Upgraded from Ubuntu 12.04)
    # i-mscp 1.2.9
    # php5-fpm selected


    Suddenly my website "domainA.de" is not reachable anymore. The Server ist up and running so i can log in via SSH.
    Another Domain "domainB.de" which is on the same Server is running correctly.


    I dont know which log files can i check.


    I have check file: /var/log/apache2/domainA.de/error.log


    Which has a lot of entries:
    Other Websites dont have those entries...!

    Shell-Script
    1. [Thu Nov 05 22:55:12.838510 2015] [fastcgi:error] [pid 8724:tid 140236411610880] [client 11.111.11.111:53975] FastCGI: comm with server "/var/lib/apache2/fastcgi/php5-fcgi-domainA.de-ssl" aborted: idle timeout (900 sec)[Thu Nov 05 22:55:12.838540 2015] [fastcgi:error] [pid 8724:tid 140236536764160] [client 11.111.11.111:53971] FastCGI: comm with server "/var/lib/apache2/fastcgi/php5-fcgi-domainA.de-ssl" aborted: idle timeout (900 sec)[Thu Nov 05 22:55:12.838664 2015] [fastcgi:error] [pid 8724:tid 140236411610880] [client 11.111.11.111:53975] FastCGI: incomplete headers (0 bytes) received from server "/var/lib/apache2/fastcgi/php5-fcgi-domainA.de-ssl"[Thu Nov 05 22:55:12.838703 2015] [fastcgi:error] [pid 8724:tid 140236536764160] [client 11.111.11.111:53971] FastCGI: incomplete headers (0 bytes) received from server "/var/lib/apache2/fastcgi/php5-fcgi-domainA.de-ssl"[Thu Nov 05 22:55:12.839237 2015] [fastcgi:error] [pid 9802:tid 140236352861952] [client 11.111.11.111:53972] FastCGI: comm with server "/var/lib/apache2/fastcgi/php5-fcgi-domainA.de-ssl" aborted: idle timeout (900 sec)[Thu Nov 05 22:55:12.839297 2015] [fastcgi:error] [pid 9802:tid 140236352861952] [client 11.111.11.111:53972] FastCGI: incomplete headers (0 bytes) received from server "/var/lib/apache2/fastcgi/php5-fcgi-domainA.de-ssl"[Thu Nov 05 22:55:12.839643 2015] [fastcgi:error] [pid 8724:tid 140236336076544] [client 11.111.11.111:53974] FastCGI: comm with server "/var/lib/apache2/fastcgi/php5-fcgi-domainA.de-ssl" aborted: idle timeout (900 sec)[Thu Nov 05 22:55:12.839685 2015] [fastcgi:error] [pid 8724:tid 140236336076544] [client 11.111.11.111:53974] FastCGI: incomplete headers (0 bytes) received from server "/var/lib/apache2/fastcgi/php5-fcgi-domainA.de-ssl"[Thu Nov 05 22:55:12.839989 2015] [fastcgi:error] [pid 8724:tid 140236361254656] [client 11.111.11.111:53973] FastCGI: comm with server "/var/lib/apache2/fastcgi/php5-fcgi-domainA.de-ssl" aborted: idle timeout (900 sec)[Thu Nov 05 22:55:12.840028 2015] [fastcgi:error] [pid 8724:tid 140236361254656] [client 11.111.11.111:53973] FastCGI: incomplete headers (0 bytes) received from server "/var/lib/apache2/fastcgi/php5-fcgi-domainA.de-ssl"[Thu Nov 05 22:55:12.886359 2015] [fastcgi:error] [pid 8724:tid 140236319291136] [client 11.111.11.111:53970] FastCGI: comm with server "/var/lib/apache2/fastcgi/php5-fcgi-domainA.de-ssl" aborted: idle timeout (900 sec)[Thu Nov 05 22:55:12.886481 2015] [fastcgi:error] [pid 8724:tid 140236319291136] [client 11.111.11.111:53970] FastCGI: incomplete headers (0 bytes) received from server "/var/lib/apache2/fastcgi/php5-fcgi-domainA.de-ssl"

    HDD

    Shell-Script
    1. Filesystem Size Used Avail Use% Mounted on/dev/xvda1 46G 26G 18G 61% /none 4.0K 0 4.0K 0% /sys/fs/cgroupudev 3.9G 4.0K 3.9G 1% /devtmpfs 802M 292K 802M 1% /runnone 5.0M 0 5.0M 0% /run/locknone 4.0G 0 4.0G 0% /run/shmnone 100M 0 100M 0% /run/user


    MEMORY

    Shell-Script
    1. total used free shared buffers cached
    2. Mem: 8017 7423 593 48 252 6221
    3. -/+ buffers/cache: 949 7067
    4. Swap: 4092 0 4092