[Bug 745108] Re: EC2 instance CPU goes to 100% and locks

2011-03-31 Thread Paul Willis
In 'top', when the server starts, the memory shows...

Mem:   1781972k total,   368760k used,

The 'used' memory slowly climbs till it reaches the 'total'. It is at
this point that the cpu goes to 100% and the instance becomes
unresponsive. S Moser pointed out that this isn't an actual reading of
memory availablity and directed me to 'free'

I used 'free' refreshing at 3 second intervals and on the last record
before it locked up it showed

 total   used   free sharedbuffers cached
Mem:  1740   1465275  0369729
-/+ buffers/cache:366   1374
Swap:  895  0895

So there was plenty of 'available' memory at that point.

It seems to me though that while only a small portion of memory is
actually in use the system is unable to allocate the 'used' memory back
when it's needed?

As a test I launched a 64 bit version from ami-a0b993d4 (instance-store,
eu-west-1 official Ubuntu 8.04 LTS Hardy) on an m1.large. Installed the
same packages, attached the EBS volume with the same PHP based website
etc. It has now been up 24hrs without an issue.

Not sure if this contributes anything as it's a different ami (with
presumably different 64 bit versions of the packages) but I think it
eliminates anything in our PHP code

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/745108

Title:
  EC2 instance CPU goes to 100% and locks

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 745108] [NEW] EC2 instance CPU goes to 100% and locks

2011-03-29 Thread Paul Willis
Public bug reported:

I launch an 32 bit, instance-store, c1.medium server in eu-west-1 based
from the official Ubuntu 8.04 LTS Hardy ami-beb993ca and install the
following packages with apt-get...

apache2
php5
php5-mysql
php5-curl
php5-cli
imagemagick
vsftpd
xfsprogs
postfix

...and also make sure all software is up to date with apt-get update &&
sudo apt-get upgrade

Then attach a 10GB EBS volume and use that to store the apache files for
a PHP based website.

I redirect my web traffic to this instance and it uses around 40-50% CPU
and outgoing bandwidth is around 5Mbps

The instance runs fine for a few hours (varies from 2 to 4 hours in
tests) before the CPU suddenly climbs to 100% and the instance becomes
unresponsive.

Rebooting it via the Amazon Management Console fixes everything for
another few hours.

The output of uname -a is...

Linux ip-10-235-21-236 2.6.24-10-xen #1 SMP Tue Sep 8 19:06:53 UTC 2009
i686 GNU/Linux

Attached is the output of ec2-get-console-output of the locked instance
just after it was rebooted

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: ec2-images

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/745108

Title:
  EC2 instance CPU goes to 100% and locks

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 745108] Re: EC2 instance CPU goes to 100% and locks

2011-03-29 Thread Paul Willis
** Attachment added: "console-output"
   
https://bugs.launchpad.net/bugs/745108/+attachment/1953998/+files/console-output

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/745108

Title:
  EC2 instance CPU goes to 100% and locks

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 634487] Re: t1.micro instance hangs when installing sun java

2010-10-11 Thread Paul Willis
I believe you can install java fine on a t1.micro x86_64 this bug only
affects the 32 bit version

-- 
t1.micro instance hangs when installing sun java
https://bugs.launchpad.net/bugs/634487
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs