Posts by vzst

    Hello all,
    I have a problem with the operation of websites that I manage by IMSCP.
    I am currently using manually compiled php 5.3.29 and fcgid.


    Code
    1. <IfModule fcgid_module> AddHandler fcgid-script .php .php3 .php4 .php5 .php7 .pht .phtmlFcgidMaxProcesses 15FcgidFixPathinfo 1FcgidProcessLifeTime 0FcgidTimeScore 3FcgidZombieScanInterval 10FcgidMaxRequestsPerProcess 0FcgidMaxRequestLen 33554432FcgidIOTimeout 60</IfModule>


    Apache/2.4.10 mpm_event



    Code
    1. <IfModule mpm_event_module> StartServers 2 MinSpareThreads 300 MaxSpareThreads 800 ThreadLimit 360 ThreadsPerChild 50 MaxRequestWorkers 600 MaxConnectionsPerChild 0</IfModule>


    php-fcgi-starter


    Shell-Script
    1. #!/bin/shumask 027export PHPRC=/var/www/fcgi/.pl/php5/export PHP_FCGI_MAX_REQUESTS=1000export PHP_FCGI_CHILDREN=0export TMPDIR=/var/www/virtual/.pl/phptmp#exec /usr/bin/php5-cgi "$@"exec /opt/php-fcgid/5.3.29.ftssl/bin/php-cgi "$@"



    the problem I have is frequent 503 errors on different domains with different URLs example:


    maybe someone had a similar problem and knows how to deal with it?

    Hello all,
    my user somehow deleted the directory 'phptmp' from homedir.
    When I try to recreate it I get an error with no access, I remember somehow unlocking a directory with a user, but I do not remember how ... Can anyone remind me how it was done?


    Code
    1. mkdir phptmp
    2. mkdir: unable to create directory "phptmp": no access

    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?

    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