0

Ubuntu 12.04.1 LTS (x64) に G-Wan をインストールしようとしています。私は速い指示に従います: http://gwan.com/download

$sudo ./gwan を実行すると、次のように表示されます。

浮動小数点例外 (コアダンプ)

次に、遅い指示に従います: http://www.as2.com/pdf/GWAN-Install-Manual-for-Ubuntu-12.04.pdf

しかし、私は同じエラーがあります。

ログのエラーを示します。

apport.log

    ERROR: apport (pid 13912) Mon Apr 29 13:42:56 2013: called for pid 13870, signal 8
    ERROR: apport (pid 13912) Mon Apr 29 13:42:56 2013: executable: /opt/gwan_linux64-bit/gwan (command line "./gwan")
    ERROR: apport (pid 13912) Mon Apr 29 13:42:56 2013: executable does not belong to a package, ignoring

シスログ

    Apr 29 13:43:48 ip-10-34-153-82 kernel: [1026847.541495] gwan[13914] trap divide error ip:427930 sp:7fff7208d7b8 error:0
    Apr 29 13:43:53 ip-10-34-153-82 kernel: [1026852.993012] gwan[13958] trap divide error ip:427930 sp:7fffd2b82468 error:0

お願いします、何が問題なのか誰か知っていますか?

私のPC(Ubuntu 12.04.2 LTS)にプログラムをインストールすると、正常に動作します.PCでは正常に動作し、サーバーでは動作しないため、わかりません。

どうもありがとう。申し訳ありませんが、私の英語は下手です。

4

1 に答える 1

1

The problem is that some newer versions of hypervisors insist to report ZERO CPU, and/or ZERO CPU Core, leading to a division by zero.

Since G-WAN is optimized for multicore architectures, it queries the CPUID instruction and the OS Kernel structures to check the platform architecture and the associated OS policies (number of online and allowed CPUs).

Other web servers are not affected because they expect users to manually configure and run as many instances as desired (hereby creating the duplicated resource allocations that G-WAN was designed to avoid).

Checking both the CPUID instruction and the Kernel structure was enough, until recently. Now, for any reason, the hypervisors use broken CPUID implementations and OS Kernel structure.

This issue is affecting hosting companies (VPS servers), and Amazon EC2 instances, among others.

于 2013-05-03T09:22:45.687 に答える