You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Axel-Stéphane SMORGRAV <Ax...@europe.adp.com> on 2004/11/04 08:31:55 UTC

[users@httpd] mod_disk_cache causes SIGSEGV under load on Solaris 8

Good morning,

I am currently running load tests on an Apache 2.0.49 (worker MPM) caching proxy. After a few hours run, Apache child processes start dumping core

[Wed Nov 03 19:30:11 2004] [notice] child pid 14478 exit signal Segmentation fault (11), possible coredump in /centuri/axe1/apache/httpd2/apache6

This is the gdb stack dump:

#0  0xfee4f828 in strrchr () from /usr/lib/libc.so.1
(gdb) where
#0  0xfee4f828 in strrchr () from /usr/lib/libc.so.1
#1  0xff0f885c in apr_filepath_name_get ()
   from /u01/opt/apache2/lib/libapr-0.so.0
#2  0xff0f88b8 in apr_filename_of_pathname ()
   from /u01/opt/apache2/lib/libapr-0.so.0
#3  0x0008f290 in ap_scan_script_header_err_core ()
#4  0x0008fc68 in ap_scan_script_header_err ()
#5  0xfed02014 in read_headers ()
   from /u01/opt/apache2/modules/mod_disk_cache.so
#6  0xfed25070 in cache_read_entity_headers ()
   from /u01/opt/apache2/modules/mod_cache.so
#7  0xfed24c74 in cache_select_url ()
   from /u01/opt/apache2/modules/mod_cache.so
#8  0xfed21ec4 in cache_url_handler ()
   from /u01/opt/apache2/modules/mod_cache.so
#9  0x0007bc04 in ap_run_quick_handler ()
#10 0x0004e570 in ap_process_request ()
#11 0x00045890 in ap_process_http_connection ()
#12 0x00091314 in ap_run_process_connection ()
#13 0x00091904 in ap_process_connection ()
#14 0x00076154 in process_socket ()
#15 0x00076ca8 in worker_thread ()
#16 0xff110734 in dummy_worker () from /u01/opt/apache2/lib/libapr-0.so.0
#17 0xfedb58c8 in _lwp_start () from /usr/lib/lwp/libthread.so.1
#18 0xfedb58c8 in _lwp_start () from /usr/lib/lwp/libthread.so.1


bash-2.05$ find cache -type f ! -name \*header -a ! -name \*data 
cache/aptmpI.ai0M
cache/aptmpYWaa0M
cache/aptmp5Vaa0M
cache/aptmp6Vaa0M
cache/aptmp0cbi0M
cache/aptmp2Waa0M
cache/aptmpzXaa0M
cache/aptmpFYaa0M
cache/aptmpbZaa0M
cache/aptmp1Zaa0M
[snip]

There are 88 of those for 20 documents cached.
When running "fuser -f <file>", none of the files are open by any process.

Cleaning up the cache (removing everything in the cache root) resolves the problem.

Anyone observed any thing like this before?

-ascs

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] mod_disk_cache causes SIGSEGV under load on Solaris 8

Posted by Joshua Slive <js...@gmail.com>.
On Thu, 4 Nov 2004 08:31:55 +0100, Axel-Stéphane SMORGRAV
<ax...@europe.adp.com> wrote:
> Good morning,
> 
> I am currently running load tests on an Apache 2.0.49 (worker MPM) caching proxy. After a few hours run, Apache child processes start dumping core

mod_disk_cache has seen very active development over the last few
releases, so you should use the most recent available 2.0 release
before trying to debug anything.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org