• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Couple of Apache and Fcgi Errors

slayer1ss

Basic Pleskian
Hi, sorry to ask you this here but i have been searching all internet for almost 2 days and i couldnt find a solution to below issues hope someone here can help me...

I have a 8core 16gb ram server with Centos 7, Plesk 12.5.30 MU#3, Apache 2.4, Nginx, Php 5.4.45 and mod_pagespeed installed, this server is hosting only 2 websites with total of 5-6k visitors daily... Everything is working good but lately i have been getting below errors and time to time uptimerobot sends me mail saying that one of the pages is unaccessible, when i check the website i only see a white page, no errors or anything and after about 5min it just starts working again...

[core:error] AH00135: Invalid method in request quit
[core:error] End of script output before headers: crawler.php
[core:notice] AH00052: child pid 13885 exit signal Segmentation fault (11)
[fcgid:error] mod_fcgid: process /var/www/cgi-bin/cgi_wrapper/cgi_wrapper(19106) exit(communication error), get unexpected signal 11
[fcgid:emerg] (22)Invalid argument: mod_fcgid: can't lock process table in pid 7047

Right now my config is like this;
httpd.conf
Code:
LimitRequestBody 0
LimitRequestFieldsize 8190
LimitRequestFields 100
LimitRequestLine 8190
LimitXMLRequestBody 1000000
Timeout 300
KeepAlive On
MaxKeepAliveRequests 768
KeepAliveTimeout 5
<IfModule prefork.c>
StartServers 512
MinSpareServers 256
MaxSpareServers 512
ServerLimit 7500
MaxClients 7500
MaxRequestsPerChild 10000
</IfModule>

fcig.conf
Code:
FcgidIdleTimeout 600
FcgidProcessLifeTime 7200
FcgidMaxProcesses 300
FcgidMaxProcessesPerClass 8
FcgidMaxRequestLen 786432000
FcgidMinProcessesPerClass 0
FcgidConnectTimeout 600
FcgidIOTimeout 600
FcgidInitialEnv RAILS_ENV production
FcgidIdleScanInterval 90
FcgidMaxRequestsPerProcess 1000
FcgidBusyTimeout 630


Also it is unreleated to this but, on Tools & Settings > Services Management page it says that SMTP Server (Postfix) is not working when it is actually working and when i press start button nothing happens...
 
Hi slayer1ss,

[core:error] AH00135: Invalid method in request quit
[core:error] End of script output before headers: crawler.php
[core:notice] AH00052: child pid 13885 exit signal Segmentation fault (11)
[fcgid:error] mod_fcgid: process /var/www/cgi-bin/cgi_wrapper/cgi_wrapper(19106) exit(communication error), get unexpected signal 11
[fcgid:emerg] (22)Invalid argument: mod_fcgid: can't lock process table in pid 7047

Segmentation faults ( error code 11 ) are mostly memory issues.
Consider as well core dump usage, Please have a look at:


... to investigate the mod_fcgid failures.

In some cases, a PHP version change can solve issues, depending on your content of a domain.

It can help as well to change the PHP - handler or/and serve some files over nginx, depending on your content of a domain.

Please post as well your "crawler.php", for investigations.
 
Back
Top