My apache server in last few days become give
me core dump, this happened when i added around 8 new domains and
restart my server gracefully it core dumped, i debug this issue and
start to analyze the problem, i found when i delete the last added
hosts it worked fine, then i stareted to add them one by one and i
reached to the point that no more hosts can be added i removed on of my
old vhosts so i added one instead of it, so it sounds like i reach a
limit number so i cannot add more sites , i searched the internet and
i found that there are no limit on number of vhosts in apache but may
be something related to my OS limitation on file descriptor, my system
is
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See OS: FreeBSD 6.1 stable Apache: 2.2.4 i used ulimit -n 30000, and sysctl kern.maxfiles 30000 but the same issue , today i add coredumpdirectory to my config file and tried to debug the result and here is the gdb result (gdb) bt full #0 0x28497461 in ?? () No symbol table info available. #1 0xbfbfeb4b in ?? () No symbol table info available. #2 0x00000080 in ?? () No symbol table info available. #3 0xbfbfec28 in ?? () No symbol table info available. #4 0x284efe54 in ?? () No symbol table info available. #5 0x283cdc42 in ?? () No symbol table info available. #6 0x080aa3e8 in http_cmds () No symbol table info available. #7 0xbfbfea98 in ?? () No symbol table info available. #8 0x28496ab2 in ?? () No symbol table info available. #9 0x00000000 in ?? () No symbol table info available. #10 0x283d1e58 in ?? () No symbol table info available. #11 0xbfbfec28 in ?? () No symbol table info available. #12 0x283c171d in ?? () No symbol table info available. #13 0xbfbfea70 in ?? () No symbol table info available. #14 0x00000004 in ?? () No symbol table info available. #15 0x00000010 in ?? () No symbol table info available. #16 0x28314508 in ?? () No symbol table info available. #17 0x00000002 in ?? () No symbol table info available. #18 0x00000088 in ?? () No symbol table info available. ---Type <return> to continue, or q <return> to quit--- #19 0x080aa3b0 in http_cmds () No symbol table info available. #20 0x080aa330 in http_cmds () No symbol table info available. #21 0x46a84949 in ?? () No symbol table info available. #22 0x0001746f in ?? () No symbol table info available. #23 0x00000044 in ?? () No symbol table info available. #24 0x28314508 in ?? () No symbol table info available. #25 0x28003835 in ?? () No symbol table info available. #26 0x00000000 in ?? () No symbol table info available. #27 0xbfbfeb88 in ?? () No symbol table info available. #28 0x282aa63b in ?? () No symbol table info available. #29 0x089d0ec0 in ?? () No symbol table info available. #30 0x00000001 in ?? () No symbol table info available. #31 0x00000000 in ?? () No symbol table info available. #32 0x00000010 in ?? () No symbol table info available. #33 0x080a3000 in ap_bucket_type_error () No symbol table info available. #34 0x080a3000 in ap_bucket_type_error () No symbol table info available. #35 0xbfbfeb18 in ?? () No symbol table info available. #36 0x00000000 in ?? () No symbol table info available. #37 0x089d8000 in ?? () No symbol table info available. ---Type <return> to continue, or q <return> to quit--- #38 0x00002000 in ?? () No symbol table info available. #39 0x00000000 in ?? () No symbol table info available. #40 0x00000044 in ?? () No symbol table info available. #41 0x2830a4c9 in ?? () No symbol table info available. #42 0x00040000 in ?? () No symbol table info available. #43 0xbfbfeb48 in ?? () No symbol table info available. #44 0x282338fe in ?? () No symbol table info available. #45 0x080a3000 in ap_bucket_type_error () No symbol table info available. #46 0x00000001 in ?? () No symbol table info available. #47 0x00000004 in ?? () No symbol table info available. #48 0x282338ca in ?? () No symbol table info available. #49 0x00000000 in ?? () No symbol table info available. #50 0x00000011 in ?? () No symbol table info available. #51 0x089db020 in ?? () No symbol table info available. #52 0x00000004 in ?? () No symbol table info available. #53 0x00000561 in ?? () No symbol table info available. #54 0x08264370 in ?? () No symbol table info available. #55 0xbfbfeb78 in ?? () No symbol table info available. #56 0x286c9109 in ?? () No symbol table info available. ---Type <return> to continue, or q <return> to quit--- #57 0xbfbfec18 in ?? () No symbol table info available. #58 0x080aa330 in http_cmds () No symbol table info available. #59 0xbfbfeba8 in ?? () No symbol table info available. #60 0x2824c4b4 in ?? () No symbol table info available. #61 0x08b49900 in ?? () No symbol table info available. #62 0x00000000 in ?? () No symbol table info available. #63 0xbfbfeb88 in ?? () No symbol table info available. #64 0x2824a14b in ?? () No symbol table info available. #65 0x2830a4c9 in ?? () No symbol table info available. #66 0xbfbfebb0 in ?? () No symbol table info available. #67 0xbfbfebe8 in ?? () No symbol table info available. #68 0x28206c08 in ?? () No symbol table info available. #69 0x2824c4b4 in ?? () No symbol table info available. #70 0x08b49900 in ?? () No symbol table info available. #71 0xbfbfebc8 in ?? () No symbol table info available. #72 0x2823bba2 in ?? () No symbol table info available. #73 0x08b49900 in ?? () No symbol table info available. #74 0x00000002 in ?? () No symbol table info available. #75 0x00000010 in ?? () No symbol table info available. ---Type <return> to continue, or q <return> to quit--- #76 0x28206c08 in ?? () No symbol table info available. #77 0x080ac018 in mime_cmds () No symbol table info available. #78 0x080eac60 in ?? () No symbol table info available. #79 0xbfbfebc8 in ?? () No symbol table info available. #80 0x282075af in ?? () No symbol table info available. #81 0x080ac018 in mime_cmds () No symbol table info available. #82 0x00000010 in ?? () No symbol table info available. #83 0x00000010 in ?? () No symbol table info available. #84 0x2821316c in ?? () No symbol table info available. #85 0x080ac018 in mime_cmds () No symbol table info available. #86 0x080ac018 in mime_cmds () No symbol table info available. #87 0xbfbfebe8 in ?? () No symbol table info available. #88 0x282075af in ?? () No symbol table info available. #89 0x080ac018 in mime_cmds () No symbol table info available. #90 0x00000010 in ?? () No symbol table info available. #91 0x282053c0 in ?? () No symbol table info available. #92 0x283d1e58 in ?? () No symbol table info available. #93 0x08102018 in ?? () No symbol table info available. #94 0x283cad93 in ?? () No symbol table info available. ---Type <return> to continue, or q <return> to quit--- #95 0xbfbfec18 in ?? () No symbol table info available. #96 0x08074d53 in log_error_core (file=0xbfbfeab0 "\002", line=22, level=0, status=675094104, s=0xbfbfec28, c=0x2, r=0xbfbfea70, pool=0x4, fmt=0x10 <Address 0x10 out of bounds>, args=0x28314508 "D4\f") at log.c:570 errstr = "tes of entropy\n\000\214\000\000\000�꿿\002\000\000\0000\000\000 \000connection_aborted\000\b�ʿ�\r\000\000\000�꿿\214\000\000\000�꿿\002 \000\000\000 \000\000\000headers_list\000꿿\214\000\000\000�꿿\002\000\000\000 \000\000\000headers_sent\000꿿\214\000\000\000�꿿\002\000\000\000 \000\000\000header\000�\r\000\000\000�꿿\214\000\000\000�꿿\002\000\000 \000 \000\000\000setrawcookie\000꿿\214\000\000\000�꿿"... scratch = "\214\000\000\000�꿿\002\000\000\0000\000\000\000array_intersect_assoc \000��\021\000\000\000�꿿\214\000\000\000�꿿\002\000\000\000 \000\000\000array_uintersect\000\000\000\000�꿿\002\000\000\0000\000\000 \000array_intersect_ukey\000���\024\000\000\000�꿿\214\000\000\000�꿿\002 \000\000\0000\000\000\000array_intersect_key\0000���\020\000\000\000�꿿 \214\000\000\000�꿿\002\000\000\000 \000\000\000array_in"... len = 676170676 errstrlen = 0 logf = (apr_file_t *) 0xbf00636f referer = 0x1 <Address 0x1 out of bounds> level_and_mask = 1936941407 Previous frame inner to this frame (corrupt stack?) so please i cannot find where to start the solution, any one has an idea about this -- Best regards, ********************************************* Khaled J. Hussein System Manager Hadara Technologies Group khaled@xxxxxxxxxx http://www.palnet.com Tel. +972 2-240-3434 Fax. +972 2-240-3430 ********************************************** |