apache2 + mod_fcgid

  • Hi, i have a problem on a new installation imscp.
    After some time the proper operation of the service, everything stops working. The system log information:


    Code
    1. [Mon Sep 14 14:21:30.180412 2015] [fcgid:emerg] [pid 5057:tid 140304912975616] (35)Resource deadlock avoided: [client 91.204.152.242:53954] mod_fcgid: can't lock process table in pid 5057[Mon Sep 14 14:21:45.325656 2015] [fcgid:emerg] [pid 4891:tid 140304862619392] (35)Resource deadlock avoided: [client 94.254.133.118:50646] mod_fcgid: can't get pipe mutex, referer: http://...[Mon Sep 14 14:22:50.420520 2015] [fcgid:emerg] [pid 4929:tid 140304862619392] (35)Resource deadlock avoided: [client 188.116.52.133:46575] mod_fcgid: can't get pipe mutex[Mon Sep 14 14:23:14.312690 2015] [fcgid:emerg] [pid 5182:tid 140304963331840] (35)Resource deadlock avoided: [client 94.254.133.118:50629] mod_fcgid: can't get pipe mutex, referer: http://...[Mon Sep 14 14:26:12.753359 2015] [fcgid:emerg] [pid 5750:tid 139805329381120] (35)Resource deadlock avoided: [client 89.229.109.62:64154] mod_fcgid: can't get pipe mutex, referer: http://...


    only helps restart apache2


    Config file:


    fcgid_imscp.conf

    Code
    1. <IfModule fcgid_module> AddHandler fcgid-script .php .php5 FcgidConnectTimeout 45 FcgidMaxRequestsPerProcess 1200 FcgidMaxRequestLen 1073741824 FcgidPassHeader AUTHORIZATION FcgidFixPathinfo 1 FcgidIOTimeout 600 FcgidBusyTimeout 7200 FcgidBusyScanInterval 240 FcgidIdleScanInterval 40 FcgidIdleTimeout 120 FcgidProcessLifeTime 300 FcgidMaxProcesses 1000 FcgidMaxProcessesPerClass 8 FcgidMinProcessesPerClass 0</IfModule>


    mpm_worker.conf


    Code
    1. <IfModule mpm_worker_module>
    2. StartServers 5
    3. MinSpareThreads 25
    4. MaxSpareThreads 75
    5. ThreadLimit 64
    6. ThreadsPerChild 25
    7. MaxRequestWorkers 256
    8. MaxConnectionsPerChild 1000
    9. </IfModule>

    Linux sd50120 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u3 (2015-08-04) x86_64 GNU/Linux
    /etc/debian_version
    8.1


    apache2 -v
    Server version: Apache/2.4.10 (Debian)
    Server built: Aug 28 2015 16:28:08


    php -v
    PHP 5.6.9-0+deb8u1 (cli) (built: Jun 5 2015 11:03:27)
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
    with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies


    and php old v.


    /opt/php-fcgid/5.3/bin/php-cgi -v
    PHP 5.3.28 (cgi-fcgi) (built: Aug 8 2015 12:05:53)
    Copyright (c) 1997-2013 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies

  • well ... after the change prefork no logs have information that pasting.
    Pages that are running on the server after some time cease to operate.
    Only helps restart apache. Maybe someone has met with such a problem?