|
|
Re: Memory Issue size [message #1580 is a reply to message #1547] |
Mon, 13 February 2006 23:07 |
|
This would certainly make things less complicating/confusing. I hope progress is made on this as it would be a welcomed feature.
Just Because You Have One, Doesn't Mean You Have To Be One!
|
|
|
|
|
Re: Memory Issue size [message #1661 is a reply to message #1547] |
Sun, 19 February 2006 09:44 |
disaster
Messages: 158 Registered: February 2006
|
Senior Member |
|
|
OK - i found some strange things...
1. as you can see, i can still allocate 1GB
2. a cat cat /proc/user_beancounters shows me failures at privvmpages failcnt=4 - but the script can work
3. on the host machine i see in syslog:
Uncharging too much 1 h 0, res unused_privvmpages ub 4
Uncharging too much 1 h 0, res unused_privvmpages ub 4
Uncharging too much 1 h 0, res unused_privvmpages ub 4
Uncharging too much 1 h 0, res unused_privvmpages ub 4
Uncharging too much 1 h 0, res unused_privvmpages ub 4
Uncharging too much 1 h 0, res unused_privvmpages ub 4
Uncharging too much 1 h 0, res unused_privvmpages ub 4
Uncharging too much 1 h 0, res unused_privvmpages ub 4
Uncharging too much 1 h 0, res unused_privvmpages ub 4
Fatal resource shortage: kmemsize, UB 4.
Uncharging too much 65610 h 54827, res unused_privvmpages ub 4
Uncharging too much 3 h 0, res unused_privvmpages ub 4
What does that mean?
4. if i set kmemsize to 655360 the script can only allocate 128MB - any idea?
|
|
|
|
Re: Memory Issue size [message #1665 is a reply to message #1547] |
Sun, 19 February 2006 10:14 |
disaster
Messages: 158 Registered: February 2006
|
Senior Member |
|
|
I've not checked parameters like guid and so on - it is only a test machine and does not matter.
Ähm the length of the string is def. allocated - i've also checked it by top - i can see, that perl does allocate 45% of RAM (next time top refresh the process is mostly killed cause of out of memory and the fact that the sting is always doubled).
But i think we'll discuss that in my own thread here:
http://forum.openvz.org/index.php?t=msg&goto=1666
sorry for my cross posting.
[Updated on: Sun, 19 February 2006 10:28] Report message to a moderator
|
|
|
|
Re: Memory Issue size [message #1669 is a reply to message #1547] |
Sun, 19 February 2006 11:20 |
disaster
Messages: 158 Registered: February 2006
|
Senior Member |
|
|
You have read my last posting at?:
http://forum.openvz.org/index.php?t=msg&th=293
> what VPS OS do you use?
Both the Sstem and the VPS OS are Debian 3.1. (I'll try it with another image in a few hours)
Quote: | Please, note, privvmpages and vmguarpages are not a real amount of _physical_ memory. This is size of an allocated _address_ _space_, which can _potentially_ allocate the pages. This is why, usual applications can report less RAM available, because address space is used for glibc/elfs/files etc.
|
I know that. But this should result in a stop of a script earlier and not later.
I can eat up all mem with a simple perl script - and the mem is really eaten up as you can see in top - no other process can use the ram and the system start swapping...
Kernel is a 2.6.0 self build with the latest patch and the patch from the bugzilla for irq.c.
That could not be right...
Thanks for your help.
[Updated on: Sun, 19 February 2006 11:25] Report message to a moderator
|
|
|
|
|