https://issues.apache.org/bugzilla/show_bug.cgi?id=48811
Summary: fcgid reports FCGID_MAX_APPLICATION exceeded when
creating 2nd process
Product: Apache httpd-2
Version: 2.3-HEAD
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: mod_fcgid
AssignedTo: [email protected]
ReportedBy: [email protected]
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)
> 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 ...
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]