mod_fcgid (HEAD) spewing "too much processes, please increase
mod_fcgid (HEAD) spewing "too much processes, please increase
am 24.02.2010 05:32:00 von PGNet Dev
I'm running,
httpd2 -V
Server version: Apache/2.2.14 (Linux/SUSE)
Server built: Feb 19 2010 19:43:22
Server's Module Magic Number: 20051115:23
Server loaded: APR 1.3.8, APR-Util 1.3.9
Compiled using: APR 1.3.8, APR-Util 1.3.9
Architecture: 32-bit
Server MPM: Worker
threaded: yes (fixed thread count)
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/worker"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/srv/www"
-D SUEXEC_BIN="/usr/sbin/suexec2"
-D DEFAULT_PIDLOG="/var/run/httpd2.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="/var/log/apache2/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"
and,
cd /usr/local/src/mod_fcgid
svn info
Path: .
URL: http://svn.apache.org/repos/asf/httpd/mod_fcgid/trunk
Repository Root: http://svn.apache.org/repos/asf
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 915656
Node Kind: directory
Schedule: normal
Last Changed Author: chrisd
Last Changed Rev: 909672
Last Changed Date: 2010-02-12 16:49:29 -0800 (Fri, 12 Feb 2010)
At, e.g., launch of a second app @ server, logs show only,
==> /var/log/apache2/error_log <==
[Tue Feb 23 19:56:58 2010] [warn] mod_fcgid: too much processes,
please increase FCGID_MAX_APPLICATION
[Tue Feb 23 19:56:59 2010] [warn] mod_fcgid: too much processes,
please increase FCGID_MAX_APPLICATION
[Tue Feb 23 19:57:00 2010] [warn] mod_fcgid: too much processes,
please increase FCGID_MAX_APPLICATION
[Tue Feb 23 19:57:01 2010] [warn] mod_fcgid: too much processes,
please increase FCGID_MAX_APPLICATION
[Tue Feb 23 19:57:02 2010] [warn] mod_fcgid: too much processes,
please increase FCGID_MAX_APPLICATION
[Tue Feb 23 19:57:03 2010] [warn] mod_fcgid: too much processes,
please increase FCGID_MAX_APPLICATION
[Tue Feb 23 19:57:04 2010] [warn] mod_fcgid: too much processes,
please increase FCGID_MAX_APPLICATION
[Tue Feb 23 19:57:05 2010] [warn] mod_fcgid: too much processes,
please increase FCGID_MAX_APPLICATION
[Tue Feb 23 19:57:06 2010] [warn] mod_fcgid: too much processes,
please increase FCGID_MAX_APPLICATION
[Tue Feb 23 19:57:07 2010] [warn] mod_fcgid: too much processes,
please increase FCGID_MAX_APPLICATION
[Tue Feb 23 19:57:08 2010] [warn] mod_fcgid: too much processes,
please increase FCGID_MAX_APPLICATION
[Tue Feb 23 19:57:09 2010] [warn] mod_fcgid: too much processes,
please increase FCGID_MAX_APPLICATION
[Tue Feb 23 19:57:10 2010] [warn] mod_fcgid: too much processes,
please increase FCGID_MAX_APPLICATION
[Tue Feb 23 19:57:11 2010] [warn] mod_fcgid: too much processes,
please increase FCGID_MAX_APPLICATION
[Tue Feb 23 19:57:12 2010] [warn] mod_fcgid: too much processes,
please increase FCGID_MAX_APPLICATION
...
There's no documentation -- or even mention -- of FCGID_MAX_APPLICATION @,
http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html
In source, @ ./modules/fcgid/fcgid_proctbl.h,
...
/* Increase it if necessary */
#define FCGID_MAX_APPLICATION (1024)
...
Not quite 'explanatory' :-/ So, randomly changing
- #define FCGID_MAX_APPLICATION (1024)
+ #define FCGID_MAX_APPLICATION (4096)
rebuilding, reinstalling, restarting ... makes no difference. Same error.
What's *is* FCGID_MAX_APPLICATION?
What's the error signifying?
What are the guidelined for setting this paramaeter?
Where can it be set? Only in src @ build time?
Thanks.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: mod_fcgid (HEAD) spewing "too much processes,
am 24.02.2010 13:27:27 von Jeff Trawick
On Tue, Feb 23, 2010 at 11:32 PM, PGNet Dev wr=
ote:
> At, e.g., launch of a second app @ server, logs show only,
>
> =A0 =A0 =A0 ==3D> /var/log/apache2/error_log <==
> =A0 =A0 =A0 =A0[Tue Feb 23 19:56:58 2010] [warn] mod_fcgid: too much proc=
esses,
> please increase FCGID_MAX_APPLICATION
Since changing FCGID_MAX_APPLICATION to 4096 didn't help, I guess
you've encountered some sort of defect that causes a false detection
of too many processes. Although it is not going to solve your
problem, we can improve this particular message as well to indicate
the current value, that it is changed in the src, and requires a
rebuild.
We can leave off docs@ for now.
What is the OS and how many instances (processes) of your two apps
were running when this message was generated? With LogLevel debug,
what messages are written by mod_fcgid to the error log up until the
first failure?
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: mod_fcgid (HEAD) spewing "too much processes,
am 24.02.2010 17:50:44 von PGNet Dev
On Wed, Feb 24, 2010 at 4:27 AM, Jeff Trawick wrote:
> Since changing FCGID_MAX_APPLICATION to 4096 didn't help, I guess
> you've encountered some sort of defect that causes a false detection
> of too many processes. =A0Although it is not going to solve your
> problem, we can improve this particular message as well to indicate
> the current value, that it is changed in the src, and requires a
> rebuild.
_eventually_ some actual docs @ the site will be helpful, but for now,
> We can leave off docs@ for now.
done.
> What is the OS
lsb_release -a
LSB Version:
core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-ia3 2:core-3.2-ia32=
:core-4.0-ia32:desktop-4.0-ia32:desktop-4.0-noarch:graphics- 2.0-ia32:graphi=
cs-2.0-noarch:graphics-3.2-ia32:graphics-3.2-noarch:graphics -4.0-ia32:graph=
ics-4.0-noarch
Distributor ID: SUSE LINUX
Description: openSUSE 11.2 (i586)
Release: 11.2
Codename: n/a
uname -rsvo
Linux 2.6.31.12-12-xen #1 SMP 2010-02-19 18:56:57 +0100 GNU/Linux
> and how many instances (processes) of your two apps
> were running when this message was generated?
one each. although the order doesn't make a difference, in the
example following, the 1st invoked app is a single instance of a
pressflow6 site front-page. The 2nd invoked app is simply the login
page of a drupal6 site.
> With LogLevel debug,
egrep -i Log {pressflow6.conf,drupal6.conf}
pressflow6.conf: LogLevel debug
pressflow6.conf: ErrorLog /var/log/apache2/pressflow6.error_log
pressflow6.conf: CustomLog /var/log/apache2/pressflow6.log cached
drupal6.conf: LogLevel debug
drupal6.conf: ErrorLog /var/log/apache2/drupal6.error_log
drupal6.conf: CustomLog /var/log/apache2/drupal6.log cached
grep -i log ./sysconfig.d/global.conf
LogLevel debug
CustomLog /var/log/apache2/access_log combined
> what messages are written by mod_fcgid to the error log up until the firs=
t failure?
watching,
tail -f /var/log/apache/{pressflow6,drupal6}*log error_log access_log
INVOKE THE 1st APP
==> pressflow6.log <==
staging.loc 10.0.1.206, 127.0.0.1 - - [24/Feb/2010:08:38:47 -0800]
"GET / HTTP/1.1" 302 - "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US;
rv:1.9.2.0) Gecko/20100115 SUSE/3.6.0-2.1 Firefox/3.6"
==> error_log <==
[Wed Feb 24 08:38:47 2010] [info] mod_fcgid: server
staging.loc:/usr/bin/php-cgi5(2750) started
==> pressflow6.log <==
staging.loc 10.0.1.206, 127.0.0.1 - - [24/Feb/2010:08:38:48 -0800]
"GET /main/ HTTP/1.1" 403 7866 "-" "Mozilla/5.0 (X11; U; Linux x86_64;
en-US; rv:1.9.2.0) Gecko/20100115 SUSE/3.6.0-2.1 Firefox/3.6"
.... DISPLAYS CORRECTLY.
INVOKE THE 2nd APP ... RETURNS @ BROWSER:
"An internal server error occurred. Please try again later."
==> error_log <==
[Wed Feb 24 08:39:11 2010] [warn] mod_fcgid: too much processes,
please increase FCGID_MAX_APPLICATION
[Wed Feb 24 08:39:12 2010] [warn] mod_fcgid: too much processes,
please increase FCGID_MAX_APPLICATION
[Wed Feb 24 08:39:13 2010] [warn] mod_fcgid: too much processes,
please increase FCGID_MAX_APPLICATION
.... etc ...
that's it ...
thanks.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: mod_fcgid (HEAD) spewing "too much processes,
am 24.02.2010 18:20:56 von Jeff Trawick
On Wed, Feb 24, 2010 at 11:50 AM, PGNet Dev wr=
ote:
> On Wed, Feb 24, 2010 at 4:27 AM, Jeff Trawick wrote:
>> Since changing FCGID_MAX_APPLICATION to 4096 didn't help, I guess
>> you've encountered some sort of defect that causes a false detection
>> of too many processes. =A0Although it is not going to solve your
>> problem, we can improve this particular message as well to indicate
>> the current value, that it is changed in the src, and requires a
>> rebuild.
>
> _eventually_ some actual docs @ the site will be helpful, but =A0for now,
>
>> We can leave off docs@ for now.
>
> done.
>
>> What is the OS
sorry for the duplicate questions
I opened https://issues.apache.org/bugzilla/show_bug.cgi?id=3D48811 to
track this issue, in lieu of discussing an obvious bug here; you
probably want to add yourself to the cc list of the bug report.
I'll later post a patch to that bug report which will log some more
information to help debug this problem.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: mod_fcgid (HEAD) spewing "too much processes,
am 24.02.2010 18:31:08 von PGNet Dev
On Wed, Feb 24, 2010 at 9:20 AM, Jeff Trawick wrote:
> sorry for the duplicate questions
np :-)
> I opened https://issues.apache.org/bugzilla/show_bug.cgi?id=48811 to
> track this issue, in lieu of discussing an obvious bug here; you
> probably want to add yourself to the cc list of the bug report.
done.
> I'll later post a patch to that bug report which will log some more
> information to help debug this problem.
will watch for it ...
thanks.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org