httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r1295942 - /httpd/mod_fcgid/trunk/modules/fcgid/fcgid_spawn_ctl.c
Date Thu, 01 Mar 2012 22:15:19 GMT
Author: wrowe
Date: Thu Mar  1 22:15:19 2012
New Revision: 1295942

URL: http://svn.apache.org/viewvc?rev=1295942&view=rev
Log:
Quiet is_spawn_allowed logic.  If you want to learn the gory details of each and
every spawn election, raise the log level volume to debug.

Modified:
    httpd/mod_fcgid/trunk/modules/fcgid/fcgid_spawn_ctl.c

Modified: httpd/mod_fcgid/trunk/modules/fcgid/fcgid_spawn_ctl.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/fcgid_spawn_ctl.c?rev=1295942&r1=1295941&r2=1295942&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/fcgid_spawn_ctl.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/fcgid_spawn_ctl.c Thu Mar  1 22:15:19 2012
@@ -166,7 +166,7 @@ int is_spawn_allowed(server_rec * main_s
 
     /* Total process count higher than up limit? */
     if (g_total_process >= sconf->max_process_count) {
-        ap_log_error(APLOG_MARK, APLOG_INFO, 0, main_server,
+        ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, main_server,
                      "mod_fcgid: %s total process count %d >= %d, skip the spawn request",
                      command->cgipath, g_total_process, sconf->max_process_count);
         return 0;
@@ -202,7 +202,7 @@ int is_spawn_allowed(server_rec * main_s
 
         /* Score is higher than up limit? */
         if (current_node->score >= sconf->spawnscore_uplimit) {
-            ap_log_error(APLOG_MARK, APLOG_INFO, 0, main_server,
+            ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, main_server,
                          "mod_fcgid: %s spawn score %d >= %d, skip the spawn request",
                          command->cgipath, current_node->score,
                          sconf->spawnscore_uplimit);
@@ -213,7 +213,7 @@ int is_spawn_allowed(server_rec * main_s
          * Process count of this class higher than up limit?
          */
         if (current_node->process_counter >= current_node->max_class_process_count)
{
-            ap_log_error(APLOG_MARK, APLOG_INFO, 0, main_server,
+            ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, main_server,
                          "mod_fcgid: too many %s processes (current:%d, max:%d), skip the
spawn request",
                          command->cgipath, current_node->process_counter,
                          current_node->max_class_process_count);



Mime
View raw message