Bug G-WAN and Amazon EC2 [closed]

久未见 提交于 2019-12-08 14:14:11

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!