Loading ...
Sorry, an error occurred while loading the content.

webalizer & libdb problems

Expand Messages
  • Brock Noland
    Greetings, We have a bunch of cpanel servers which use webalizer: # /usr/local/cpanel/3rdparty/bin/english/webalizer -V Webalizer V2.01-10 (Linux
    Message 1 of 3 , May 9, 2008
    • 0 Attachment
      Greetings,

      We have a bunch of cpanel servers which use webalizer:

      # /usr/local/cpanel/3rdparty/bin/english/webalizer -V
      Webalizer V2.01-10 (Linux 2.6.9-67.0.4.ELsmp) English
      Copyright 1997-2001 by Bradford L. Barrett

      Every once in a while webalizer will stop dead in its tracks and take
      up 100% of the cpu. It can sit for days without making any progress.
      The file its processing this last time was ~40MB. Here are two back
      traces:

      #0 0x0084f2a1 in __ham_func5 () from /lib/tls/i686/libdb-4.2.so
      #1 0x007e2b18 in __ham_call_hash () from /lib/tls/i686/libdb-4.2.so
      #2 0x007edfa2 in __ham_split_page () from /lib/tls/i686/libdb-4.2.so
      #3 0x007e407c in __ham_init_dbt () from /lib/tls/i686/libdb-4.2.so
      #4 0x00000005 in ?? ()
      #5 0x00000015 in ?? ()
      #6 0xbff1cae8 in ?? ()
      #7 0xb7fdfa38 in ?? ()
      #8 0x0051b1c0 in _rtld_local () from /lib/ld-linux.so.2
      #9 0x00000000 in ?? ()


      #0 0x005890ec in memcpy () from /lib/tls/libc.so.6
      #1 0x0083d880 in __db_retcopy () from /lib/tls/i686/libdb-4.2.so
      #2 0x0083d9b1 in __db_ret () from /lib/tls/i686/libdb-4.2.so
      #3 0x007edf7e in __ham_split_page () from /lib/tls/i686/libdb-4.2.so
      #4 0x007e407c in __ham_init_dbt () from /lib/tls/i686/libdb-4.2.so
      #5 0x00000005 in ?? ()
      #6 0x00000015 in ?? ()
      #7 0xbff1cae8 in ?? ()
      #8 0xb7fdfa38 in ?? ()
      #9 0x0051b1c0 in _rtld_local () from /lib/ld-linux.so.2
      #10 0x00000000 in ?? ()

      Are there any known issues regarding this? It seems there was a few
      problems which sound like this fixed in the last release. I am
      wondering if there are any additional fixes in source control but not
      released?

      Thanks,
      Brock
    • Bradford L. Barrett
      Is this a random occurance or can you reproduce the problem with a specific log file? Also, can you re-compile with the --enable-debug option so a better
      Message 2 of 3 , May 9, 2008
      • 0 Attachment
        Is this a random occurance or can you reproduce the problem with a
        specific log file?

        Also, can you re-compile with the --enable-debug option so a better
        backtrace can be obtained?

        --

        On Fri, 9 May 2008, Brock Noland wrote:

        > Greetings,
        >
        > We have a bunch of cpanel servers which use webalizer:
        >
        > # /usr/local/cpanel/3rdparty/bin/english/webalizer -V
        > Webalizer V2.01-10 (Linux 2.6.9-67.0.4.ELsmp) English
        > Copyright 1997-2001 by Bradford L. Barrett
        >
        > Every once in a while webalizer will stop dead in its tracks and take
        > up 100% of the cpu. It can sit for days without making any progress.
        > The file its processing this last time was ~40MB. Here are two back
        > traces:
        >
        > #0 0x0084f2a1 in __ham_func5 () from /lib/tls/i686/libdb-4.2.so
        > #1 0x007e2b18 in __ham_call_hash () from /lib/tls/i686/libdb-4.2.so
        > #2 0x007edfa2 in __ham_split_page () from /lib/tls/i686/libdb-4.2.so
        > #3 0x007e407c in __ham_init_dbt () from /lib/tls/i686/libdb-4.2.so
        > #4 0x00000005 in ?? ()
        > #5 0x00000015 in ?? ()
        > #6 0xbff1cae8 in ?? ()
        > #7 0xb7fdfa38 in ?? ()
        > #8 0x0051b1c0 in _rtld_local () from /lib/ld-linux.so.2
        > #9 0x00000000 in ?? ()
        >
        >
        > #0 0x005890ec in memcpy () from /lib/tls/libc.so.6
        > #1 0x0083d880 in __db_retcopy () from /lib/tls/i686/libdb-4.2.so
        > #2 0x0083d9b1 in __db_ret () from /lib/tls/i686/libdb-4.2.so
        > #3 0x007edf7e in __ham_split_page () from /lib/tls/i686/libdb-4.2.so
        > #4 0x007e407c in __ham_init_dbt () from /lib/tls/i686/libdb-4.2.so
        > #5 0x00000005 in ?? ()
        > #6 0x00000015 in ?? ()
        > #7 0xbff1cae8 in ?? ()
        > #8 0xb7fdfa38 in ?? ()
        > #9 0x0051b1c0 in _rtld_local () from /lib/ld-linux.so.2
        > #10 0x00000000 in ?? ()
        >
        > Are there any known issues regarding this? It seems there was a few
        > problems which sound like this fixed in the last release. I am
        > wondering if there are any additional fixes in source control but not
        > released?
        >
        > Thanks,
        > Brock
        --
        Bradford L. Barrett brad@...
        A free electron in a sea of neutrons DoD#1750 KD4NAW

        The only thing Micro$oft has done for society, is make people
        believe that computers are inherently unreliable.
      • Brock Noland
        ... I reran webalizer with the same log file and it appeared to have worked correctly. This has happened twice for the same account a few weeks apart. ... Yes,
        Message 3 of 3 , May 9, 2008
        • 0 Attachment
          On Fri, May 9, 2008 at 10:45 PM, Bradford L. Barrett <brad@...> wrote:
          >
          > Is this a random occurance or can you reproduce the problem with a
          > specific log file?

          I reran webalizer with the same log file and it appeared to have
          worked correctly. This has happened twice for the same account a few
          weeks apart.

          > Also, can you re-compile with the --enable-debug option so a better
          > backtrace can be obtained?

          Yes, that I am not sure of. I have asked my collegues who know more
          about cpanel. If we cannot, then I hope that one of these times I can
          get it into a re-creatable state. Then I create build webalizer with
          debug symbols....

          Just wondering if this jogged any memories.

          Brock
        Your message has been successfully submitted and would be delivered to recipients shortly.