[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#665206: marked as done (vserver incorrect handling of rlimits)



Your message dated Sun, 29 May 2016 21:24:52 +0100
with message-id bbc9f219-e703-406d-b19f-07f64f428474@decadent.org.uk
and subject line Closing bugs assigned to linux-2.6 package
has caused the Debian Bug report #665206,
regarding vserver incorrect handling of rlimits
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
665206: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665206
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: linux-image-2.6.32-5-vserver-amd64
Version: 2.6.32-41

In a vserver based virtual machine /proc/meminfo shows incorrect values of Buffers memory:
root@node2:~# uname -a
Linux node2 2.6.32-5-vserver-amd64 #1 SMP Mon Jan 16 19:31:31 UTC 2012 x86_64 GNU/Linux
root@node2:~# vserver vm enter
root@vm:/# cat /proc/meminfo |grep Buffers
Buffers:           80040 kB
root@vm:/#

And as a result 'free' command invoked in this virtual machine gives very strange values:
vm # free
root@vm:/# free -k
total used free shared buffers cached
Mem:       4000000       7868    3992132          0         79896          0
-/+ buffers/cache: 18014398509409956    4072028
Swap:            0          0          0
root@vm:/#
In this output the amount of used memory - buffers/cache is bigger than I'm able to install in a physicall host:)

Here is a patch to resolve this problem - http://comments.gmane.org/gmane.linux.vserver/17878

I applied this patch to 2.6.32-5-vserver kernel sources, compiled the kernel, and now Buffers value of /proc/meminfo
is 0:
root@vm:/# free -k
            total       used       free     shared    buffers     cached
Mem:       4000000       5724    3994276          0          0          0
-/+ buffers/cache:       5724    3994276
Swap:            0          0          0
root@vm:/# cat /proc/meminfo |grep Buffers
Buffers:               0 kB
root@vm:/#



----
Stanislav Kholmanskikh
kholmanskikh@ertelecom.ru




--- End Message ---
--- Begin Message ---
Version: 3.4.1-1~experimental.1+rm

Debian 6.0 Long Term Support has ended, and the 'linux-2.6' source
package will no longer be updated.  This bug was reassigned to the
'linux' source package earlier today, but I am now closing it on the
assumption that it does not affect the kernel versions in newer Debian
releases.

If you can still reproduce this bug in a newer release, please reopen
the bug report and reassign it to 'src:linux' and the affected version
of the package.  You can find the package version for the running
kernel by running:

    uname -v

or the versions of all installed kernel packages by running:

    dpkg -l 'linux-image-[34]*' | grep ^.i

and looking at the third column.

I apologise that we weren't able to provide a specific resolution for
this bug.

Ben.

-- 
Ben Hutchings - Debian developer, member of Linux kernel and LTS teams

--- End Message ---

Reply to: