ryouga42 n00b
Joined: 21 Oct 2004 Posts: 19
|
Posted: Mon Nov 01, 2004 8:13 am Post subject: System suddenly runs out of memory |
|
|
So I looked over the cacti graphs for last night, and noticed that the free memory took a very sharp turn for the worse. As in, it ran completely out. So after a quick "WTF" I looked at the logs and yes, it ran out of memory, this is also why it was not logging after it hit that point - I've added the patch that kills the task that requests memory pushing it over the edge.
What would have happened if I hadn't had that patch in? Would the entire system have simply died flat?
It seemed to corrupt one of my MySQL databases, so I restored from a handy backup. And noticed something much much worse...
Code: |
/mnt/backup/daily.1/avomrtg/mnt/backup/daily.0/avomrtg/mnt/backup/daily.0/avomrtg/var/lib/mysql/mysql/func.MYI
|
Could a runaway rsnapshot cause this? I note a tiny little loop there (that I should have picked up on before, but that's life) - if so then I don't need to investigate further. Otherwise, what else should I look for to find out what's going on? |
|