Perhaps the same issue as bug 1199779. Description of problem: When httpd MPM worker is running with mod_perl enabled, some of the worker processes segfault randomly. How reproducible: Sometimes. I ran into this behaviour on several systems, but was not able to reproduce it on others. Steps to Reproduce: # echo LoadModule mpm_worker_module modules/mod_mpm_worker.so > /opt/rh/httpd24/root/etc/httpd/conf.modules.d/00-mpm.conf # service httpd24-httpd restart Stopping httpd: [ OK ] Starting httpd: [ OK ] # ab -c 100 -n 50000 http://127.0.0.1/ This is ApacheBench, Version 2.3 <$Revision: 655654 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking 127.0.0.1 (be patient) Completed 5000 requests Completed 10000 requests Completed 15000 requests Completed 20000 requests Completed 25000 requests Completed 30000 requests apr_socket_recv: Connection reset by peer (104) Total of 31218 requests completed # tail -5 /var/log/httpd24/error_log [Fri Apr 24 09:54:30.340402 2015] [autoindex:error] [pid 21366:tid 140616289744640] [client 127.0.0.1:40363] AH01276: Cannot serve directory /opt/rh/httpd24/root/var/www/html/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive [Fri Apr 24 09:54:30.340429 2015] [autoindex:error] [pid 21367:tid 140616174356224] [client 127.0.0.1:40364] AH01276: Cannot serve directory /opt/rh/httpd24/root/var/www/html/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive [Fri Apr 24 09:54:30.340726 2015] [autoindex:error] [pid 21455:tid 140616090437376] [client 127.0.0.1:40365] AH01276: Cannot serve directory /opt/rh/httpd24/root/var/www/html/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive [Fri Apr 24 09:55:10.339283 2015] [autoindex:error] [pid 21366:tid 140616268764928] [client 127.0.0.1:40387] AH01276: Cannot serve directory /opt/rh/httpd24/root/var/www/html/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive [Fri Apr 24 09:54:30.764111 2015] [core:notice] [pid 21363:tid 140616681404384] AH00052: child pid 21368 exit signal Segmentation fault (11) Version-Release number of selected component (if applicable): rh-perl520-mod_perl-2.0.8-8.20150122svn1653807.el6.x86_64 httpd24-httpd-2.4.12-3.el6.x86_64
I'm not able to reproduce this bug so far. Can you get coredump from the crash? Set CoreDumpDirectory to some directory writable by apache:apache and reproduce the bug. http://httpd.apache.org/docs/current/mod/mpm_common.html#coredumpdirectory
Created attachment 1019262 [details] valgrind output
Fix committed upstream: http://svn.apache.org/viewvc?view=revision&revision=1676417
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-2729.html