-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 27/03/11 11:32, Andy Smith wrote:
Hi Adam,
On Sun, Mar 27, 2011 at 02:01:10AM +0100, Adam Sweet wrote:
Hi everyone
My VPS running Debian Lenny has recently started to crash frequently,
about 6 times in the last week. I've had out of memory conditions in the
past, though reasonably infrequently, so that was my first I thought.
Any ideas when it started happening?
Hmm, about 19th March when it started crashing every 12-36 hours, 3rd
March is the next previous I have a record of but there have been
intermittent crashes for a while which I put down to running too much in
too little (ie ClamAV).
I've
bumped my RAM allocation, added extra swap and removed a few
services which weren't strictly necessary but the crashing continues. My
resource graphs don't suggest any memory usage build up before the crash
or anything else untoward going on and the system logs report nothing,
it seems to just go more or less instantaneously.
I don't think it will be RAM exhaustion then, sadly.
I managed to capture some of the console output
when I got to the machine:
http://pastebin.com/TjZRCebQ
But it had been dead for about 6 hours as I'd been out for the evening,
so it's possible the crucial part was lost before I got to it.
Sorry, this is a new one to me. Is it always apache2 task that gets
blocked?
Yes, always. On previous occurrences I did see that the OOM handler had
killed apache2 and mysqld, but I didn't expect the kernel to panic and
the system to become inoperable in this way.
I've driven my Apache MaxClient down quite hard over time, to around 10
so I'm surprised that having added way more swap and RAM than
MaxClients*Apache process size that I've still seen another crash,
though admittedly the OOM wasn't in the output I was able to catch.
As you might imagine, I'm running quite a few
Debian Lenny VMs under
Xen at BitFolk for infrastructure purposes and I'm not seeing this
myself.
What are your kernel boot arguments?
kernel /boot/vmlinuz-2.6.26-2-xen-686 root=/dev/xvda1 console=hvc0 ro
At this point,
my only options seem to be to migrate services off to
another system until the system stops crashing, or add more RAM, or
start afresh on a new VPS to see if it goes away.
We could try moving your VPS to another host. Probably worth trying
that before migrating/reinstalling.
I'd be happy for you to try that, I'd prefer to arrange a time out of
office hours so I can let people know that their mail won't work during
the move.
Regards,
Adam Sweet
- --
http://blog.adamsweet.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org/
iEYEARECAAYFAk2QT2cACgkQRi1ZcmvD37dJYACeP+voa1TvIBUySTZNs1MO1AgE
g+0Ani4s47P92ig9kSia4d+3Fnuqc+eQ
=+VIj
-----END PGP SIGNATURE-----