<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Bryan

      BlogJava :: 首頁 :: 聯系 :: 聚合  :: 管理
      37 Posts :: 3 Stories :: 24 Comments :: 0 Trackbacks
    Recently, I am working on a Enovia PLM project and after the upgrade to 2013xE, we also upgrade apache httpd server to 2.4.6 and webagent 12.52.sp01.cr09. and after everything is on production, we found the apache server was not stable to process clients' request. and sometimes,  "a ssl peer shutdown unexpectedly" happened etc, the apache server process keeps crashing and restarting. and the following illustrates how we diagnose the root cause of the problem.

    1. When our enoviaplm application is working, we often see the apache logs like below and after analysis, we can see that the apache processes crashed due to a exception
    [19/Aug/2019:05:50:17] [Info] [CA WebAgent IPC] [32754] [CSmSharedSegment::smalloc] Attached to shared memory segment 688134 using key 0x6947862b
    [19/Aug/2019:05:50:17] [Information] SiteMinder Agent
            SiteMinder agent is running.
    terminate called after throwing an instance of 'std::logic_error'
      what():  basic_string::_S_construct null not valid
    [Mon Aug 19 05:51:00.242945 2019] [core:notice] [pid 2886:tid 140178461149312] AH00052: child pid 32754 exit signal Aborted (6)
    [19/Aug/2019:05:53:08] [Information] SiteMinder Agent
            SiteMinder agent is enabled.
    [19/Aug/2019:05:53:08] [Information] SiteMinder Agent
            Configuration file path:
            '/etc/httpd/conf/WebAgent.conf'.
    [19/Aug/2019:05:53:09] [Info] [CA WebAgent IPC] [678] [CSmSem::getSem] Attached to semaphore 2162710 using key 0xc847862b
    [19/Aug/2019:05:53:09] [Info] [CA WebAgent IPC] [678] [CSmSem::getSem] Attached to semaphore 1736711 using key 0x6b47862b
    [19/Aug/2019:05:53:09] [Info] [CA WebAgent IPC] [678] [CSmSharedSegment::smalloc] Attached to shared memory segment 622596 using key 0x6c47862b
    [19/Aug/2019:05:53:09] [Info] [CA WebAgent IPC] [678] [CSmSem::getSem] Attached to semaphore 1933325 using key 0x6647862b
    [19/Aug/2019:05:53:09] [Info] [CA WebAgent IPC] [678] [CSmSem::getSem] Attached to semaphore 1966094 using key 0x6747862b
    [19/Aug/2019:05:53:09] [Info] [CA WebAgent IPC] [678] [CSmSem::getSem] Attached to semaphore 1998865 using key 0x6c47862b
    [19/Aug/2019:05:53:09] [Info] [CA WebAgent IPC] [678] [CSmSharedSegment::smalloc] Attached to shared memory segment 786441 using key 0x6547862b
    [19/Aug/2019:05:53:09] [Info] [CA WebAgent IPC] [678] [CSmSem::getSem] Attached to semaphore 2031634 using key 0x6847862b
    [19/Aug/2019:05:53:09] [Info] [CA WebAgent IPC] [678] [CSmSem::getSem] Attached to semaphore 2064403 using key 0x6947862b
    [19/Aug/2019:05:53:10] [Info] [CA WebAgent IPC] [678] [CSmSem::getSem] Attached to semaphore 1802249 using key 0x3247862b
    [19/Aug/2019:05:53:10] [Info] [CA WebAgent IPC] [678] [CSmSharedSegment::smalloc] Attached to shared memory segment 655365 using key 0x6147862b
    [19/Aug/2019:05:53:10] [Info] [CA WebAgent IPC] [678] [CSmSem::getSem] Attached to semaphore 1867787 using key 0x3347862b
    [19/Aug/2019:05:53:10] [Info] [CA WebAgent IPC] [678] [CSmSharedSegment::smalloc] Attached to shared memory segment 720903 using key 0x6247862b
    [19/Aug/2019:05:53:10] [Info] [CA WebAgent IPC] [678] [CSmSem::getSem] Attached to semaphore 1900556 using key 0x3447862b
    [19/Aug/2019:05:53:10] [Info] [CA WebAgent IPC] [678] [CSmSharedSegment::smalloc] Attached to shared memory segment 753672 using key 0x6347862b
    [19/Aug/2019:05:53:10] [Info] [CA WebAgent IPC] [678] [CSmSem::getSem] Attached to semaphore 1835018 using key 0x6a47862b
    [19/Aug/2019:05:53:10] [Info] [CA WebAgent IPC] [678] [CSmSharedSegment::smalloc] Attached to shared memory segment 688134 using key 0x6947862b
    [19/Aug/2019:05:53:10] [Information] SiteMinder Agent
            SiteMinder agent is running.
    terminate called after throwing an instance of 'std::logic_error'
      what():  basic_string::_S_construct null not valid
    [Mon Aug 19 05:54:48.465566 2019] [core:notice] [pid 2886:tid 140178461149312] AH00052: child pid 32627 exit signal Aborted (6)
    [19/Aug/2019:05:55:26] [Information] SiteMinder Agent
            SiteMinder agent is enabled.
    [19/Aug/2019:05:55:26] [Information] SiteMinder Agent
            Configuration file path:
            '/etc/httpd/conf/WebAgent.conf'.
    [19/Aug/2019:05:55:27] [Info] [CA WebAgent IPC] [914] [CSmSem::getSem] Attached to semaphore 2162710 using key 0xc847862b
    [19/Aug/2019:05:55:27] [Info] [CA WebAgent IPC] [914] [CSmSem::getSem] Attached to semaphore 1736711 using key 0x6b47862b

    2. We tried to enable the core dump for apache server according to the guide https://httpd.apache.org/dev/debugging.html (Debugging intermittent crashes) and when the crashed happened, you will see a crash core dump there in folder /tmp

    add CoreDumpDirectory /tmp to httpd.conf
    ulimit -c unlimited 

    3. we need a gdb tool to help analyze the core dump, use the following command  sudo gdb /usr/sbin/httpd /tmp/systemd-private-9811289cf7d44396a1bbc7e776cafa01-httpd.service-SXVLFM/tmp/core.19620 and you will see the error stack below

    [enovia@esenoaqv66 (QA APP1) tmp]$ sudo gdb /usr/sbin/httpd /tmp/systemd-private-9811289cf7d44396a1bbc7e776cafa01-httpd.service-SXVLFM/tmp/core.19620
    GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-110.el7
    Copyright (C) 2013 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "x86_64-redhat-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>
    Reading symbols from /usr/sbin/httpdReading symbols from /usr/sbin/httpd(no debugging symbols found)done.
    (no debugging symbols found)done.
    [New LWP 19632]
    [New LWP 19646]
    [New LWP 19622]
    [New LWP 19645]
    [New LWP 19623]
    [New LWP 19644]
    [New LWP 19620]
    [New LWP 19625]
    [New LWP 19643]
    [New LWP 19627]
    [New LWP 19642]
    [New LWP 19624]
    [New LWP 19628]
    [New LWP 19629]
    [New LWP 19626]
    [New LWP 19631]
    [New LWP 19634]
    [New LWP 19641]
    [New LWP 19633]
    [New LWP 19647]
    [New LWP 19630]
    [New LWP 19635]
    [New LWP 19640]
    [New LWP 19639]
    [New LWP 19638]
    [New LWP 19637]
    [New LWP 19636]
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib64/libthread_db.so.1".
    Core was generated by `/usr/sbin/httpd -DFOREGROUND'.
    Program terminated with signal 6, Aborted.
    #0  0x00007f2ecbba2207 in raise () from /usr/lib64/libc.so.6
    Missing separate debuginfos, use: debuginfo-install httpd-2.4.6-90.el7.x86_64
    (gdb) bt
    #0  0x00007f2ecbba2207 in raise () from /usr/lib64/libc.so.6
    #1  0x00007f2ecbba38f8 in abort () from /usr/lib64/libc.so.6
    #2  0x00007f2ec911f7d5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib64/libstdc++.so.6
    #3  0x00007f2ec911d746 in ?? () from /usr/lib64/libstdc++.so.6
    #4  0x00007f2ec911d773 in std::terminate() () from /usr/lib64/libstdc++.so.6
    #5  0x00007f2ec911d993 in __cxa_throw () from /usr/lib64/libstdc++.so.6
    #6  0x00007f2ec9172597 in std::__throw_logic_error(char const*) () from /usr/lib64/libstdc++.so.6
    #7  0x00007f2ec917e3c1 in char* std::string::_S_construct<char const*>(char const*char const*, std::allocator<char> const&, std::forward_iterator_tag) () from /usr/lib64/libstdc++.so.6
    #8  0x00007f2ec917e778 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) () from /usr/lib64/libstdc++.so.6
    #9  0x00007f2ecb447472 in ModifyLogTransaction(request_rec*) () from /app/CA/webagent/bin/libmod_sm24.so
    #10 0x000055cd5a3d3640 in ap_run_log_transaction ()
    #11 0x000055cd5a3d4738 in ap_read_request ()
    #12 0x000055cd5a3fa0de in ap_process_http_connection ()
    #13 0x000055cd5a3f2180 in ap_run_process_connection ()
    #14 0x00007f2ec09f0bd5 in worker_thread () from /etc/httpd/modules/mod_mpm_event.so
    #15 0x00007f2ecc144dd5 in start_thread () from /usr/lib64/libpthread.so.0
    #16 0x00007f2ecbc6ab3d in clone () from /usr/lib64/libc.so.6

    4.  We can see It is sso module problem and It crashed in method ModifyLogTransaction(request_rec*) () 
    You can send the error logs together with the core dump to CA siteminder team for their analysis, but finally our sso team help resolved my problem by upgrading the webagent to 12.52.sp01.cr10

    You can find the details in the url 
    https://bz.apache.org/bugzilla/show_bug.cgi?id=63670

    posted on 2019-08-21 08:46 Life is no respector of any genius. 閱讀(759) 評論(0)  編輯  收藏

    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    主站蜘蛛池模板: 成年女人永久免费观看片| 国产精品亚洲色图| 最近2019中文字幕免费大全5| 亚洲日韩在线第一页| 国产精品自拍亚洲| 亚洲AV之男人的天堂| 男男gvh肉在线观看免费| 亚洲Av无码国产情品久久| 无码毛片一区二区三区视频免费播放| 免费一级黄色毛片| 成人午夜影视全部免费看| 亚洲自偷自偷偷色无码中文| a级毛片在线免费| 亚洲图片在线观看| 中文字幕无码播放免费| 亚洲色大成网站www久久九| 国产男女猛烈无遮挡免费视频网站| 国产精品亚洲二区在线| 2022中文字字幕久亚洲| 男的把j放进女人下面视频免费| 亚洲欧洲av综合色无码| 国产免费69成人精品视频| 无码AV动漫精品一区二区免费| 亚洲日韩欧洲乱码AV夜夜摸| 亚洲AV无码无限在线观看不卡 | 亚洲日本天堂在线| 又黄又爽一线毛片免费观看| 中文字幕无码免费久久9一区9| 亚洲精品在线观看视频| 成年在线网站免费观看无广告| 国产亚洲一区区二区在线| 特级无码毛片免费视频尤物| 国产亚洲欧洲Aⅴ综合一区| 人妻无码一区二区三区免费| 亚洲欧美第一成人网站7777 | 国产亚洲视频在线| 亚洲av鲁丝一区二区三区| 久久久久国产精品免费免费搜索 | 亚洲一区二区在线免费观看| 成年人免费的视频| 性生大片视频免费观看一级|