system up and pingable but not able to login
Hi all,
This is a CentOs 5 server. The server was up and running and was pingable but unable to login to the machine (unable to ssh or unable to login to a direct console). Reboot of the machine solved the issue but want to check on why this was happened. Yesterday i got zabbix messages about this system that there is a lack of free swap space. Will this be the reason ?. How to check more on this?. Now everything with swap space looks fine as given below Code:
free -m thanks in advance! |
There are below comments in /var/log/messages file
Code:
Oct 2 09:57:23 lnx12 kernel: Node 0 Normal: 159*4kB 26*8kB 207*16kB 30*32kB 5*64kB 0*128kB 1*256kB 0*512kB 1*1024kB 1*2048kB 0*4096kB = 8764kB Code:
Oct 2 10:25:21 lnx12 kernel: cpu 0 hot: high 186, batch 31 used:27 Code:
Oct 2 10:25:26 lnx12 kernel: Node 1 HighMem per-cpu: empty Code:
Oct 2 10:43:59 lnx12 kernel: Node 0 HighMem: empty |
Did you set this computer up?
How much swap space do you have? Maybe need to increase swap space. Has it happened before? How long has this server been running? |
Hi etech3,
yes, the server is up and running fine now. from below, looks there is a 31GB of swap space Code:
# free -g |
What software you got on this server?
|
only Oracle db
|
Could be a memory leak in the App code eg Java, C whatever.
As the RAM fills up, the kernel will use more & more swap as an extension of RAM. When it runs out of swap, it will attempt to keep running by invoking the OOM-Killer process, which kills random processes to recoup some memory. If you look carefully through the logs, you may be able to figure out what program filled the memory. The on-going thing to do is to setup some kind of monitoring to notify you when it starts digging into swap significantly. |
All times are GMT -5. The time now is 10:02 PM. |