On 27/05/2011, at 11:08 AM, Voytek Eymont wrote: > I have a virtual Ubuntu machine running MAP+Postfix in service few weeks; > > as of few days ago the system started self-rebooting once a day or so > > how to diagnose the reason ? > > ~# uname -a > Linux 2.6.32-30-generic-pae #59-Ubuntu SMP Tue Mar 1 23:01:33 UTC 2011 > i686 GNU/Linux > > top - 11:07:30 up 10:38, 2 users, load average: 0.02, 0.22, 0.29 > Tasks: 154 total, 1 running, 153 sleeping, 0 stopped, 0 zombie > Cpu(s): 0.7%us, 0.7%sy, 0.0%ni, 98.3%id, 0.3%wa, 0.0%hi, 0.0%si, > 0.0%st > Mem: 508864k total, 445384k used, 63480k free, 33108k buffers > Swap: 364536k total, 121620k used, 242916k free, 144904k cached
I had a similar problem with a virtual linux server a while back. Turned out that presenting it with multiple VCPUs was the culprit. Reducing it back to a single VCPU fixed it. As for how I figured that out - I went back through the change logs and found that another engineer decided it needed more CPU grunt and gave it another VCPU...not long after that we started getting random reboots about once every 24-36 hours. Although we went through a lot of "what about this, what about that" before we thought of checking the VM configuration and hypervisor changes. My advice would be go back over what has changed on you virtual machine AND your hypervisor. Sometimes the most inane changes can lead to odd behaviour. Cheers, James
smime.p7s
Description: S/MIME cryptographic signature
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
