Hi Arief, I guess you're running Graylog, Elasticsearch, and MongoDB on the same machine. Those three applications simply require a certain amount of memory.
This being said, your system is fine. Every byte of unused RAM is basically useless and waste, so Linux is trying to optimally fill the available memory at all times, e. .g by using it as a disk cache, see http://www.linuxatemyram.com/ for some basic information. You could certainly reduce memory usage on that system by tuning the JVM heap settings, but I would be surprised if the effort going into that would be worth it. Cheers, Jochen On Sunday, 31 July 2016 17:22:44 UTC+2, Arief Hydayat wrote: > > Dear all, > > I just upgrade the RAM from 8GM to 12GB but seems Graylog took a lot on it. > > ubuntu@graylog:~$ free -m > total used free shared buffers > cached > Mem: 12015 11456 559 0 86 1661 > -/+ buffers/cache: 9708 2307 > Swap: 4095 324 3771 > ubuntu@graylog:~$ > > > Sometime on free column showing 70 only. While when I do check on its top > process: > > top - 23:20:58 up 17 days, 12:08, 1 user, load average: 0.25, 0.35, 0.46 > Tasks: 153 total, 1 running, 152 sleeping, 0 stopped, 0 zombie > %Cpu(s): 3.6 us, 0.8 sy, 0.0 ni, 93.4 id, 2.0 wa, 0.0 hi, 0.1 si, > 0.0 st > KiB Mem: 12304176 total, 11769156 used, 535020 free, 91116 buffers > KiB Swap: 4194300 total, 331992 used, 3862308 free. 1736120 cached Mem > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > 18796 graylog 20 0 6459512 1.741g 5108 S 17.0 14.8 1086:49 java > 923 graylog 20 0 35.671g 7.340g 0 S 14.0 62.6 3653:19 java > 921 graylog 20 0 327256 34356 1652 S 2.0 0.3 764:48.38 mongod > 924 graylog 20 0 32596 6344 0 S 0.7 0.1 261:09.02 etcd > > Shown java and mongodb alway on the top. Any option to optimize it? > -- You received this message because you are subscribed to the Google Groups "Graylog Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/cca4c336-7165-4d4e-9065-18f77a6b3f61%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
