Recently one of my CentOS6 server crashed because of an Out of memory Error:
It seems to be related to the postgres database used by java web-applications (deployed on tomcat). But I cannot find useful information inside postgres log files.
I'm evaluating whether to install Cacti on the server in order to monitoring memory usage, and better understand the cause of the problem.
But I'm also wondering if I can directly find more information about the issue without installing other tools. Is there is a place/logfile that contain this kind of information?
output of free -m
:
total used free shared buffers cached
Mem: 5852 4600 1252 277 243 1428
-/+ buffers/cache: 2928 2924
Swap: 2047 0 2047
Many thanks for any clues.
free -m
– Rui F Ribeiro Feb 29 '16 at 13:28ps uax
too – Rui F Ribeiro Feb 29 '16 at 16:15