New on LowEndTalk? Please Register and read our Community Rules.
BuyVM, 2.6.32 kernel and memory usage
Better to start a new thread, but still looking how to interpret these results
@dmmcintyre3 said: @TigersWay Both OpenVZ? If so, it's because BuyVM is using the 2.6.32.xx kernel on some nodes with proper usage based memory limits instead of allocation based limits.
Yes, both OpenVZ, both with 2.6.32 kernel, and both exactly the same lemp stack (classic xinetd+dropbear, nginx, mysql with myisam only, php5-fpm)....
And for the same idea (I guess), free gives me
- BuyVM
total used free shared buffers cached Mem: 512 42 469 0 0 21 -/+ buffers/cache: 20 491 Swap: 0 0 0
- Hostigation (or any other for that matter)
total used free shared buffers cached Mem: 512 76 435 0 0 0 -/+ buffers/cache: 76 435 Swap: 0 0 0
Any idea how to clearly detect this 'new memory style allocation'? And how to interpret the totals: 42+20=62 vs 76?
Comments
It's the same principle as a dedicated box, or Xen, or KVM.
There's 42MB in use, of which 21MB is used by caching. So excluding cached memory there's 20MB used. 1MB is missed in the accounting owing to how bash does rounding. Regards to how to detect it, just look for non-zero values in buffers or cached.
.18 kernels allocate based on what the processes VIRTUAL size is, not the actual RAM usage. The .32 kernel allocates users RAM based on RES, which means that things like java and such aren't garbage on OVZ anymore
Francisco
.32 kernel + some specific setup, I guess, as all my boxes don't react the same way.
Some boxes we got are on .32, some are still on .18 since they didn't like .32 and were crashy. It's quite an annoying thing to try to debug but we're hopeful that the kernel node14 is on addresses the issues we've seen.
Time will tell
Francisco
The only boxes running 2.6.32 and openvz are the backup nodes, so unless you are running replication on that mysql install, make it go away.
I have obviously a lot to learn, no doubt on that :-) But how am I supposed to understand this?
My standard hostigation ovz with centos 5 says:
my backup vps at hostigation says:
Some templates seem to spoof a 2.6.32 kernel on 2.6.18 nodes, and the template you are using must be one of them. (one time deb 6 said .32 on BuyVM, and when I reloaded with centos it went back to .18)
I told you in the other thread =P The Hostigation is 2.6.18
When you install specific distros they get a fake message with 2.6.32 or whatever, but it still says "el5" or enterprise linux 5, or RHEL5/Centos 5 = 2.6.18
@dmmcintyre3, @yomero Thanks! Simple and effective, I now understand :-)
That would also explain the memory differences as well, which is cool, I can now stop scratching my head.
Sorry for your head :-)
I wonder if the changes are too big to backport the changes you describes to .18
Is 2.6.32 stable even if swap is for the host only (or can you not control that)?
Now Tim is bald u_u
That is baldyric's domain
I'll admit, it's tempting. Shaving my head would put an end to regular haircuts, at least.
Be a lot cooler in the summer for sure, save on shampoo, dry faster .... Looks like a lot of advantages, yet I have no desire.
Still gotta shave it every few days!
It's a complete redo of their whole memory system and about as stable as a woman on the rag. Some of our nodes love it, run it great, and so we've seen no issues with them. Others aren't as lucky and some crashed within hours.
The latest 49 kernel went on node14 which has been a bit derpy on the last .32 kernels. If 14 dives on this one it's going back on an .18.
Francisco
Simpler than hassling myself to visit the barber.
Would make the hitler 'tash a little odd though.
Francisco
New head of HR made me shave it off =\
Sounds like they thought you were trying to imitate them.
Francisco
What type of frequent flier rewards does this place offer?
Having to deal with my antics :P