На некоторых 64bit серверах агент съедает всю виртуальную память
-
-
A eti servera (na kotorih s'edaet pamjat') chem-to otlichajutsja ot ostal'nih? I mozno li prislat' konfig agenta s problemnogo servera?
-
Проблему локализовал.
Жрет память при наличии 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> -
К сожалению так и не смог повторить у себя эту ситуацию. Похоже проблема связана не напрямую с конкретным парсером, а проявляется при наличии каких-то дополнительных условий. А можно поставить логирование в файл и запустить агента в дебаг режиме (nxagentd -D 9), и прислать лог?
-
Вот. Сожрал сразу 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 -
Попробуйте поставить этого агента: https://www.netxms.org/download/agent_packages/nxagent-1.1.0-rc12-x64.exe и запустить в дебаг режиме.
P.S. А можно прислать остальные парсеры?
-
@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 -
-
Poka ne udalos' povtorit' u sebja etu problemu. Na vihodnih budu testirovat' dal'she.
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