|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-10-18 23:02 UTC] bob at norcalttora dot com
Description: ------------ After running for at least ~1 day Apache will start to dump core. I have a feeling that not all of the core files are referring to the same problem but this is the first one I've opened up in gdb. The problem does not occur if APC is disabled. Reproduce code: --------------- Using APC 3.0.12p2 My apc vars from php.ini apc.enabled="1" apc.mmap_file_mask="/tmp/apc/apc.XXXXXX" apc.shm_size="30" auto_globals_jit = Off apc.filters="horde,class_bbcode_alt.php,wiki,administrator" apc.ttl=3600 apc.user_ttl = 1800 My site runs vBulletin 3.0x, MediaWiki and is fairly well traveled bringing in 1 million hits to 10GB of HTTP traffic a day. I filed bug 7547 a while back though I don't think that's actually relevant. Actual result: -------------- The backtrace from the core file: #0 0x28dde3cd in sma_allocate () from /usr/local/lib/php/ 20050922/apc.so (gdb) bt #0 0x28dde3cd in sma_allocate () from /usr/local/lib/php/ 20050922/apc.so #1 0x28dde7a7 in apc_sma_malloc () from /usr/local/lib/php/ 20050922/apc.so #2 0x28dd8b3c in apc_copy_op_array () from /usr/local/lib/ php/20050922/apc.so #3 0x28dd7bb5 in my_copy_function () from /usr/local/lib/ php/20050922/apc.so #4 0x28dd90b9 in apc_copy_new_functions () from /usr/local/lib/php/20050922/apc.so #5 0x28ddb540 in my_compile_file () from /usr/local/lib/ php/20050922/apc.so #6 0x28635248 in ?? () from /usr/local/libexec/apache2/ libphp5.so #7 0xbfbf58d0 in ?? () #8 0x00000008 in ?? () #9 0x00000002 in ?? () #10 0x2862f45c in ?? () from /usr/local/libexec/apache2/ libphp5.so #11 0x08559210 in ?? () #12 0x2a5ae8ec in ?? () #13 0x083a32c0 in ?? () #14 0x2a5af648 in ?? () #15 0x0000000b in ?? () #16 0x2a4c8888 in ?? () #17 0xbfbf5908 in ?? () #18 0x0060c4dc in ?? () #19 0x00000000 in ?? () #20 0xbfbf9d84 in ?? () #21 0x00000000 in ?? () #22 0x00000001 in ?? () #23 0x2a4c8805 in ?? () #24 0x2a4c8a00 in ?? () #25 0x0836a10c in ?? () #26 0x08491a0c in ?? () #27 0x285f14ec in ?? () from /usr/local/libexec/apache2/ libphp5.so #28 0x285e2d84 in ?? () from /usr/local/libexec/apache2/ libphp5.so #29 0x285e2d98 in ?? () from /usr/local/libexec/apache2/ libphp5.so #30 0x00000000 in ?? () #31 0xbfbf9900 in ?? () #32 0xbfbf5a88 in ?? () #33 0x2a5aea1c in ?? () #34 0x2a5ae9d0 in ?? () #35 0xbfbf99c0 in ?? () #36 0xbfbf99c0 in ?? () #37 0xbfbf5928 in ?? () #38 0x28667f13 in ?? () from /usr/local/libexec/apache2/ libphp5.so #39 0x2a4c8888 in ?? () #40 0x0000000a in ?? () #41 0xbfbf5a88 in ?? () #42 0x00000000 in ?? () #43 0x0835660c in ?? () #44 0xbfbf99c0 in ?? () #45 0xbfbf9a18 in ?? () #46 0x2862ea99 in ?? () from /usr/local/libexec/apache2/ libphp5.so #47 0xbfbf99c0 in ?? () #48 0x284af3d1 in ?? () from /usr/local/libexec/apache2/ mod_rewrite.so #49 0x00000001 in ?? () #50 0x28321272 in apr_palloc () from /usr/local/lib/apache2/ libapr-0.so.9 Previous frame inner to this frame (corrupt stack?) PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 06:00:02 2025 UTC |
I'm aware that there is a bug in the high-load, cache full scenarios. But the problem is reproducing it to test out every fix attempt made ("few days").