httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46467] Apache-childs segfault when number of childs reaches 130
Date Tue, 06 Jan 2009 22:20:17 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46467





--- Comment #5 from Jeff Trawick <trawick@apache.org>  2009-01-06 14:20:16 PST ---
Ruediger, is apr_pollset_create() failing due to some kernel limit?

Alex, you could confirm that by running with this tiny patch

Index: server/mpm/prefork/prefork.c
===================================================================
--- server/mpm/prefork/prefork.c        (revision 731724 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=731724
))
+++ server/mpm/prefork/prefork.c        (working copy)
@@ -485,7 +485,12 @@

     /* Set up the pollfd array */
     /* ### check the status */
-    (void) apr_pollset_create(&pollset, num_listensocks, pchild, 0);
+    status = apr_pollset_create(&pollset, num_listensocks, pchild, 0);
+    if (status != APR_SUCCESS) {
+        ap_log_error(APLOG_MARK, APLOG_EMERG, status, ap_server_conf,
+                     "Couldn't initialize pollset in child");
+        clean_child_exit(APEXIT_CHILDFATAL);
+    }


and seeing if you get the new message.  If you do, you might be able to work
around whatever is causing the apr_pollset_create() failure by setting
"apr_cv_epoll=no" when you configure.  (none of this tested ;) )


-- 
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message