From: Eric Covener Date: Fri, 12 Mar 2010 18:49:26 +0000 (+0000) Subject: reduce the warning level in the bindprocessor() call used to make sure child X-Git-Tag: 2.3.6~350 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c81cbf5592886f9a88fcce30800a527c1a369dda;p=thirdparty%2Fapache%2Fhttpd.git 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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@922392 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/event/event.c b/server/mpm/event/event.c index 85adf0e1321..a5db0c4ad08 100644 --- a/server/mpm/event/event.c +++ b/server/mpm/event/event.c @@ -1861,7 +1861,7 @@ static int make_child(server_rec * s, int slot) 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 diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c index 336db7d77aa..5e1a677b45e 100644 --- a/server/mpm/prefork/prefork.c +++ b/server/mpm/prefork/prefork.c @@ -743,7 +743,7 @@ static int make_child(server_rec *s, int slot) 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 diff --git a/server/mpm/worker/worker.c b/server/mpm/worker/worker.c index c86d9e8f55e..494fc03efc1 100644 --- a/server/mpm/worker/worker.c +++ b/server/mpm/worker/worker.c @@ -1360,7 +1360,7 @@ static int make_child(server_rec *s, int slot) 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