You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ma...@bellsouth.net on 2003/11/25 18:08:58 UTC

[users@httpd] Apache not generating core files :(

We are running Apache 1.3.27 on Redhat Linux 7.3, and for some reason,
Apache keeps SEGFAULT'ing every 4 - 5 days. When apache SEGFAULTS, it
doesn't produce a core file, and spits out the following items in our
error_log:

[Thu Nov 20 11:33:56 2003] [notice] child pid 31893 exit signal
Segmentation fault (11)
[Thu Nov 20 11:33:58 2003] [notice] child pid 31878 exit signal
Segmentation fault (11)
[Thu Nov 20 11:34:10 2003] [notice] child pid 31924 exit signal
Segmentation fault (11)
[Thu Nov 20 11:34:12 2003] [notice] child pid 31891 exit signal
Segmentation fault (11)
[Thu Nov 20 11:34:13 2003] [notice] child pid 31825 exit signal
Segmentation fault (11)

I updated /etc/profile and /etc/init.d/functions, and changed the ulimits
from "ulimit -S -c 0" to "ulimit -c unlimited."  I also added
"CoreDumpDirectory /free/core" to my httpd.conf. I have tried sending
SIGABRT, SIGKILL and SIGSEGV signals to the apache processes, and they
still refuse to dump core. Anyone have any thoughts on how to get apache
to dump core? Is there a way to attach to the process with gdb and follow
the intruction flow until the process dies? This would allow me to get
a backtrace, and identify which module (we are only using auth_ldap and
the weblogic module) is causing Apache to croak. I have attached a strace
to this email, but without knowing which module is faulty, the
strace output is difficult to decipher.

Thanks,
- Matty

Strace:
[pid 32119] send(12,
"\27\3\1\0Xo\"+\263\235\234\345\1\253\320\345\33\234\245"..., 93, 0) = 93
[pid 32119] poll( <unfinished ...>
[pid 32119] <... poll resumed> [{fd=12, events=POLLIN, revents=POLLIN},
{fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}], 5, -1) = 1
[pid 32119] brk(0x810d000)              = 0x810d000
[pid 32119] recv(12, "\27\3\1\0\36", 5, 0) = 5
[pid 32119] recv(12,
"gSqv\263\221&\221\314\237\34\2251\312\316\304\265i\241"..., 30, 0) = 30
[pid 32119] time(NULL)                  = 1069347769
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] time(NULL)                  = 1069347769
[pid 32119] send(12,
"\27\3\1\0\205\5B\2\310\325\263\336\'\333\305\377\220\34"..., 138, 0) =
138
[pid 32119] poll( <unfinished ...>
[pid 32119] <... poll resumed> [{fd=12, events=POLLIN, revents=POLLIN},
{fd=-1}, {fd=-1}, {fd=-1}, {fd=-1}], 5, -1) = 1
[pid 32119] recv(12, "\27\3\1\1\34", 5, 0) = 5
[pid 32119] recv(12,
"\272\330\334\373\226{|\244\3069\332!\352\261i\357\344\21"..., 284, 0) =
284
[pid 32119] time(NULL)                  = 1069347769
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] time(NULL)                  = 1069347769
[pid 32119] send(12,
"\27\3\1\0d\376\303\277\305\211F\371\212.\332\216\37!!\213"..., 105, 0) =
105
[pid 32119] poll([{fd=12, events=POLLIN, revents=POLLIN}, {fd=-1},
{fd=-1}, {fd=-1}, {fd=-1}], 5, -1) = 1
[pid 32119] recv(12, "\27\3\1\0\36", 5, 0) = 5
[pid 32119] recv(12,
"\235g\3\222\342\370:\202\223m7K\363\205\367A\247\275[\225"..., 30, 0) =
30
[pid 32119] time(NULL)                  = 1069347769
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] time([1069347769])          = 1069347769
[pid 32119] fcntl64(4, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0,
len=0}) = 0
[pid 32119] fcntl64(4, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0,
len=0}) = 0
[pid 32119] time([1069347769])          = 1069347769
[pid 32119] fcntl64(4, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0,
len=0}) = 0
[pid 32119] fcntl64(4, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0,
len=0}) = 0
[pid 32119] fcntl64(4, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0,
len=0}) = 0
[pid 32119] fcntl64(4, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0,
len=0}) = 0
[pid 32119] fcntl64(4, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0,
len=0}) = 0
[pid 32119] fcntl64(4, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0,
len=0}) = 0
[pid 32119] fcntl64(4, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0,
len=0}) = 0
[pid 32119] fcntl64(4, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0,
len=0}) = 0
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] open("/tmp/wlproxy.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 13
[pid 32119] fstat64(13, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
[pid 32119] old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
[pid 32119] fstat64(13, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
[pid 32119] _llseek(13, 0, [0], SEEK_SET) = 0
[pid 32119] close(13)                   = 0
[pid 32119] munmap(0x40014000, 4096)    = 0
[pid 32119] socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 13
[pid 32119] fcntl64(13, F_GETFL)        = 0x2 (flags O_RDWR)
[pid 32119] fcntl64(13, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 32119] setsockopt(13, SOL_TCP, TCP_NODELAY, [-1], 4) = 0
[pid 32119] setsockopt(13, SOL_SOCKET, SO_REUSEADDR, [-1], 4) = 0
[pid 32119] connect(13, {sin_family=AF_INET, sin_port=htons(9004),
sin_addr=inet_addr("10.10.224.40")}}, 16) = -1 EINPROGRESS (Operation now
in progress)
[pid 32119] select(14, NULL, [13], [13], {2, 0}) = 1 (out [13], left {1,
990000})
[pid 32119] getsockopt(13, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
[pid 32119] fcntl64(13, F_GETFL)        = 0x802 (flags O_RDWR|O_NONBLOCK)
[pid 32119] fcntl64(13, F_SETFL, O_RDWR) = 0
[pid 32119] select(14, NULL, [13], [13], {300, 0}) = 1 (out [13], left
{300, 0})
[pid 32119] write(13, "GET /overrides/ovr_103.jsp?REC_N"..., 919) = 919
[pid 32119] select(14, [13], NULL, NULL, {300, 0} <unfinished ...>
[pid 32119] <... select resumed> )      = 1 (in [13], left {299, 940000})
[pid 32119] read(13, "HTTP/1.1 200 OK\r\nDate: Thu, 20 N"..., 4096) = 1749
[pid 32119] write(11, "HTTP/1.1 200 OK\r\nDate: Thu, 20 N"..., 1781) =
1781
[pid 32119] select(14, [13], NULL, NULL, {300, 0}) = 1 (in [13], left
{300, 0})
[pid 32119] read(13, "e><th align=\'center\' nowrap><spa"..., 4096) = 1400
[pid 32119] write(11, "e><th align=\'center\' nowrap><spa"..., 1400) =
1400
[pid 32119] select(14, [13], NULL, NULL, {300, 0}) = 1 (in [13], left
{300, 0})
[pid 32119] read(13, "0,geAW(name.name),\'\'); return fa"..., 4096) = 1288
[pid 32119] write(11, "0,geAW(name.name),\'\'); return fa"..., 1288) =
1288
[pid 32119] select(14, [13], NULL, NULL, {300, 0}) = 1 (in [13], left
{300, 0})
[pid 32119] read(13, "class=\'none\' align=\'left\' valign"..., 4096) =
4096
[pid 32119] write(11, "class=\'none\' align=\'left\' valign"..., 4096) =
4096
[pid 32119] select(14, [13], NULL, NULL, {300, 0}) = 1 (in [13], left
{300, 0})
[pid 32119] read(13, "alue=\'\'>\n<input type=\'hidden\' na"..., 4096) =
4096
[pid 32119] write(11, "alue=\'\'>\n<input type=\'hidden\' na"..., 4096) =
4096
[pid 32119] select(14, [13], NULL, NULL, {300, 0}) = 1 (in [13], left
{300, 0})
[pid 32119] read(13, "age_VALUE_REQUIRED()); \n        "..., 4096) = 457
[pid 32119] write(11, "age_VALUE_REQUIRED()); \n        "..., 457) = 457
[pid 32119] close(13)                   = 0
[pid 32119] time(NULL)                  = 1069347769
[pid 32119] write(17, "X.X.X.X- blahblah [20/Nov"..., 313) = 313
[pid 32119] rt_sigaction(SIGUSR1, {0x4002127c, [],
SA_INTERRUPT|0x4000000}, {SIG_IGN}, 8) = 0
[pid 32119] read(11, "GET /system/wbutil.js HTTP/1.1\r\n"..., 4096) = 820
[pid 32119] rt_sigaction(SIGUSR1, {SIG_IGN}, {0x4002127c, [],
SA_INTERRUPT|0x4000000}, 8) = 0
[pid 32119] time(NULL)                  = 1069347769
[pid 32119] stat64("/etc/httpd/htdocs/email/system/wbutil.js",
{st_mode=S_IFREG|0644, st_size=65173, ...}) = 0
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] time([1069347769])          = 1069347769
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] open("/etc/httpd/htdocs/email/system/wbutil.js", O_RDONLY) =
13
[pid 32119] select(12, [11], NULL, NULL, {0, 0}) = 0 (Timeout)
[pid 32119] write(11, "HTTP/1.1 304 Not Modified\r\nDate:"..., 197) = 197
[pid 32119] time(NULL)                  = 1069347769
[pid 32119] write(17, "X.X.X.X- blahblah [20/Nov"..., 357) = 357
[pid 32119] close(13)                   = 0
[pid 32119] rt_sigaction(SIGUSR1, {0x4002127c, [],
SA_INTERRUPT|0x4000000}, {SIG_IGN}, 8) = 0
[pid 32119] read(11,  <unfinished ...>
[pid 32119] <... read resumed> "GET /system/system.css HTTP/1.1\r"...,
4096) = 820
[pid 32119] rt_sigaction(SIGUSR1, {SIG_IGN}, {0x4002127c, [],
SA_INTERRUPT|0x4000000}, 8) = 0
[pid 32119] time(NULL)                  = 1069347769
[pid 32119] stat64("/etc/httpd/htdocs/email/system/system.css",
{st_mode=S_IFREG|0644, st_size=1199, ...}) = 0
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] time([1069347769])          = 1069347769
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] open("/etc/httpd/htdocs/email/system/system.css", O_RDONLY) =
13
[pid 32119] select(12, [11], NULL, NULL, {0, 0}) = 0 (Timeout)
[pid 32119] write(11, "HTTP/1.1 304 Not Modified\r\nDate:"..., 196) = 196
[pid 32119] time(NULL)                  = 1069347769
[pid 32119] write(17, "X.X.X.X- blahblah [20/Nov"..., 358) = 358
[pid 32119] close(13)                   = 0
[pid 32119] rt_sigaction(SIGUSR1, {0x4002127c, [],
SA_INTERRUPT|0x4000000}, {SIG_IGN}, 8) = 0
[pid 32119] read(11,  <unfinished ...>
[pid 32119] <... read resumed> "GET /worktime.css HTTP/1.1\r\nAcc"...,
4096) = 780
[pid 32119] rt_sigaction(SIGUSR1, {SIG_IGN}, {0x4002127c, [],
SA_INTERRUPT|0x4000000}, 8) = 0
[pid 32119] time(NULL)                  = 1069347769
[pid 32119] stat64("/etc/httpd/htdocs/email/worktime.css",
{st_mode=S_IFREG|0644, st_size=12662, ...}) = 0
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] time([1069347769])          = 1069347769
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] open("/tmp/wlproxy.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 13
[pid 32119] fstat64(13, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
[pid 32119] old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
[pid 32119] fstat64(13, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
[pid 32119] _llseek(13, 0, [0], SEEK_SET) = 0
[pid 32119] close(13)                   = 0
[pid 32119] munmap(0x40014000, 4096)    = 0
[pid 32119] socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 13
[pid 32119] fcntl64(13, F_GETFL)        = 0x2 (flags O_RDWR)
[pid 32119] fcntl64(13, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 32119] setsockopt(13, SOL_TCP, TCP_NODELAY, [-1], 4) = 0
[pid 32119] setsockopt(13, SOL_SOCKET, SO_REUSEADDR, [-1], 4) = 0
[pid 32119] connect(13, {sin_family=AF_INET, sin_port=htons(9004),
sin_addr=inet_addr("10.10.224.40")}}, 16) = -1 EINPROGRESS (Operation now
in progress)
[pid 32119] select(14, NULL, [13], [13], {2, 0}) = 1 (out [13], left {2,
0})
[pid 32119] getsockopt(13, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
[pid 32119] fcntl64(13, F_GETFL)        = 0x802 (flags O_RDWR|O_NONBLOCK)
[pid 32119] fcntl64(13, F_SETFL, O_RDWR) = 0
[pid 32119] select(14, NULL, [13], [13], {300, 0}) = 1 (out [13], left
{300, 0})
[pid 32119] write(13, "GET /worktime.css HTTP/1.1\r\nAcc"..., 1026) = 1026
[pid 32119] select(14, [13], NULL, NULL, {300, 0}) = 1 (in [13], left
{299, 990000})
[pid 32119] read(13, "HTTP/1.1 304 Not Modified\r\nDate:"..., 4096) = 157
[pid 32119] close(13)                   = 0
[pid 32119] select(12, [11], NULL, NULL, {0, 0}) = 0 (Timeout)
[pid 32119] write(11, "HTTP/1.1 304 Not Modified\r\nDate:"..., 213) = 213
[pid 32119] time(NULL)                  = 1069347769
[pid 32119] write(17, "X.X.X.X- blahblah [20/Nov"..., 354) = 354
[pid 32119] rt_sigaction(SIGUSR1, {0x4002127c, [],
SA_INTERRUPT|0x4000000}, {SIG_IGN}, 8) = 0
[pid 32119] read(11,  <unfinished ...>
[pid 32119] <... read resumed> "GET /overrides/ovrCode.js HTTP/1"...,
4096) = 825
[pid 32119] rt_sigaction(SIGUSR1, {SIG_IGN}, {0x4002127c, [],
SA_INTERRUPT|0x4000000}, 8) = 0
[pid 32119] time(NULL)                  = 1069347769
[pid 32119] stat64("/etc/httpd/htdocs/email/overrides/ovrCode.js",
{st_mode=S_IFREG|0644, st_size=60773, ...}) = 0
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] time([1069347769])          = 1069347769
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] open("/etc/httpd/htdocs/email/overrides/ovrCode.js", O_RDONLY)
= 13
[pid 32119] select(12, [11], NULL, NULL, {0, 0}) = 0 (Timeout)
[pid 32119] write(11, "HTTP/1.1 304 Not Modified\r\nDate:"..., 198) = 198
[pid 32119] time(NULL)                  = 1069347769
[pid 32119] write(17, "X.X.X.X- blahblah [20/Nov"..., 361) = 361
[pid 32119] close(13)                   = 0
[pid 32119] rt_sigaction(SIGUSR1, {0x4002127c, [],
SA_INTERRUPT|0x4000000}, {SIG_IGN}, 8) = 0
[pid 32119] read(11,  <unfinished ...>
[pid 32119] <... read resumed> "GET /system/ui/DBLookupUIResolve"...,
4096) = 1405
[pid 32119] rt_sigaction(SIGUSR1, {SIG_IGN}, {0x4002127c, [],
SA_INTERRUPT|0x4000000}, 8) = 0
[pid 32119] time(NULL)                  = 1069347772
[pid 32119]
stat64("/etc/httpd/htdocs/email/system/ui/DBLookupUIResolve.jsp",
{st_mode=S_IFREG|0644, st_size=9788, ...}) = 0
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] time([1069347772])          = 1069347772
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] open("/tmp/wlproxy.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 13
[pid 32119] fstat64(13, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
[pid 32119] old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
[pid 32119] fstat64(13, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
[pid 32119] _llseek(13, 0, [0], SEEK_SET) = 0
[pid 32119] close(13)                   = 0
[pid 32119] munmap(0x40014000, 4096)    = 0
[pid 32119] socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 13
[pid 32119] fcntl64(13, F_GETFL)        = 0x2 (flags O_RDWR)
[pid 32119] fcntl64(13, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 32119] setsockopt(13, SOL_TCP, TCP_NODELAY, [-1], 4) = 0
[pid 32119] setsockopt(13, SOL_SOCKET, SO_REUSEADDR, [-1], 4) = 0
[pid 32119] connect(13, {sin_family=AF_INET, sin_port=htons(9004),
sin_addr=inet_addr("10.10.224.40")}}, 16) = -1 EINPROGRESS (Operation now
in progress)
[pid 32119] select(14, NULL, [13], [13], {2, 0}) = 1 (out [13], left {1,
990000})
[pid 32119] getsockopt(13, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
[pid 32119] fcntl64(13, F_GETFL)        = 0x802 (flags O_RDWR|O_NONBLOCK)
[pid 32119] fcntl64(13, F_SETFL, O_RDWR) = 0
[pid 32119] select(14, NULL, [13], [13], {300, 0}) = 1 (out [13], left
{300, 0})
[pid 32119] write(13, "GET /system/ui/DBLookupUIResolve"..., 1651) = 1651
[pid 32119] select(14, [13], NULL, NULL, {300, 0}) = 1 (in [13], left
{299, 970000})
[pid 32119] read(13, "HTTP/1.1 200 OK\r\nDate: Thu, 20 N"..., 4096) = 348
[pid 32119] select(14, [13], NULL, NULL, {300, 0}) = 1 (in [13], left
{300, 0})
[pid 32119] read(13, "            <html>\n<head>\n\t<titl"..., 4096) =
1400
[pid 32119] write(11, "HTTP/1.1 200 OK\r\nDate: Thu, 20 N"..., 1779) =
1779
[pid 32119] select(14, [13], NULL, NULL, {300, 0}) = 1 (in [13], left
{300, 0})
[pid 32119] read(13, "eturn;\r\n\t\t\t\t\t} else\r\n\t\t\t\t\t\ttarge"...,
4096) = 2008
[pid 32119] write(11, "eturn;\r\n\t\t\t\t\t}
else\r\n\t\t\t\t\t\ttarge"..., 2008) = 2008
[pid 32119] close(13)                   = 0
[pid 32119] time(NULL)                  = 1069347772
[pid 32119] write(17, "X.X.X.X - blahblah [20/Nov"..., 902) = 902
[pid 32119] rt_sigaction(SIGUSR1, {0x4002127c, [],
SA_INTERRUPT|0x4000000}, {SIG_IGN}, 8) = 0
[pid 32119] read(11,  <unfinished ...>
[pid 32119] <... read resumed> "GET /messaging/businessObject.js"...,
4096) = 724
[pid 32119] rt_sigaction(SIGUSR1, {SIG_IGN}, {0x4002127c, [],
SA_INTERRUPT|0x4000000}, 8) = 0
[pid 32119] time(NULL)                  = 1069347777
[pid 32119] stat64("/etc/httpd/htdocs/email/messaging/businessObject.jsp",
{st_mode=S_IFREG|0644, st_size=12754, ...}) = 0
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] write(11, "HTTP/1.1 401 Authorization Requi"..., 795) = 795
[pid 32119] time(NULL)                  = 1069347777
[pid 32119] write(17, "X.X.X.X- - [20/Nov/2003:1"..., 225) = 225
[pid 32119] rt_sigaction(SIGUSR1, {0x4002127c, [],
SA_INTERRUPT|0x4000000}, {SIG_IGN}, 8) = 0
[pid 32119] read(11, "GET /messaging/businessObject.js"..., 4096) = 775
[pid 32119] rt_sigaction(SIGUSR1, {SIG_IGN}, {0x4002127c, [],
SA_INTERRUPT|0x4000000}, 8) = 0
[pid 32119] time(NULL)                  = 1069347777
[pid 32119] stat64("/etc/httpd/htdocs/email/messaging/businessObject.jsp",
{st_mode=S_IFREG|0644, st_size=12754, ...}) = 0
[pid 32119] getpid()                    = 32119
[pid 32119] getpid()                    = 32119
[pid 32119] --- SIGSEGV (Segmentation fault) ---
[pid 10610] wait4(-1, [WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV], WNOHANG,
NULL) = 32119

---------------------------------------------------------------------
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] Apache not generating core files :(

Posted by André Malo <nd...@perlig.de>.
* mattyml@bellsouth.net wrote:

> I updated /etc/profile and /etc/init.d/functions, and changed the ulimits
> from "ulimit -S -c 0" to "ulimit -c unlimited."  I also added
> "CoreDumpDirectory /free/core" to my httpd.conf. I have tried sending
> SIGABRT, SIGKILL and SIGSEGV signals to the apache processes, and they
> still refuse to dump core. Anyone have any thoughts on how to get apache
> to dump core?

Try loading this module: http://www.apache.org/~trawick/mod_prctl.c into
your server. The linux kernel refuses to dump core on programs the change
their userid (like apache does). Together with your actions it should dump
core then.

HTH, nd

---------------------------------------------------------------------
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