问题
I thought my mistake was Problems to start G-WAN
but today, I made more testst and my real problem is this:
When I launch an instance with type micro, G-WAN works fine but if i launch the same instance with type small, medium, etc... G-WAN explote!!!
It shows me the errors of the before post.
This is a posible bug between G-wan and Amazon EC2?
anybody knows the solution?
Thanks for all!
回答1:
The short answer is:
Newer releases of hypervisors report ZERO CPU, and/or ZERO CPU Core. This is creating a division by zero in G-WAN.
The longer story is:
As G-WAN is optimized for multicore architectures, it uses the CPUID instruction and the OS Kernel structures to find the platform architecture and the associated OS policies (the number of online/allowed CPUs).
In the past, checking the CPUID instruction and the Kernel structures worked well. But today hypervisors have switched to broken CPUID implementations and OS Kernel structures.
This problem created by hypervisors affects hosting companies (VPS servers), and Amazon EC2 instances, as well as companies and end-users.
The other web servers are not affected because users must manually configure, attach and run several server instances for each CPU Core (duplicating the resources that G-WAN uses only once).
来源:https://stackoverflow.com/questions/16301556/bug-g-wan-and-amazon-ec2