Re: [users@httpd] mod_fcgid: can't apply process slot

2025-06-19 Thread Lars Noodén
On 6/9/25 12:36, Lars Noodén wrote: Hello, I have a FastCGI script working with Apache2 on one system, but seem to have missed something while trying to port it over to another system. On the new system, the browser takes a long time before finally returning a "503 Service Unavailable" messag

[users@httpd] mod_fcgid: can't apply process slot

2025-06-09 Thread Lars Noodén
Hello, I have a FastCGI script working with Apache2 on one system, but seem to have missed something while trying to port it over to another system. On the new system, the browser takes a long time before finally returning a "503 Service Unavailable" message. When that happens, the log file

Re: [users@httpd] mod_fcgid: can't apply process slot for

2013-12-08 Thread James
Hi Igor, Thanks for showing me your configuration. I'm not so sure what exactly is missing to my configuration but it seems there's specifically fastcgi settings needs to tweak in order to cure the timeout and that's I need to know at this moment. I am hoping to hear and share everyone's knowled

Re: [users@httpd] mod_fcgid: can't apply process slot for

2013-12-05 Thread Igor Cicimov
This is from one of my configurations, have a look and compare maybe you'll find something you are missing. AddHandler fcgid-script .fcgi .php #SocketPath /var/lib/apache2/fcgid/sock SocketPath /tmp/fcgid/sock # Communication timeout: Default value is 20 seconds #IPCCommTimeout 60 #Fc

Re: [users@httpd] mod_fcgid: can't apply process slot for

2013-12-05 Thread James
That make sense Jeff. Thanks! I have one issue I've noticed on my php application. When my PHP application is performing some backups, I got the error of the following. "Timed out while waiting for session lock. Wait for your current requests to finish and try again later." Internal Server Error

Re: [users@httpd] mod_fcgid: can't apply process slot for

2013-12-05 Thread Jeff Trawick
On Thu, Dec 5, 2013 at 1:52 AM, James wrote: > Thanks Igor. > > Some said the reason of that error message "mod_fcgid: can't apply process > slot" is because it has hitting a global limit of FcgidMaxProcesses and a > per-script limit of FcgidMaxProcessesPerClass. With that explanation, I'm > cur

Re: [users@httpd] mod_fcgid: can't apply process slot for

2013-12-04 Thread James
Thanks Igor. Some said the reason of that error message "mod_fcgid: can't apply process slot" is because it has hitting a global limit of FcgidMaxProcesses and a per-script limit of FcgidMaxProcessesPerClass. With that explanation, I'm curious what is the caused of high FastCGI application proces

Re: [users@httpd] mod_fcgid: can't apply process slot for

2013-12-04 Thread Igor Cicimov
>From the module man page: Description: Max requests handled by *each FastCGI application* Syntax: FcgidMaxRequestsPerProcess value Default: FcgidMaxRequestsPerProcess 0 *Context: server config, virtual host* Status: External Module: mod_fcgid this setting can be applied on server and/or vhost co

Re: [users@httpd] mod_fcgid: can't apply process slot for

2013-12-04 Thread James
Hi Igor, Thanks for your reply. If I will set the value FcgidMaxRequestsPerProcess on virtual host, would it be effected for domain.com only and not the rest of domain? Thanks. On Thu, Dec 5, 2013 at 10:46 AM, Igor Cicimov wrote: > FcgidMaxRequestsPerProcess must be <= to PHP_FCGI_MAX_REQUES

Re: [users@httpd] mod_fcgid: can't apply process slot for

2013-12-04 Thread Igor Cicimov
FcgidMaxRequestsPerProcess must be <= to PHP_FCGI_MAX_REQUESTS On Thu, Dec 5, 2013 at 12:05 PM, James wrote: > Hi there, > > I have the following: > > *Server specs:* > Memory = 7G > CPU = 2 > > *Packages:* > httpd-2.2.25 > mod_fcgid-2.3.7 > php-5.3.27 > > $ grep -v "#" /etc/httpd/conf.d/fcgid.

[users@httpd] mod_fcgid: can't apply process slot for

2013-12-04 Thread James
Hi there, I have the following: *Server specs:* Memory = 7G CPU = 2 *Packages:* httpd-2.2.25 mod_fcgid-2.3.7 php-5.3.27 $ grep -v "#" /etc/httpd/conf.d/fcgid.conf .. LoadModule fcgid_module modules/mod_fcgid.so AddHandler fcgid-script fcg fcgi fpl Fcg