Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support (Russian)
  3. На некоторых 64bit серверах агент съедает всю виртуальную память

На некоторых 64bit серверах агент съедает всю виртуальную память

Scheduled Pinned Locked Moved Support (Russian)
9 Posts 2 Posters 24.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    A
    Akira
    wrote on last edited by
    #1

    У меня x64 серверов больше 30.
    Сервера 2003 Std&Ent.
    На некоторых процесс nxagentd.exe сразу при старте съедает всю Virtual Memory.
    Если поставить x32 версию агента, то все нормально.
    Выявил на 0.2.31 и 1.1.0

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      A eti servera (na kotorih s'edaet pamjat') chem-to otlichajutsja ot ostal'nih? I mozno li prislat' konfig agenta s problemnogo servera?

      1 Reply Last reply
      0
      • A
        A
        Akira
        wrote on last edited by
        #3

        Проблему локализовал.
        Жрет память при наличии smartarray.xml
        Повторюсь, что касается это только 64bit версии.


        nxagentd.conf
        MasterServers = 192.168.1.200
        LogFile = {syslog}
        FileStore = C:\Program Files\NetXMS\var
        SubAgent = winperf.nsm
        SubAgent = logwatch.nsm
        EnableProxy = yes

        *LogWatch
        Parser = C:\Program Files\NetXMS\etc\spooler.xml
        Parser = C:\Program Files\NetXMS\etc\smartarray.xml
        Parser = C:\Program Files\NetXMS\etc\terminalservice.xml


        smartarray.xml
        <parser>
           <file>*System</file>
           <rules>
              <rule>
                 <source>Cissesrv</source>
                 <id>24578</id>
              </rule>
              <rule>
                 <source>Cissesrv</source>
                 <id>24581</id>
              </rule>
              <rule>
                 <source>Cissesrv</source>
                 <match>(.*)</match>
                 <event params="1">100017</event>
              </rule>
           </rules>
        </parser>

        1 Reply Last reply
        0
        • V
          V
          Victor Kirhenshtein
          wrote on last edited by
          #4

          К сожалению так и не смог повторить у себя эту ситуацию. Похоже проблема связана не напрямую с конкретным парсером, а проявляется при наличии каких-то дополнительных условий. А можно поставить логирование в файл и запустить агента в дебаг режиме (nxagentd -D 9), и прислать лог?

          1 Reply Last reply
          0
          • A
            A
            Akira
            wrote on last edited by
            #5

            Вот. Сожрал сразу 31GB виртуалки

            nxagentd.exe -D 9 -c "C:\Program Files\NetXMS\etc\nxagentd.conf"

            [04-Jun-2010 09:54:21] Additional configs was loaded from C:\nxagentd.conf.d
            [04-Jun-2010 09:54:21] Debug level set to 9
            [04-Jun-2010 09:54:21] Subagent API initialized
            [04-Jun-2010 09:54:21] Subagent "WINNT.NSM" loaded successfully
            [04-Jun-2010 09:54:21] Counter set B is empty, collector thread for that set will not start
            [04-Jun-2010 09:54:21] Counter set C is empty, collector thread for that set will not start
            [04-Jun-2010 09:54:21] Subagent "winperf.nsm" loaded successfully
            [04-Jun-2010 09:54:21] LogWatch: registered parser for file *System, trace level set to 0
            [04-Jun-2010 09:54:21] LogWatch: registered parser for file *System, trace level set to 0
            [04-Jun-2010 09:54:21] LogWatch: registered parser for file *System, trace level set to 0
            [04-Jun-2010 09:54:21] LogWatch: cannot load wevtapi.dll: The specified module could not be found.
            [04-Jun-2010 09:54:22] LogWatch: Start watching event log "System"
            [04-Jun-2010 09:54:22] LogWatch: Start watching event log "System"
            [04-Jun-2010 09:54:22] LogWatch: Start watching event log "System"
            [04-Jun-2010 09:54:22] Subagent "logwatch.nsm" loaded successfully
            [04-Jun-2010 09:54:23] Trying to bind on 0.0.0.0:4700
            [04-Jun-2010 09:54:23] Listening on socket 0.0.0.0:4700
            [04-Jun-2010 09:54:24] NetXMS Agent started
            Agent running. Press ESC to shutdown.
            [04-Jun-2010 09:54:27] LogWatch: Message file "C:\Program Files\NetXMS\bin\nxagentd.exe" loaded
            Agent shutting down...
            [04-Jun-2010 09:54:27] Shutdown() called
            [04-Jun-2010 09:54:27] Trap sender thread terminated
            [04-Jun-2010 09:54:29] Session Watchdog thread terminated
            [04-Jun-2010 09:54:29] Listener thread terminated
            [04-Jun-2010 09:54:29] Collector thread for counter set A terminated
            [04-Jun-2010 09:54:29] LogWatch: Stop watching event log "System"
            [04-Jun-2010 09:54:29] LogWatch: Stop watching event log "System"
            [04-Jun-2010 09:54:29] LogWatch: Stop watching event log "System"
            [04-Jun-2010 09:54:29] NetXMS Agent stopped

            1 Reply Last reply
            0
            • V
              V
              Victor Kirhenshtein
              wrote on last edited by
              #6

              Попробуйте поставить этого агента: https://www.netxms.org/download/agent_packages/nxagent-1.1.0-rc12-x64.exe и запустить в дебаг режиме.

              P.S. А можно прислать остальные парсеры?

              1 Reply Last reply
              0
              • A
                A
                Akira
                wrote on last edited by
                #7

                @victor said in На некоторых 64bit серверах агент съедает всю виртуальную память:

                P.S. А можно прислать остальные парсеры?

                Нет смысла.
                Я запускал сейчас (nxagent-1.1.0-rc12-x64.exe) только с этим (smartarray.xml) включенным.
                Опять сожрал 31GB

                [04-Jun-2010 13:02:27] Additional configs was loaded from C:\nxagentd.conf.d
                [04-Jun-2010 13:02:27] Debug level set to 9
                [04-Jun-2010 13:02:27] Subagent API initialized
                [04-Jun-2010 13:02:27] Subagent "WINNT.NSM" loaded successfully
                [04-Jun-2010 13:02:27] Counter set B is empty, collector thread for that set will not start
                [04-Jun-2010 13:02:27] Counter set C is empty, collector thread for that set will not start
                [04-Jun-2010 13:02:27] Subagent "winperf.nsm" loaded successfully
                [04-Jun-2010 13:02:27] LogWatch: registered parser for file *System, trace level set to 0
                [04-Jun-2010 13:02:27] LogWatch: Process RSS after parser creation is 16203776 bytes
                [04-Jun-2010 13:02:27] LogWatch: cannot load wevtapi.dll: The specified module could not be found.
                [04-Jun-2010 13:02:27] LogWatch: Start watching event log "System"
                [04-Jun-2010 13:02:27] LogWatch: Process RSS is 16379904 bytes
                [04-Jun-2010 13:02:27] Subagent "logwatch.nsm" loaded successfully
                [04-Jun-2010 13:02:28] Trying to bind on 0.0.0.0:4700
                [04-Jun-2010 13:02:28] Listening on socket 0.0.0.0:4700
                [04-Jun-2010 13:02:29] NetXMS Agent started
                Agent running. Press ESC to shutdown.
                [04-Jun-2010 13:02:32] LogWatch: Message file "C:\Program Files\NetXMS\bin\nxagentd.exe" loaded
                Agent shutting down...
                [04-Jun-2010 13:02:34] Shutdown() called
                [04-Jun-2010 13:02:34] Trap sender thread terminated
                [04-Jun-2010 13:02:35] Session Watchdog thread terminated
                [04-Jun-2010 13:02:35] Listener thread terminated
                [04-Jun-2010 13:02:35] Collector thread for counter set A terminated
                [04-Jun-2010 13:02:36] LogWatch: Stop watching event log "System"
                [04-Jun-2010 13:02:36] NetXMS Agent stopped

                1 Reply Last reply
                0
                • A
                  A
                  Akira
                  wrote on last edited by
                  #8

                  Идеи?
                  Сегодня еще на один сервак ставил, тоже виртуалку выжрал.
                  Поставил 32bit агента, все ок.

                  1 Reply Last reply
                  0
                  • V
                    V
                    Victor Kirhenshtein
                    wrote on last edited by
                    #9

                    Poka ne udalos' povtorit' u sebja etu problemu. Na vihodnih budu testirovat' dal'she.

                    1 Reply Last reply
                    0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    Powered by NodeBB Contributors
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups