• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Apache hangs (mod_fcgid) with Debian 7

waterboy

New Pleskian
Hi,

after doing lots of updating, apache tends to hang, with the log showing many

[warn] mod_fcgid: too much processes, please increase FCGID_MAX_APPLICATION​

System info from Plesk:

CPU Intel(R) Xeon(R) CPU E3-1271 v3 @ 3.60GHz (8 core(s))
Version Plesk Onyx v17.0.17_build1700161028.14 os_Debian 7.0
OS Debian 7.11​

This seems to directly address the issue: https://kb.plesk.com/en/130473

The path seems to be valid for Debian 8 only, though (and not sure about the arch). How can I patch my system?

Thanks you :)
 
Hi warerboy,

have you create a ticket to plesk support ?

We have the same issue on a customer server with the same setup

Version Plesk Onyx v17.0.17
17.0.17 Debian 7.0 1700161117.16
OS Debian 7.11

greetings
Carsten
 
You need to find where your files are in debian, i can only help for centos, but apache is apache, its the same.

Find fcgid.conf setup in /etc/httpd/conf.d

Adjust it to your needs, google for what others use and have to say about it. fine-tune over some period of time to see what works the best for your type of websites.

Ours is

Code:
# This is the Apache server configuration file for providing FastCGI support
# via mod_fcgid
#
# Documentation is available at http://fastcgi.coremail.cn/doc.htm

LoadModule fcgid_module modules/mod_fcgid.so

<IfModule mod_fcgid.c>

<IfModule !mod_fastcgi.c>
    AddHandler fcgid-script fcg fcgi fpl
</IfModule>

  FcgidIPCDir /var/run/mod_fcgid/sock
  FcgidProcessTableFile /var/run/mod_fcgid/fcgid_shm

##FcgidIdleTimeout default = 300
   FcgidIdleTimeout 300

##FcgidProcessLifeTime default = 3600
#  FcgidProcessLifeTime 300

##FcgidMaxProcesses default = 1000
#  FcgidMaxProcesses 32

##FcgidMaxProcessesPerClass default = 100
#  FcgidMaxProcessesPerClass 32
#  FcgidMinProcessesPerClass 0
  FcgidConnectTimeout 30
  FcgidIOTimeout 300
  FcgidInitialEnv RAILS_ENV production
  FcgidIdleScanInterval 10
  FcgidMaxRequestLen 1073741824


</IfModule>

## = the default, commented if we use the default but left in there to know it
# = what was originaly there

save and restart apache.

You might want to empty /var/run/mod_fcgid/sock/ from time to time, just to clean up.

AGAIN: these are paths on centos, on debian it might be in an other location.

hope this helps
regards
Jan
 
Thank you - very helpful. I've upped the limit a bit in the conf file and will see if it helps. Not much server load anyway, but only started to happen after the update; so hopefully this fixes the problem.
 
Plesk sometimes overwrites fcgid.conf at an update. Simply get your old back from a backup, restart apache and your good to go (till the next update).

We have monitors in place that mail us when files are changed we don't want changed.

regards
Jan
 
Back
Top