OpenVZ Forum


Home » International » Russian » 2.6.9-023stab046.2-enterprise и meminfo в VE
2.6.9-023stab046.2-enterprise и meminfo в VE [message #28162] Tue, 11 March 2008 05:36 Go to next message
rubobman is currently offline  rubobman
Messages: 11
Registered: March 2008
Junior Member
На HN
# cat /proc/meminfo
MemTotal: 33245268 kB
MemFree: 31193520 kB
Buffers: 137524 kB
Cached: 1696256 kB
SwapCached: 0 kB
Active: 800532 kB
Inactive: 1051716 kB
HighTotal: 29720508 kB
HighFree: 27958464 kB
LowTotal: 3524760 kB
LowFree: 3235056 kB
SwapTotal: 16779884 kB
SwapFree: 16779884 kB
Dirty: 72 kB
Writeback: 0 kB
Mapped: 36576 kB
Slab: 139820 kB
CommitLimit: 33402516 kB
Committed_AS: 316652 kB
PageTables: 2644 kB
VmallocTotal: 303096 kB
VmallocUsed: 42956 kB
VmallocChunk: 259960 kB

На VE
[root@v102 /]# cat /proc/meminfo
MemTotal: 262144 kB
MemFree: 258620 kB
Buffers: 0 kB
Cached: 0 kB
SwapCached: 0 kB
Active: 0 kB
Inactive: 0 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 262144 kB
LowFree: 258620 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
Mapped: 0 kB
Slab: 0 kB
CommitLimit: 0 kB
Committed_AS: 0 kB
PageTables: 0 kB
VmallocTotal: 0 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB

[root@v102 /]# cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
102: kmemsize 564072 1279858 1073741824 1073741824 0
lockedpages 0 0 256 256 0
privvmpages 881 7179 65536 69632 0
shmpages 0 0 21504 21504 0
dummy 0 0 0 0 0
numproc 6 15 240 240 0
physpages 665 1027 0 2147483647 0
vmguarpages 0 0 33792 2147483647 0
oomguarpages 665 1027 26112 2147483647 0
numtcpsock 1 1 360 360 0
numflock 0 1 188 206 0
numpty 1 1 16 16 0
numsiginfo 0 2 256 256 0
tcpsndbuf 8944 0 1720320 2703360 0
tcprcvbuf 16384 0 1720320 2703360 0
othersockbuf 2236 9800 1126080 2097152 0
dgramrcvbuf 0 8380 262144 262144 0
numothersock 1 5 360 360 0
dcachesize 0 0 3409920 3624960 0
numfile 112 251 9312 9312 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 10 10 128 128 0

Я так понимаю не стоит смотреть на meminfo?

[Updated on: Tue, 11 March 2008 05:44]

Report message to a moderator

Re: 2.6.9-023stab046.2-enterprise и meminfo в VE [message #28164 is a reply to message #28162] Tue, 11 March 2008 06:14 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Я не понял суть вопроса.

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: 2.6.9-023stab046.2-enterprise и meminfo в VE [message #28165 is a reply to message #28164] Tue, 11 March 2008 06:21 Go to previous messageGo to next message
rubobman is currently offline  rubobman
Messages: 11
Registered: March 2008
Junior Member
Есть другая VE на другом HN(x86_64)
большинство значений заполнено
[root@v104 bad]# cat /proc/meminfo
MemTotal: 3081372 kB
MemFree: 1814656 kB
Buffers: 126872 kB
Cached: 761548 kB
SwapCached: 0 kB
Active: 767084 kB
Inactive: 241732 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 3081372 kB
LowFree: 1814656 kB
SwapTotal: 2096472 kB
SwapFree: 2096472 kB
Dirty: 60 kB
Writeback: 0 kB
Mapped: 169588 kB
Slab: 213516 kB
CommitLimit: 3637156 kB
Committed_AS: 2401676 kB
PageTables: 18200 kB
VmallocTotal: 536870908 kB
VmallocUsed: 270284 kB
VmallocChunk: 536600240 kB

А в случае с 2.6.9-023stab046.2-enterprise только 4 значения, и не понятно почему такие цифры.
MemTotal: 262144 kB
MemFree: 258612 kB
LowTotal: 262144 kB
LowFree: 258612 kB
Re: 2.6.9-023stab046.2-enterprise и meminfo в VE [message #28166 is a reply to message #28165] Tue, 11 March 2008 06:53 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Quote:

А в случае с 2.6.9-023stab046.2-enterprise только 4 значения


В смысле, все остальные по нулям? Или всего только 4 строчки?

Quote:

и не понятно почему такие цифры.


man vzctl
/meminfo


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: 2.6.9-023stab046.2-enterprise и meminfo в VE [message #28167 is a reply to message #28166] Tue, 11 March 2008 07:03 Go to previous messageGo to next message
rubobman is currently offline  rubobman
Messages: 11
Registered: March 2008
Junior Member
Да, все остальные по нулям.
Re: 2.6.9-023stab046.2-enterprise и meminfo в VE [message #28168 is a reply to message #28166] Tue, 11 March 2008 07:19 Go to previous messageGo to next message
rubobman is currently offline  rubobman
Messages: 11
Registered: March 2008
Junior Member
понял,
т.к. у меня разные версии vzctl, и из-за этого параметр --meminfo по умолчанию разный.
Re: 2.6.9-023stab046.2-enterprise и meminfo в VE [message #28169 is a reply to message #28167] Tue, 11 March 2008 07:21 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Это всякая детализированная статистика по использованию памяти, она не "виртуализована" (то есть, её нет с разбивкой по VE) -- поэтому, в зависимости от того, во что выставлен --meminfo, там или нули, или те же цифры, что и на самой ноде.

Смотреть, сколько в VE памяти, надо по /proc/user_beancounters.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: 2.6.18-ovz-028stab053.5 что-то странное с лимитом памяти в VE
Next Topic: А как сделать, чтобы VE не видели друг друга и HN
Goto Forum:
  


Current Time: Mon Apr 15 21:46:37 GMT 2024

Total time taken to generate the page: 0.01383 seconds