Hi all,
I am running topbeat on windows machines to monitor memory, cpu (system wide and per process).
I am using the file output and deliver that one via nxlog to logstash and parse it there, because I am currently jailed on an old logstash / es version which doesn't support beats, so dont wonder.
We have an Apache Tomcat process which we want to monitor, because we have some kind of memory leak in there. The memory of the process runs up to 6 GB.
But in kibana i see a hard line at 4GB of the process while I can see 6GB in windows taskmanager.
If I check memory usage when the tomcat is below 4GB it seems quite to fit between topbeat and windows:
topbeat log line:
{"@timestamp":"2016-09-02T10:14:45.626Z","beat":{"hostname":"xxxxx","name":"xxxx"},"count":1,"proc":{"cmdline":"e:\ApacheGroup\Tomcat_7.0_Base_x64\bin\tomcat7.exe
//RS//Tomcat_7_Base","cpu":{"user":6721609,"user_p":0.343,"system":845250,"total":7566859,"start_time":"Feb12"},"mem":{"size":2816364544,"rss":2581942272,"rss_p":0.15,"share":0},"name":"tomcat7.exe","pid":7652,"ppid":0,"state":"running","username":"xxxx\tomcat_7b"},"type":"process"}
I parsed the memory fields to MB:
"topbeatProcMemSize": 2685.895,
"topbeatProcMemRss": 2462.332,
"topbeatProcMemRss_p": 15,
"topbeatProcMemShare": 0,
Here I see the Memory private working set is quite equal to MemRss.
When we have high usage of mem, i can see all values of topbeat stuck at 4096 MB.
"topbeatProcMemSize": 4096,
"topbeatProcMemRss": 4096,
"topbeatProcMemRss_p": 25,
"topbeatProcMemShare": 0,
Is it a bug of topbeat, is it related to java processes only or did I failed some configuration of topbeat?
Thanks.
PS: i am using tobeat-1.2.3