--- ../httpd-2.4.3-org/httpd-2.4.3/server/mpm/event/event.c 2012-08-04 14:30:11.000000000 -0700 +++ ../httpd-2.4.3-org/httpd-2.4.3/server/mpm/event/event.c 2012-12-15 19:33:50.927888097 -0800 @@ -2126,7 +2126,12 @@ apr_threadattr_detach_set(thread_attr, 0); if (ap_thread_stacksize != 0) { - apr_threadattr_stacksize_set(thread_attr, ap_thread_stacksize); + rv = apr_threadattr_stacksize_set(thread_attr, ap_thread_stacksize); + if(rv != APR_SUCCESS && rv != APR_ENOTIMPL) { + ap_log_error(APLOG_MARK, APLOG_WARNING | APLOG_STARTUP, 0, NULL, APLOGNO(00522) + "WARNING: ThreadStackSize of %ld is inappropriate, using default", + ap_thread_stacksize); + } } ts->threads = threads; --- ../httpd-2.4.3-org/httpd-2.4.3/server/mpm/worker/worker.c 2012-07-24 05:19:08.000000000 -0700 +++ ../httpd-2.4.3-org/httpd-2.4.3/server/mpm/worker/worker.c 2012-12-15 19:33:36.135887746 -0800 @@ -1276,7 +1276,13 @@ apr_threadattr_detach_set(thread_attr, 0); if (ap_thread_stacksize != 0) { - apr_threadattr_stacksize_set(thread_attr, ap_thread_stacksize); + rv = apr_threadattr_stacksize_set(thread_attr, ap_thread_stacksize); + if(rv != APR_SUCCESS && rv != APR_ENOTIMPL) { + ap_log_error(APLOG_MARK, APLOG_WARNING | APLOG_STARTUP, 0, NULL, APLOGNO(00522) + "WARNING: ThreadStackSize of %ld is inappropriate, using default", + ap_thread_stacksize); + } + } ts->threads = threads;