thank you for reply, not sure what causes this issue, never seen it before.
The issue is that server have 11.80 GB total, 1.31 MB used RAM mem, so it seems that
for some reason the server is using the local HDD instead of RAM mem ??
I see that there is huge amount of data in the var/log, can I delete just everything in
var/log so it can begin from the start again ? so I can follow it…
there is some folders in var/log also for example:
You’re mixing up “Virtual memory” and “Physical memory”. What you interpreted as “11.8 GB physical memory, and only 1.3 MB being used” is in fact the virtual memory i.e. swapfile.
You memory values look okay; you have 9.66 GB physical memory with only 1.68 GB in use, and swapfile is basically not in use at all.
To make sure, you can use the command free in a shell to get further details. When you post command line outputs here, please enclose them in [code][/code] tags.
The disk usage command is exactly what I wrote:
du -sh *
This shows the usage of all subdirectories, summed up per directory, of your current working directory.
Basically you could delete everything in /var/log, but that is highly discouraged. Several processes will either keep files locked or go crazy when you simply delete their log files. Better find out which files are so large in /var/log:
You have right about log file delete, it`s not recommended at all, just tested it on another test server.
Will try to run the commands you mentioned and try to find out which logs eats the hdd space…