OS is redhat5.5 ,nginx 1.0.0 ,libunwind-0.99…
The /var/log/message frequently appear the follow messages:
Jun 13 10:20:31 localhost kernel: nginx[14431]: segfault at 2a2 ip
00007fa6b3a05eb6 sp 00007fff337d87e0 error 4 in
libunwind.so.7.0.0[7fa6b39fb000+f000]
Jun 13 16:01:09 localhost kernel: nginx[13794]: segfault at 2a2 ip
00007fa6b3a05eb6 sp 00007fff337d87a0 error 4 in
libunwind.so.7.0.0[7fa6b39fb000+f000]
Jun 13 17:55:00 localhost kernel: nginx[13808]: segfault at 2a2 ip
00007fa6b3a05eb6 sp 00007fff337d86e0 error 4 in
libunwind.so.7.0.0[7fa6b39fb000+f000]
Jun 14 01:13:48 localhost kernel: nginx[14592]: segfault at 2a2 ip
00007fa6b3a05eb6 sp 00007fff337d87a0 error 4 in
libunwind.so.7.0.0[7fa6b39fb000+f000]
Jun 14 01:47:13 localhost kernel: nginx[13153]: segfault at 2a2 ip
00007fa6b3a05eb6 sp 00007fff337d87e0 error 4 in
libunwind.so.7.0.0[7fa6b39fb000+f000]
Jun 14 09:09:28 localhost kernel: nginx[28921]: segfault at 8008 ip
00007fa6b3a05eb6 sp 00007fff337d8c60 error 4 in
libunwind.so.7.0.0[7fa6b39fb000+f000]
Jun 14 15:47:33 localhost kernel: nginx[21295]: segfault at 2a2 ip
00007fde9e837eb6 sp 00007fffc48594a0 error 4 in
libunwind.so.7.0.0[7fde9e82d000+f000]
i think you should probably first find out which of all your
additional modules is linking to libunwind.so.
then i would guess there must be a bug either in that module or in the
libunwind.
if you compile nginx without any add-module i think it should not link
to libunwind, so this must come from one of your via --add-module
added modules.
I think the with-google_perftools_module will link to libunwind,but i
don’t known how do prove and solve it.
because google_perftools need libunwind under the X86_64 system .
if you want to be sure, recompile the nginx without google_perftools,
then you do ldd on the nginx binary and see if it still links to
libunwind.
once you are sure its coming from this module, you can start trying to
find bugreports of this problem or try other versions of either the
library or the nginx module.
replay Wrote:
i try to update nginx to 1.0.4 ,but i meet another problem,when i use
nginx 1.0.1 or 1.0.4 after about10 hours or more ,the nginx don’t
working i cant open the web or the nginx_status information,Surprising
that the nginx process still exist .if happen this ,i must restart
nginx.when i back to use nginx 1.0.0, the problem willn’t appear.