httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r922392 - in /httpd/httpd/trunk/server/mpm: event/event.c prefork/prefork.c worker/worker.c
Date Fri, 12 Mar 2010 18:49:27 GMT
Author: covener
Date: Fri Mar 12 18:49:26 2010
New Revision: 922392

URL: http://svn.apache.org/viewvc?rev=922392&view=rev
Log:
reduce the warning level in the bindprocessor() call used to make sure child
processes aren't bound to the CPU the parent is running on.

In recent levels of AIX, the parent isn't implicitly bound to a CPU 
(so the children don't inherit it), and when the AIX WPAR feature is enabled 
this call can return EPERM, even though the child process is already unbound.


Modified:
    httpd/httpd/trunk/server/mpm/event/event.c
    httpd/httpd/trunk/server/mpm/prefork/prefork.c
    httpd/httpd/trunk/server/mpm/worker/worker.c

Modified: httpd/httpd/trunk/server/mpm/event/event.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/event/event.c?rev=922392&r1=922391&r2=922392&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/event/event.c (original)
+++ httpd/httpd/trunk/server/mpm/event/event.c Fri Mar 12 18:49:26 2010
@@ -1861,7 +1861,7 @@ static int make_child(server_rec * s, in
         int status = bindprocessor(BINDPROCESS, (int) getpid(),
                                    PROCESSOR_CLASS_ANY);
         if (status != OK)
-            ap_log_error(APLOG_MARK, APLOG_WARNING, errno,
+            ap_log_error(APLOG_MARK, APLOG_DEBUG, errno,
                          ap_server_conf,
                          "processor unbind failed %d", status);
 #endif

Modified: httpd/httpd/trunk/server/mpm/prefork/prefork.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/prefork/prefork.c?rev=922392&r1=922391&r2=922392&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/prefork/prefork.c (original)
+++ httpd/httpd/trunk/server/mpm/prefork/prefork.c Fri Mar 12 18:49:26 2010
@@ -743,7 +743,7 @@ static int make_child(server_rec *s, int
         int status = bindprocessor(BINDPROCESS, (int)getpid(),
                                    PROCESSOR_CLASS_ANY);
         if (status != OK) {
-            ap_log_error(APLOG_MARK, APLOG_WARNING, errno,
+            ap_log_error(APLOG_MARK, APLOG_DEBUG, errno,
                          ap_server_conf, "processor unbind failed %d", status);
         }
 #endif

Modified: httpd/httpd/trunk/server/mpm/worker/worker.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/worker/worker.c?rev=922392&r1=922391&r2=922392&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/worker/worker.c (original)
+++ httpd/httpd/trunk/server/mpm/worker/worker.c Fri Mar 12 18:49:26 2010
@@ -1360,7 +1360,7 @@ static int make_child(server_rec *s, int
         int status = bindprocessor(BINDPROCESS, (int)getpid(),
                                PROCESSOR_CLASS_ANY);
         if (status != OK)
-            ap_log_error(APLOG_MARK, APLOG_WARNING, errno,
+            ap_log_error(APLOG_MARK, APLOG_DEBUG, errno,
                          ap_server_conf,
                          "processor unbind failed %d", status);
 #endif



Mime
View raw message