mod_fcgid: can't apply process

Discussion in 'Installation/Configuration' started by m2hewitt, May 2, 2018.

Tags:
  1. m2hewitt

    m2hewitt New Member

    Hi Guys,

    i have a problem with the mod_fcgid, sometimes is exhausted how can i improve this situation? i must to update php7? i can see all of my sites are running not fast.

    Server details:
    ISPConfig 3.1.8p1
    Apache2
    Debian 8
    PHP5

    Code:
    Wed May 02 14:26:07.991083 2018] [fcgid:warn] [pid 11017] (32)Broken pipe: [client 199.16.157.182:30126] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
    [Wed May 02 14:26:08.449538 2018] [fcgid:warn] [pid 11029] (32)Broken pipe: [client 54.207.33.42:26521] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
    [Wed May 02 14:26:08.503949 2018] [fcgid:warn] [pid 10960] (32)Broken pipe: [client 54.207.33.42:14200] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
    [Wed May 02 14:31:51.580827 2018] [fcgid:warn] [pid 11553] (32)Broken pipe: [client 54.207.33.42:47107] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
    [Wed May 02 14:31:51.612273 2018] [fcgid:warn] [pid 11550] (32)Broken pipe: [client 54.207.33.42:8154] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
    [Wed May 02 16:12:14.190002 2018] [fcgid:warn] [pid 17742] (32)Broken pipe: [client 186.143.133.99:37925] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: https://www.google.com.ar/
    [Wed May 02 16:18:33.959597 2018] [fcgid:warn] [pid 18012] [client 201.255.86.23:38711] mod_fcgid: can't apply process slot for /var/www/php-fcgi-scripts/web2/.php-fcgi-starter, referer: http://m.facebook.com/
    [Wed May 02 16:18:37.121477 2018] [fcgid:warn] [pid 17972] [client 54.36.149.12:58504] mod_fcgid: can't apply process slot for /var/www/php-fcgi-scripts/web2/.php-fcgi-starter
    [Wed May 02 16:18:49.186754 2018] [fcgid:warn] [pid 18009] [client 201.255.86.23:38714] mod_fcgid: can't apply process slot for /var/www/php-fcgi-scripts/web2/.php-fcgi-starter, referer: http://m.facebook.com/
    [Wed May 02 16:18:51.048592 2018] [fcgid:warn] [pid 18043] [client 40.77.167.100:1826] mod_fcgid: can't apply process slot for /var/www/php-fcgi-scripts/web2/.php-fcgi-starter
    [Wed May 02 16:18:55.379068 2018] [fcgid:warn] [pid 18045] [client 186.143.201.213:29251] mod_fcgid: can't apply process slot for /var/www/php-fcgi-scripts/web2/.php-fcgi-starter, referer: http://m.facebook.com/
    
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This does not depend on the PHP version. Try to raise the FcgidMaxProcesses limit for that website.
     
  3. m2hewitt

    m2hewitt New Member

    I already increased but the apache can't start., another option?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Which error do you get in the global apache error.log wheen apache doe snot start?
     
  5. m2hewitt

    m2hewitt New Member

    just this on the promt, en apache error log can find nothing.
    here are the settings:
    FcgidMaxProcesses 1000
    FcgidMaxProcessesPerClass 100


    Code:
    root@mail:/etc/apache2/sites-available# systemctl status apache2.service
    ● apache2.service - LSB: Apache2 web server
       Loaded: loaded (/etc/init.d/apache2)
      Drop-In: /lib/systemd/system/apache2.service.d
               └─forking.conf
       Active: failed (Result: exit-code) since Wed 2018-05-02 16:36:53 -03; 20s ago
      Process: 19073 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
      Process: 16711 ExecReload=/etc/init.d/apache2 reload (code=exited, status=0/SUCCESS)
      Process: 19102 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
    
    May 02 16:36:53 mail.digitaldepartment.com.ar apache2[19102]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/0...g.conf:73
    May 02 16:36:53 mail.digitaldepartment.com.ar apache2[19102]: [Wed May 02 16:36:53.410859 2018] [alias:warn] [pid 19110] AH00671: The Alias directive in /etc/apache2/sit...er Alias.
    May 02 16:36:53 mail.digitaldepartment.com.ar apache2[19102]: [Wed May 02 16:36:53.410920 2018] [alias:warn] [pid 19110] AH00671: The Alias directive in /etc/apache2/sit...er Alias.
    May 02 16:36:53 mail.digitaldepartment.com.ar apache2[19102]: AH00526: Syntax error on line 61 of /etc/apache2/sites-enabled/900-timingpolitico.com.ar.vhost:
    May 02 16:36:53 mail.digitaldepartment.com.ar apache2[19102]: FcgidMaxProcesses cannot occur within <VirtualHost> section
    May 02 16:36:53 mail.digitaldepartment.com.ar apache2[19102]: Action 'configtest' failed.
    May 02 16:36:53 mail.digitaldepartment.com.ar apache2[19102]: The Apache error log may have more information.
    May 02 16:36:53 mail.digitaldepartment.com.ar systemd[1]: apache2.service: control process exited, code=exited status=1
    May 02 16:36:53 mail.digitaldepartment.com.ar systemd[1]: Failed to start LSB: Apache2 web server.
    May 02 16:36:53 mail.digitaldepartment.com.ar systemd[1]: Unit apache2.service entered failed state.
    Hint: Some lines were ellipsized, use -l to show 
     
  6. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    May 02 16:36:53 mail.digitaldepartment.com.ar apache2[19102]: AH00526: Syntax error on line 61 of /etc/apache2/sites-enabled/900-timingpolitico.com.ar.vhost:
    May 02 16:36:53 mail.digitaldepartment.com.ar apache2[19102]: FcgidMaxProcesses cannot occur within <VirtualHost> section
    May 02 16:36:53 mail.digitaldepartment.com.ar apache2[19102]: Action 'configtest' failed

    this is why it's not starting. without seeing the vhost configuration, I don't know if FcgidMaxProcesses is the problem on line 61 or something else.
     
  7. m2hewitt

    m2hewitt New Member

    Yes bro, you are right, seems like that the both lines not run on this version, i dont know
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you tried setting them outside of the vhost?
     
  9. m2hewitt

    m2hewitt New Member

    The keys run ok outside the vhost!

    Thank for your support!
     

Share This Page