I have a problem with my LAMP server running Ubuntu 10.10 server. It is a home system used for file storage and controlling my heating system. It has been running happily for a couple of years but I had felt it had slowed down a bit over the last few weeks and yesterday MySQL stopped. I rebooted and it ran for about an hour, then MySQL stopped again. Top showed high load and zero available swap space.
I suspected AVG as the cause as I was seeing multiple avg* processes running, so I tried to remove it, but in 'top' I still sometimes see many avgscand processes running. How do I remove them?
I am very inexperienced in diagnosing server problems, I have looked at various log files but don't really know what I am looking at. In kern.log.1 I have found
which doesn't look good.Nov 5 23:29:38 solar kernel: [ 7094.253392] Out of memory: kill process 16758 (avgscand) score 4134 or a child
Nov 5 23:29:38 solar kernel: [ 7094.256393] Killed process 16758 (avgscand) vsz:264612kB, anon-rss:158264kB, file-rss:0kB
Is there a way to test the hardware? Could it be a memory failure? What else can I do to diagnose the problem?