You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jeff Trawick <tr...@gmail.com> on 2010/02/24 13:27:27 UTC

Re: [users@httpd] mod_fcgid (HEAD) spewing "too much processes, please increase FCGID_MAX_APPLICATION"; no documentation/guidance available on FCGID_MAX_APPLICATION

On Tue, Feb 23, 2010 at 11:32 PM, PGNet Dev <pg...@gmail.com> wrote:
> 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

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 <URL:http://httpd.apache.org/userslist.html> 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: [users@httpd] mod_fcgid (HEAD) spewing "too much processes, please increase FCGID_MAX_APPLICATION"; no documentation/guidance available on FCGID_MAX_APPLICATION

Posted by PGNet Dev <pg...@gmail.com>.
On Wed, Feb 24, 2010 at 9:20 AM, Jeff Trawick <tr...@gmail.com> 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 <URL:http://httpd.apache.org/userslist.html> 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: [users@httpd] mod_fcgid (HEAD) spewing "too much processes, please increase FCGID_MAX_APPLICATION"; no documentation/guidance available on FCGID_MAX_APPLICATION

Posted by Jeff Trawick <tr...@gmail.com>.
On Wed, Feb 24, 2010 at 11:50 AM, PGNet Dev <pg...@gmail.com> wrote:
> On Wed, Feb 24, 2010 at 4:27 AM, Jeff Trawick <tr...@gmail.com> 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.  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.
>
> _eventually_ some actual docs @ the site will be helpful, but  for 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=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.

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 <URL:http://httpd.apache.org/userslist.html> 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: [users@httpd] mod_fcgid (HEAD) spewing "too much processes, please increase FCGID_MAX_APPLICATION"; no documentation/guidance available on FCGID_MAX_APPLICATION

Posted by PGNet Dev <pg...@gmail.com>.
On Wed, Feb 24, 2010 at 4:27 AM, Jeff Trawick <tr...@gmail.com> 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.  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.

_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-ia32:core-3.2-ia32:core-4.0-ia32:desktop-4.0-ia32:desktop-4.0-noarch:graphics-2.0-ia32:graphics-2.0-noarch:graphics-3.2-ia32:graphics-3.2-noarch:graphics-4.0-ia32:graphics-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 first 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 <URL:http://httpd.apache.org/userslist.html> 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