OpenVZ Forum


Home » Mailing lists » Users » Re:: vmstat and floating point exception
Re:: vmstat and floating point exception [message #47140] Wed, 11 July 2012 00:45 Go to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

I barely remember there was a fix in the kernel related to this. I might be
wrong, but it's worth checking on a latest rhel6 stable or testing kernel.
11.07.2012 3:54 пользователь "Mark Johanson" <mjohanson@a2hosting.com>
написал:

> Linux solusvm.a2hosting.com 2.6.32-042stab053.5 #1 SMP Tue Mar 27
> vzctl version 3.3
> vswap is enabled
>
> Since upgrading to a 2.6.32 kernel one of our users noticed that they
> are occasionally getting a Floating Point Exception when running vmstat:
>
> [root@server ~]# vmstat 1 5
> procs -----------memory---------- ---swap-- -----io---- --system--
> -----cpu------
> r b swpd free buff cache si so bi bo in cs us sy
> id wa st
> 0 0 0 2048244 0 32816 0 0 0 2 0 7627 0 0
> 99 0 0
> 0 0 0 2048236 0 32816 0 0 0 0 0 110 0 0
> 100 0 0
> 0 0 0 2048236 0 32816 0 0 0 0 0 78 0 0
> 100 0 0
> 0 0 0 2048236 0 32816 0 0 0 0 0 91 0 0
> 100 0 0
> Floating point exception
>
> It doesn't happen every time as you can see here:
>
> [root@server ~]# vmstat 1 10
> procs -----------memory---------- ---swap-- -----io---- --system--
> -----cpu------
> r b swpd free buff cache si so bi bo in cs us sy
> id wa st
> 0 0 0 2068584 0 12472 0 0 0 0 0 1745 0 0
> 100 0 0
> 0 0 0 2068576 0 12472 0 0 0 0 0 82 0 0
> 100 0 0
> 0 0 0 2068576 0 12472 0 0 0 0 0 77 0 0
> 100 0 0
> 0 0 0 2068576 0 12472 0 0 0 0 0 109 0 0
> 100 0 0
> 0 0 0 2068576 0 12472 0 0 0 0 0 92 0 0
> 100 0 0
> 0 0 0 2068576 0 12472 0 0 0 0 0 80 0 0
> 100 0 0
> 0 0 0 2068576 0 12472 0 0 0 0 0 87 0 0
> 100 0 0
> 0 0 0 2068576 0 12472 0 0 0 0 0 66 0 0
> 100 0 0
> 0 0 0 2068588 0 12472 0 0 0 0 0 130 0 0
> 100 0 0
> 0 0 0 2068588 0 12472 0 0 0 0 0 72 0 0
> 100 0 0
>
> I have been able to replicate this issue in other OS templates (theirs
> is Ubuntu 11.10, but I have replicated in Ubuntu, Fedora, Centos,
> etc...) running the same kernel and vzctl version.
>
> I can not replicate this issue on the node.
>
> Wondering if anyone else has run across this issue and/or knows what
> might be causing it.
>


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: : vmstat and floating point exception [message #47142 is a reply to message #47140] Wed, 11 July 2012 11:42 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

On 07/11/2012 04:45 AM, Kir Kolyshkin wrote:
>
> I barely remember there was a fix in the kernel related to this. I
> might be wrong, but it's worth checking on a latest rhel6 stable or
> testing kernel.
>

Indeed, I did a search on wiki.opevnz.org for vmstat and found this:

http://wiki.openvz.org/Download/kernel/rhel6/042stab057.1

[fairsched] vmstat floating point operation fixed: idle scaling has been
enhanced once again (PCLIN-30773)

I guess that's what you are reporting. Please update your kernel.

> 11.07.2012 3:54 пользователь "Mark Johanson" <mjohanson@a2hosting.com
> <mailto:mjohanson@a2hosting.com>> написал:
>
> Linux solusvm.a2hosting.com <http://solusvm.a2hosting.com>
> 2.6.32-042stab053.5 #1 SMP Tue Mar 27
> vzctl version 3.3
> vswap is enabled
>
> Since upgrading to a 2.6.32 kernel one of our users noticed that they
> are occasionally getting a Floating Point Exception when running
> vmstat:
>
> [root@server ~]# vmstat 1 5
> procs -----------memory---------- ---swap-- -----io---- --system--
> -----cpu------
> r b swpd free buff cache si so bi bo in cs us sy
> id wa st
> 0 0 0 2048244 0 32816 0 0 0 2 0 7627
> 0 0
> 99 0 0
> 0 0 0 2048236 0 32816 0 0 0 0 0 110
> 0 0
> 100 0 0
> 0 0 0 2048236 0 32816 0 0 0 0 0 78
> 0 0
> 100 0 0
> 0 0 0 2048236 0 32816 0 0 0 0 0 91
> 0 0
> 100 0 0
> Floating point exception
>
> It doesn't happen every time as you can see here:
>
> [root@server ~]# vmstat 1 10
> procs -----------memory---------- ---swap-- -----io---- --system--
> -----cpu------
> r b swpd free buff cache si so bi bo in cs us sy
> id wa st
> 0 0 0 2068584 0 12472 0 0 0 0 0 1745
> 0 0
> 100 0 0
> 0 0 0 2068576 0 12472 0 0 0 0 0 82
> 0 0
> 100 0 0
> 0 0 0 2068576 0 12472 0 0 0 0 0 77
> 0 0
> 100 0 0
> 0 0 0 2068576 0 12472 0 0 0 0 0 109
> 0 0
> 100 0 0
> 0 0 0 2068576 0 12472 0 0 0 0 0 92
> 0 0
> 100 0 0
> 0 0 0 2068576 0 12472 0 0 0 0 0 80
> 0 0
> 100 0 0
> 0 0 0 2068576 0 12472 0 0 0 0 0 87
> 0 0
> 100 0 0
> 0 0 0 2068576 0 12472 0 0 0 0 0 66
> 0 0
> 100 0 0
> 0 0 0 2068588 0 12472 0 0 0 0 0 130
> 0 0
> 100 0 0
> 0 0 0 2068588 0 12472 0 0 0 0 0 72
> 0 0
> 100 0 0
>
> I have been able to replicate this issue in other OS templates (theirs
> is Ubuntu 11.10, but I have replicated in Ubuntu, Fedora, Centos,
> etc...) running the same kernel and vzctl version.
>
> I can not replicate this issue on the node.
>
> Wondering if anyone else has run across this issue and/or knows what
> might be causing it.
>
> _______________________________________________
> Users mailing list
> Users@openvz.org <mailto:Users@openvz.org>
> https://openvz.org/mailman/listinfo/users
>


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: vmstat and floating point exception
Next Topic: vzdump exclude path syntax?
Goto Forum:
  


Current Time: Wed May 08 06:59:56 GMT 2024

Total time taken to generate the page: 0.01405 seconds